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

Abierto
#1,775 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
56/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
rust
Área
cli

Línea de trabajo

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

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Rust
Estrellas
532
Forks
56
Merge medio
11 h 20 min
PR fusionados (30 d)
282

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de torrust/torrust-tracker

Todos los issues de torrust/torrust-tracker

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.