Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Remove the deprecated spellings, and --output-file, which no tool uses

Abierto
#173 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cpp

Línea de trabajo

Start with the deprecated option and key handling in src/App/Config.cpp, src/App/ToolConfig.cpp, and include/ctrace_defs/types.hpp; review the tests and docs/configuration.md section named in the issue. Update the warning for --output-file and output_file, then remove the listed compatibility paths, their tests, and the Legacy Compatibility section. Update CHANGELOG.md for the removal release and run ctest; removed keys and options should be rejected.

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

Descripción

chore severity/minor

ctrace still accepts spellings that were replaced, each with its own code path, tests and documentation:

Spelling Replaced by Where
--async, runtime.async --jobs, runtime.jobs (#158) src/App/Config.cpp:151, src/App/ToolConfig.cpp:729
--ipc=socket --ipc=standardIO (#83) include/ctrace_defs/types.hpp:26-41
Root invoke and input, stack_analyzer legacy keys, stack_analyzer.include_dirs and defines, tools.ctrace_stack_analyzer, tools.stack_analyzer The canonical sections (#87) src/App/ToolConfig.cpp (applyLegacyRootInvokeAndInput, deprecated); docs/configuration.md, "Legacy Compatibility"

--output-file (config output.output_file, API output_file) is in a worse state: its help text says "Legacy output path; no current tool writes to it" (src/App/Config.cpp:72). It is accepted, without any warning, and does nothing.

To do

  1. Make --output-file and output_file warn like the other deprecated spellings.
  2. In CHANGELOG.md, announce the release that removes them all.
  3. In that release, remove them, with their tests and the "Legacy Compatibility" section of docs/configuration.md.

Acceptance

  • After the removal, a removed key is rejected with the unknown-key diagnostic that names the allowed keys, and a removed option is rejected by the CLI.
  • ctest passes.

From the technical debt register (docs/quality/technical-debt.md, D6).

Lenguaje dominante
C++
Estrellas
5
Forks
4
Merge medio
1 h 2 min
PR fusionados (30 d)
74

Preparar el entorno

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 CoreTrace/coretrace

Todos los issues de CoreTrace/coretrace

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.