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

Open
#2,594 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@josecelano is already working on this.

Since Oct 21, 2026.

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Rust
Stars
532
Forks
56
Avg merge
11h 20m
Merged PRs (30d)
282

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from torrust/torrust-tracker

All issues in torrust/torrust-tracker

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.