Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#174 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
69/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cmake, cpp, shell
Lĩnh vực
build-system, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C++
Star
5
Fork
4
Merge trung bình
1 giờ 10 phút
Pull request đã merge (30 ngày)
79

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CoreTrace/coretrace

Tất cả issue của CoreTrace/coretrace

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.