Extract the torrust-tracker-client console client to a standalone repository

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

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

@josecelano がすでに取り組んでいます。

2026年10月21日 から。

評価

この issue はまだ評価されていません。

説明

Blocked packages task

Subissue of EPIC #1669 (Overhaul: Packages). Blocked by #2583 (first publish of the unpublished workspace crates); opened now so the extraction is tracked. It is the last item of the EPIC.

Goal

Move the console client crate torrust-tracker-client (console/tracker-client) out of the tracker workspace into its own repository, torrust/torrust-tracker-client, publish it to crates.io from there, and leave the tracker repository working without it.

Why blocked

The client depends by path on three workspace crates that are not on crates.io (checked 2026-10-21, all return 404):

Dependency Folder #2583 checklist row
torrust-tracker-udp-protocol packages/udp-protocol 4
torrust-tracker-http-protocol packages/http-protocol 3
torrust-tracker-client-lib packages/tracker-client 8

#2583 publishes them one at a time at the end of the EPIC. Its row 13 (the console client itself) is DEFERRED: the client is not published from the tracker repository; its first publish comes from the new repository in this issue.

Facts (checked 2026-10-21)

  • No workspace crate depends on torrust-tracker-client. All its other dependencies are on crates.io.
  • The crate name and the repository torrust/torrust-tracker-client are free.
  • The tracker's E2E runner (e2e_tests_runner, run by testing.yaml and container.yaml) starts the checker with cargo run -p torrust-tracker-client --bin tracker_checker, so deleting the crate breaks that CI step unless it is replaced first.
  • Six skills run cargo run -p torrust-tracker-client --bin tracker_client; release-new-version lists the crate's Cargo.toml.
  • torrust-tracker-client-lib is also used by udp-server, test-helpers and axum-http-server.

Maintainer decisions (2026-10-21)

Question Decision
Repository torrust/torrust-tracker-client
History Plain copy like the earlier extractions; the first commit names the source tracker commit
License LGPL-3.0-only; LGPL-3.0 and GPL-3.0 texts plus the MIT-0 legacy exception file
CI in the new repository One testing.yaml (format, linter all, clippy, tests) plus a crates.io publish workflow; no binary release artefacts
First publish 0.1.0 from the new repository; owners josecelano and da2ce7
torrust-tracker-client-lib Stays in the tracker workspace (published by #2583)
Tracker E2E runner CI installs the published client (cargo install torrust-tracker-client --version <v> --locked) and runs tracker_checker from PATH
Skills Stay here and use the installed tracker_client
Client ADRs and docs Move with the crate; root ADRs stay as records

Plan

  1. Wait for #2583 rows 3, 4 and 8 to be published; re-check the facts.
  2. Create the repository, copy the crate, make its Cargo.toml self-contained with crates.io dependencies, add the license files and CI, publish 0.1.0.
  3. In the tracker: switch the E2E runner to the installed client, remove the workspace member, the console/tracker-client/ directory and the .dockerignore entry, update AGENTS.md, packages/AGENTS.md, docs/packages.md, the skills and EPIC #1669.

Acceptance criteria

  • The new repository builds and tests from a clean clone with crates.io dependencies only, and its CI is green.
  • torrust-tracker-client is published on crates.io from the new repository, with owners josecelano and da2ce7, a successful docs.rs build and the LGPL-3.0-only license.
  • console/tracker-client/ no longer exists in the tracker repository and no tracker manifest depends on torrust-tracker-client.
  • The tracker E2E runner passes without the local crate, locally and in CI.
  • No live tracker document or skill tells the reader to run cargo run -p torrust-tracker-client; AGENTS.md lists the crate as extracted.
  • EPIC #1669 records the extraction.

The full specification is added to docs/issues/open/ by a spec-only pull request.

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