在 Debian 里,“backlog”通常指的是 Debian Bug Tracking System(BTS)中的 bug backlog,也就是尚未处理或尚未关闭的缺陷列表。下面按常见场景说明 如何关联(查看、跟踪、关联补丁或工作)Debian backlog。
Debian 使用 Debian BTS 管理 bug:
https://bugs.debian.org/<package>
例如:
https://bugs.debian.org/systemd
页面会列出:
Debian BTS 支持 搜索表达式:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=<package>
示例:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=openssl
进一步过滤:
status:open
severity:wishlist
常见做法:
.patch 或 .diffpatch在邮件或 web 提交中:
Tags: patch
示例:
Subject: Fix FTBFS on arm64
Tags: patch
BTS 会自动识别 patch tag。
Debian 使用 Salsa(git.debian.org):
Bug 页面中引用 MR:
Control: forwarded -1 https://salsa.debian.org/debian/xxx/-/merge_requests/1
MR 中关闭 bug:
Closes: #123456
Debian BTS 会自动关联。
debian/bugs 或 TODO在源码中:
debian/TODO
debian/bugs
或在 debian/changelog 中:
* Fix FTBFS (Closes: #123456)
高级用法,适合批量分析 backlog:
SELECT * FROM bugs WHERE status='open' AND package='systemd';
工具:
udd-mirror影响 release 的关键 bug:
https://bugs.debian.org/release-critical/
testingapt-cache policy <package>
或:
https://tracker.debian.org/pkg/<package>
reportbug提交 / 查询 bug:
reportbug <package>
bts(devscripts)bts show <bug-number>
bts tag <bug-number> + patch
bts close <bug-number>
| 场景 | 关联方式 |
|---|---|
| 查看 backlog | bugs.debian.org / pkgreport.cgi |
| 补丁关联 | Tags: patch |
| Git 关联 | forwarded / Closes: # |
| 团队 backlog | 团队 Salsa + BTS |
| RC bug | release-critical.debian.org |
| 自动化 | UDD / tracker.debian.org |
如果你指的是 具体场景(例如:某个包、某个团队、backlog 与 CI、或 kernel backlog),可以告诉我,我可以给你更精确的关联方法。