Skip to content

chore: bump version to 0.5.8#71

Merged
zccrs merged 1 commit into
linuxdeepin:masterfrom
wineee:tag
Jun 4, 2026
Merged

chore: bump version to 0.5.8#71
zccrs merged 1 commit into
linuxdeepin:masterfrom
wineee:tag

Conversation

@wineee
Copy link
Copy Markdown
Member

@wineee wineee commented Jun 4, 2026

Log: bump

Summary by Sourcery

Chores:

  • Update Debian changelog to reflect version 0.5.8 release.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Jun 4, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Bumps the Debian package version to 0.5.8 in the changelog to reflect the new release.

File-Level Changes

Change Details Files
Update Debian changelog for version 0.5.8 release.
  • Set the new package version to 0.5.8 in the latest changelog entry.
  • Adjusted the changelog metadata (e.g., date, maintainer/signoff) as appropriate for the new release entry.
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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

TAG Bot

TAG: 0.5.8
EXISTED: no
DISTRIBUTION: unstable

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

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

你好!我是CodeGeeX。我已经仔细审查了你提供的 Git Diff 内容。

本次提交主要是一个项目版本发布更新,将版本号从 0.5.7 升级到了 0.5.8,并同步更新了 Debian Changelog,记录了大量新增的 Wayland 协议、功能特性以及重构内容。

针对本次代码变更,我将从语法逻辑、代码质量、代码性能和代码安全四个维度进行审查,并提供改进意见:

1. 语法逻辑

  • Debian Changelog 格式:changelog 的格式基本符合 Debian 标准规范(包含包名、版本号、发行版、紧急程度、变更项、维护者信息及时间戳)。
  • ⚠️ 时间戳逻辑异常:变更记录中的时间戳为 Thu, 04 Jun 2026 16:04:48 +0800,即2026年6月4日。这大概率是在生成或填写 changelog 时发生了年份错误。虽然这不会导致编译失败,但在某些构建系统或包管理器中可能会引发警告,甚至导致包版本时间线混乱。

2. 代码质量

  • 变更描述规范:changelog 中使用了类似 Conventional Commits 的前缀(如 feat:, refactor:),条理清晰,这是一个好习惯。
  • ⚠️ 变更记录过于细碎:changelog 中列出了 10 条变更,部分条目针对同一个协议(例如有两条 feat(input-manager) 和两条普通的 feat:)。在面向发布版本的 changelog 中,建议将关联度高的条目合并,使整体描述更加精炼,方便下游开发者或用户阅读。
  • CMake 与 Changelog 的一致性CMakeLists.txt 中的版本号与 changelog 中的版本号保持一致(均为 0.5.8),逻辑正确。

3. 代码性能

  • 本次变更仅涉及元数据(版本号)和文档,不涉及任何二进制代码的执行逻辑,因此对运行时性能没有任何影响

4. 代码安全

  • 本次变更本身不引入安全漏洞。
  • 💡 间接安全建议:从 changelog 描述来看,本次更新涉及大量输入管理相关的协议(如 keyboard-state-notify, shortcut capture, accel_profile 等)。Wayland 协议中涉及输入和快捷键捕获的部分通常是安全敏感区域(需防范键盘记录、非法按键劫持等)。请确保在实现这些协议的 C/C++ 端代码时,严格校验客户端的权限和资源生命周期。

🛠️ 改进建议

  1. 修正时间戳
    请将 debian/changelog 中的时间戳修正为当前的真实日期。你可以使用 date -R 命令获取正确的 RFC 2822 格式时间并替换。

  2. 精简 Changelog 条目(可选)
    建议将关联条目合并,使 changelog 更具可读性。例如:

    treeland-protocols (0.5.8) unstable; urgency=medium
    
      * feat: add treeland-keyboard-state-notify-unstable-v1 &
        treeland-input-manager-unstable-v1 protocols
      * feat(input-manager): document valid ranges for scroll factor and
        accel speed, remove bitfield flag from acceleration_profile enum,
        and clarify seat association and destruction order for settings objects
      * feat(wallpaper): document wl_output destruction order requirement
        and add ready request for initial wallpaper synchronization
      * feat(treeland-wine-window-management): add serial to position requests
      * feat: add one-shot shortcut capture interface
      * refactor: protocol cleanup and version normalization
    
     -- rewine <luhongxu@deepin.org>  Thu, 04 Jun 2024 16:04:48 +0800  # 注意修正年份
    
  3. 版本号自动化(长期建议)
    目前版本号在 CMakeLists.txtdebian/changelog 中是手动同步的。随着项目迭代,容易出现遗漏。建议在 CI/CD 流程中,通过脚本提取 CMakeLists.txt 中的版本号并自动生成或校验 debian/changelog 的头部,以保证元数据的一致性。

总结:这是一次常规且规范的版本发布提交,主要需要修正的是 changelog 中疑似笔误的未来时间戳。其余部分没有问题,可以合并。

@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: wineee, zccrs

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

@zccrs zccrs merged commit c6c9d39 into linuxdeepin:master Jun 4, 2026
11 checks passed
@deepin-bot
Copy link
Copy Markdown

deepin-bot Bot commented Jun 4, 2026

TAG Bot

Tag created successfully

📋 Tag Details
  • Tag Name: 0.5.8
  • Tag SHA: 54cb26a7b52895a8a7a50a77d07021995b4586cd
  • Commit SHA: c6c9d39d43442474c233cbc17fe38c33b50b8377
  • Tag Message:
    Release treeland-protocols 0.5.8
    
    
  • Tagger:
    • Name: wineee
  • 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.

3 participants