Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Optional tools are fetched from master, and cmake/ikos.cmake is included nowhere

Aperta
#174 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
69/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cmake, cpp, shell

Direzione di ricerca

Read the three named CMake modules, scripts/release/check-pinned-dependencies.sh, and the relevant section of CMakeLists.txt. Pin flawfinder and TscanCode, update the script exclusions, and remove the unused ikos module and commented include. Run check-pinned-dependencies.sh, ctest, and configure and build with both options enabled to verify the acceptance criteria.

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

Descrizione

build severity/minor

Three build modules fetch GIT_TAG master:

  • cmake/flawfinder.cmake:7 (-DENABLE_FLAWFINDER=ON);
  • cmake/tscancode.cmake:7 (-DENABLE_TSCANCODE=ON);
  • cmake/ikos.cmake:55, which nothing includes: its include is commented out in CMakeLists.txt:144, and ikos is found through PATH.

scripts/release/check-pinned-dependencies.sh skips these three files because no release ships those tools. As a result, two builds of the same commit with the same option can get different versions of flawfinder or TscanCode, and cmake/ikos.cmake is dead code.

To do

  • Pin flawfinder and TscanCode to a tag or a commit, like the other dependencies.
  • Remove them from the exclusion list of check-pinned-dependencies.sh.
  • Delete cmake/ikos.cmake and the commented include.

Acceptance

  • check-pinned-dependencies.sh checks every file in cmake/, and ctest passes.
  • A build with -DENABLE_FLAWFINDER=ON -DENABLE_TSCANCODE=ON still configures and builds.

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

Lingua principale
C++
Stelle
5
Fork
4
Merge medio
1h 2m
PR unite (30g)
74

Preparare l'ambiente

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

Tutte le issue di CoreTrace/coretrace

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.