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

Open
#1,775 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
56/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Quiet
Tech stack
rust
Domain
cli

Research direction

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/.

Written by the indexing model from the issue text.

Description

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

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.