EPIC: Port the maintainer merge tool to Rust

オープン
#2,640 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python, rust

調査の方向性

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 の本文から書いたものです。

説明

Automation EPIC Low Priority

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

  1. Executable case list and its completeness measure
  2. Faithful Rust port of the merge tool
  3. Manual parity campaign on two real repositories
  4. Automate the cases
  5. Cutover with a fallback to the Python tool
  6. Refactor for testability, fast suite
  7. Show the CI state before the sign-off
  8. Harden the ACK rules
  9. End-of-input and request-timeout fixes
  10. 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分
マージ済み PR(30日)
282

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

torrust/torrust-tracker のほかの issue

torrust/torrust-tracker の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。