Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#173 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cpp

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C++
スター
5
フォーク
4
平均マージ
1時間 4分
マージ済み PR(30日)
71

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CoreTrace/coretrace のほかの issue

CoreTrace/coretrace の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。