EPIC: Port the maintainer merge tool to Rust
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
调研方向
Read docs/issues/open/2640-port-merge-tool-to-rust/EPIC.md and the linked #2525 close-out context first. The current entry point is contrib/dev-tools/git/merge-pull-request.sh, which wraps the vendored github-merge.py; the EPIC lists the migration and improvement stages, with separate subissues specified one at a time. This is an umbrella for coordinated work across those stages, and #2642 already has an open linked pull request.
由索引模型根据 Issue 内容生成。
描述
Goal
Replace the vendored Python merge tool with a Rust tool that the project owns, first without changing what it does, and then improve it: show the CI state of the head commit before the maintainer signs, and harden the ACK rules. Every improvement, security ones included, is done after the migration.
Background
The maintainer merges every pull request with contrib/dev-tools/git/merge-pull-request.sh, a wrapper around the vendored github-merge.py (MIT, from Bitcoin Core, vendored in #2022). The decision of 2026-10-22 in #2525 keeps CI checks advisory, and the maintainer's signed ACK that names the head commit, together with the merge flow, is the gate. Today the tool never looks at CI and counts an ACK from any commenter, so the improvements of this EPIC close those two gaps, after the port.
Strategy
A faithful port with the cases written as data, a manual parity campaign on two real repositories, then automatic cases, then the cutover to the Rust tool with the Python tool kept as a fallback. The refactor for testability comes after the cutover, under the automatic cases, and the Python tool is removed only after the refactor.
Subissues
- Executable case list and its completeness measure
- Faithful Rust port of the merge tool
- Manual parity campaign on two real repositories
- Automate the cases
- Cutover with a fallback to the Python tool
- Refactor for testability, fast suite
- Show the CI state before the sign-off
- Harden the ACK rules
- End-of-input and request-timeout fixes
- Output-contract classification and exit codes
Subissue specifications are drafted one at a time. The specification is docs/issues/open/2640-port-merge-tool-to-rust/EPIC.md, added with the #2525 close-out pull request. Related to #2525.
- 主要语言
- Rust
- 星标
- 532
- 派生
- 56
- 平均合并
- 11 小时 20 分钟
- 30 天内合并 PR
- 282
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
torrust/torrust-tracker 的其他 Issue
-
Bug
难度 2/5 1-3 小时 新手友好度 78/100
torrust/torrust-tracker#3080 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
torrust/torrust-tracker#3069 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
torrust/torrust-tracker#3058 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
torrust/torrust-tracker#2978 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 73/100
torrust/torrust-tracker#2332 ·
维护者通常 1 天内回复
查看 torrust/torrust-tracker 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
difficulty: easy docs help wanted tooling
难度 2/5 1-3 小时 新手友好度 83/100
-
bug help wanted ui
难度 2/5 1-3 小时 新手友好度 85/100
userFRM/egui-charts#4386 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
eliasstravik/herdr-projects#1605 · 1 条评论 ·