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

Aperta
#1,775 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

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

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

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.