Skip to content

chore: update changelog to 2.0.15#57

Merged
caixr23 merged 1 commit into
linuxdeepin:masterfrom
mhduiy:dev-changelog-2.0.15
Jun 17, 2026
Merged

chore: update changelog to 2.0.15#57
caixr23 merged 1 commit into
linuxdeepin:masterfrom
mhduiy:dev-changelog-2.0.15

Conversation

@mhduiy

@mhduiy mhduiy commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

更新说明

自动更新 changelog 到版本 2.0.15

变更内容

  • 更新 debian/changelog

版本信息

  • 新版本: 2.0.15
  • 目标分支: master

Summary by Sourcery

Chores:

  • Bump Debian changelog entry to version 2.0.15 targeting the master branch.

update changelog to 2.0.15

Log: update changelog to 2.0.15
@github-actions

Copy link
Copy Markdown

TAG Bot

TAG: 2.0.15
EXISTED: no
DISTRIBUTION: unstable

@sourcery-ai

sourcery-ai Bot commented Jun 17, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the Debian package changelog to reflect release version 2.0.15 targeting master.

File-Level Changes

Change Details Files
Update Debian changelog metadata for release 2.0.15.
  • Add or modify the top changelog stanza to set the version to 2.0.15.
  • Ensure the changelog entry documents the version bump for the Debian package build.
debian/changelog

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@deepin-ci-robot

Copy link
Copy Markdown

deepin pr auto review

★ 总体评分:55分

■ 【总体评价】

提交仅包含变更日志而缺失实际的设备权限配置修改,属于无效的空提交
逻辑严重缺失且存在配置未生效的安全风险,扣除相应分数

■ 【详细分析】

  • 1.语法逻辑(存在致命错误)✕

changelog 中声明了 "update device permissions for systemd service",但整个 diff 仅包含 debian/changelog 的文本新增,完全缺失对 msic/systemd/deepin-face.service 或相关 udev 规则文件的实际修改
潜在问题:核心变更逻辑完全缺失,构建后不会产生任何实际效果,属于无效提交
建议:补充 msic/systemd/deepin-face.service 中 DevicePolicy 或 DeviceAllow 等相关字段的实际修改 diff

  • 2.代码质量(存在严重问题)✕

提交内容不完整,违背了代码提交的完整性和原子性原则
潜在问题:变更日志与实际代码修改不匹配,导致代码审查无法进行实质性验证,增加维护成本和版本追溯难度
建议:确保提交时包含所有相关联的配置文件,避免遗漏核心修改

  • 3.代码性能(无性能问题)✓

变更仅涉及纯文本的 changelog 追加,无任何运行时性能消耗

  • 4.代码安全(存在 1 个安全漏洞)✕

漏洞对比统计:新增漏洞 1 个,减少漏洞 0 个,持平 0 个
由于实际权限配置文件未随 changelog 一起提交,系统的设备访问控制策略处于未知或未按预期收紧的状态,结合上一版本收紧 DBus policy 的背景,此次设备权限未落实可能留下横向越权攻击面

  • 安全漏洞1(中危):[配置缺失] 在 [msic/systemd/deepin-face.service] 中,[changelog 声明更新设备权限,但实际 diff 中缺失对 systemd 服务文件或 udev 规则的修改,导致设备权限变更未生效,可能引发未授权的设备访问或权限控制预期失效] ——非常重要

  • 建议:立即补充并提交 deepin-face.service 中设备权限限制的代码,例如明确配置 DevicePolicy=closed 并按需添加 DeviceAllow 规则

■ 【改进建议代码示例】

--- a/msic/systemd/deepin-face.service
+++ b/msic/systemd/deepin-face.service
@@ -10,6 +10,8 @@ Type=dbus
 BusName=com.deepin.Face1
 ExecStart=/usr/bin/deepin-face
 Restart=on-failure
+# 锁定设备访问权限,默认禁止所有设备访问
+DevicePolicy=closed
+# 仅允许访问人脸识别所需的视频设备
+DeviceAllow=/dev/video* rw
 
 [Install]
 WantedBy=graphical.target

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: caixr23, mhduiy

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@52cyb

52cyb commented Jun 17, 2026

Copy link
Copy Markdown

/merge

@deepin-bot

deepin-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Permission denied

@52cyb

52cyb commented Jun 17, 2026

Copy link
Copy Markdown

/forcemerge

@deepin-bot

deepin-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Permission denied

@caixr23 caixr23 merged commit fe22b16 into linuxdeepin:master Jun 17, 2026
12 checks passed
@deepin-bot

deepin-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

TAG Bot

Tag created successfully

📋 Tag Details
  • Tag Name: 2.0.15
  • Tag SHA: c5f94030e13e08f01626ca7a5eb1cfb90a518a5c
  • Commit SHA: fe22b16959a85fe0140b2e589d3880dea4e4eaf0
  • Tag Message:
    Release deepin-face 2.0.15
    
    
  • Tagger:
    • Name: mhduiy
  • Distribution: unstable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants