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

Aperta
#2,594 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@josecelano ci sta già lavorando.

Dal 21/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Rust
Stelle
532
Fork
56
Merge medio
11h 20m
PR unite (30g)
282

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di torrust/torrust-tracker

Tutte le issue di torrust/torrust-tracker

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.