Remove legacy binaries: `http_tracker_client`, `udp_tracker_client`, `tracker_checker`

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
rust
領域
cli

調査の方向性

Read the three legacy binaries under console/tracker-client/src/bin/, their [[bin]] entries in console/tracker-client/Cargo.toml, and the legacy client module trees named in the issue. First verify the deprecation period from #1771 has elapsed, then search the repository for remaining references before removing the obsolete files and entries. Done means no in-repo references or builds depend on the legacy binaries; preserve checker modules still used by unified/.

索引モデルが issue の本文から書いたものです。

説明

enhancement tracker-client

Goal

Remove the three legacy client binaries that were deprecated when tracker_client shipped in
issue #1771.

Background

The unified tracker_client binary was introduced in #1771, replacing three separate binaries:

  • http_tracker_client → tracker_client http announce|scrape
  • udp_tracker_client → tracker_client udp announce|scrape
  • tracker_checker → tracker_client check

All three legacy binaries currently:

  • Print a deprecation notice on startup directing users to tracker_client.
  • Are otherwise frozen — no new features will be added.

Per the deprecation policy in #1771, removal should happen no earlier than approximately one
year after tracker_client is released and documented
, to allow external documentation
(Torrust website, blog posts, third-party references) time to be updated.

Scope

  • Delete console/tracker-client/src/bin/http_tracker_client.rs
  • Delete console/tracker-client/src/bin/udp_tracker_client.rs
  • Delete console/tracker-client/src/bin/tracker_checker.rs
  • Remove the corresponding [[bin]] entries from console/tracker-client/Cargo.toml
  • Delete or fold the legacy module trees:
    • console/tracker-client/src/console/clients/http/ (app.rs only; library code in
      packages/tracker-client is unaffected)
    • console/tracker-client/src/console/clients/udp/ (same caveat)
    • console/tracker-client/src/console/clients/checker/ (or retain if any module code is
      still needed by unified/)
  • Update any remaining in-repo references (docs, CI, README).
  • Flatten/rename console/tracker-client/src/console/clients/unified/ → top-level
    console/tracker-client/src/console/clients/ if desired (follow-up clean-up, not required).

References

主要言語
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 を短くまとめたダイジェスト。