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

Remove USE_EXTERNAL_CLI11: it downloads CLI11 2.3.2 while the vendored header is 2.5.0

オープン 初心者向け
#175 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
85/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cmake, cpp
領域
build-system

調査の方向性

CMakeLists.txt の USE_EXTERNAL_CLI11 オプションと条件付きブロックを読み、次に cmake/CLI11.cmake と issue 内の 2 つの git grep コマンドで見つかった参照を調べます。オプションとモジュールを削除し、続いて記載されているビルド、ctest、フォーマットチェックのコマンドを実行します。リポジトリに含まれる CLI11 ヘッダーが使われ、オプションまたはモジュールへの参照が残っていなければ完了です。

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

説明

build good first issue severity/minor

ctrace parses its command line with the CLI11 header vendored in external/CLI11.hpp, version 2.5.0. With -DUSE_EXTERNAL_CLI11=ON (CMakeLists.txt:115-120), CMake downloads CLI11 v2.3.2 instead (cmake/CLI11.cmake): an older version that CI never builds, while the release license check reads the vendored header (CMakeLists.txt:209-214). The option gives two possible versions of the same dependency, and nothing needs it.

To do: remove the option and keep the vendored header.

How:

  • delete cmake/CLI11.cmake;
  • delete the USE_EXTERNAL_CLI11 option and its if block in CMakeLists.txt (lines 115 to 120);
  • run git grep -n USE_EXTERNAL_CLI11 and git grep -n CLI11.cmake to check that nothing else refers to them.

The wiki's build page also lists the option; a maintainer will update it.

Check:

cmake --build build --parallel 4
ctest --test-dir build --output-on-failure
./scripts/format-check.sh

Acceptance

  • cmake/CLI11.cmake is gone, and git grep USE_EXTERNAL_CLI11 finds nothing.
  • The README build configures and builds, and ctest passes.

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

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

環境構築

はじめの一歩

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

CoreTrace/coretrace のほかの issue

CoreTrace/coretrace の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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