Skip to content

chore(debian): update version to 0.5.4#43

Merged
wineee merged 1 commit intomasterfrom
tag-0.5.4
Jan 30, 2026
Merged

chore(debian): update version to 0.5.4#43
wineee merged 1 commit intomasterfrom
tag-0.5.4

Conversation

@wineee
Copy link
Member

@wineee wineee commented Jan 29, 2026

Log: update

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: wineee

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

@github-actions
Copy link

TAG Bot

TAG: 0.5.4
EXISTED: no
DISTRIBUTION: unstable

@deepin-ci-robot
Copy link

deepin pr auto review

这段 debian/changelog 的 diff 内容整体上符合 Debian 软件包的变更日志格式规范,但在代码质量、性能和安全方面,由于这主要是文档性质的更新,主要关注点在于信息的准确性和规范性。以下是详细的审查意见:

1. 语法逻辑与格式规范

  • 格式规范
    • 该 diff 遵循了 Debian changelog 的标准格式:package (version) distribution(s); urgency=urgency 后跟变更条目,最后是维护者信息和日期。
    • 缩进使用正确(每个变更条目前有两个空格)。
    • 日期格式符合 RFC 5322 标准(Thu, 29 Jan 2026 20:28:33 +0800)。
  • 潜在问题
    • 日期异常:日期显示为 2026 年。除非这是一个针对未来的长期规划分支,否则极有可能是笔误(应为 2025 或更早)。错误的年份可能会导致 dpkg-parsechangelog 等工具在处理发布时间线时产生困惑。

2. 代码质量

  • 变更描述清晰度
    • chore: rename move_xwayland_surface to set_position_relative:描述清晰,明确了重构的动作。
    • feat: add treeland_wallpaper_v1 protocol for per-output wallpapers:描述清晰,指明了新增的功能和协议名称。
    • feat: expose a method to move XWayland window position relative to wl_surface:描述略显冗长且与第一条有概念上的重叠。第一条说的是协议层面的重命名,这一条说的是暴露方法。建议确认是否这两条指的是同一个变更的不同侧面。如果是,建议合并或明确区分接口变更与实现变更。

3. 代码性能

  • 不适用changelog 文件本身不包含执行代码,因此不涉及运行时性能问题。但是,如果新增的 treeland_wallpaper_v1 协议涉及大量的图像数据传输,建议在实际协议实现代码中审查共享内存(DMA-BUF)的使用情况,以优化性能。

4. 代码安全

  • 不适用:文本文件本身无安全风险。
  • 关联安全提示
    • 由于涉及到 XWayland 窗口位置的调整(move_xwayland_surface / set_position_relative),在实际的 C/C++ 协议实现代码中,必须严格校验客户端传入的坐标参数,防止窗口被移出屏幕可视区域导致无法找回,或者利用坐标偏移进行某种形式的 UI 欺骗。

改进建议总结

  1. 修正日期:请核实年份 2026 是否正确,通常应回溯为当前年份。

  2. 优化描述

    • 建议将关于 XWayland 移动相关的描述进行逻辑梳理。
    • 例如:
      * feat: rename move_xwayland_surface to set_position_relative
      * feat: add treeland_wallpaper_v1 protocol for per-output wallpapers
      
      (如果第三条只是第二条的补充说明,可以考虑合并或删除冗余部分)。
  3. 拼写检查:检查 rewineluhongxu@uniontech.com 是否为正确的维护者标识。

修正后的示例(假设年份修正为2025):

+treeland-protocols (0.5.4) unstable; urgency=medium
+
+  * feat: rename move_xwayland_surface to set_position_relative
+  * feat: add treeland_wallpaper_v1 protocol for per-output wallpapers
+
+ -- rewine <luhongxu@uniontech.com>  Thu, 29 Jan 2025 20:28:33 +0800

@wineee wineee merged commit 36ff7df into master Jan 30, 2026
10 of 11 checks passed
@wineee wineee deleted the tag-0.5.4 branch January 30, 2026 03:01
@deepin-bot
Copy link

deepin-bot bot commented Jan 30, 2026

TAG Bot

Tag created successfully

📋 Tag Details
  • Tag Name: 0.5.4
  • Tag SHA: 396b3222e912f772eb23fd813ba68dc540100131
  • Commit SHA: 7edf98fcaaf6078757a91c3f124ff4159ec2233a
  • Tag Message:
    Release treeland-protocols 0.5.4
    
    
  • 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.

2 participants