Optional tools are fetched from master, and cmake/ikos.cmake is included nowhere
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 69/100
- Issue 类型
- 重构
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 领域
- build-system, devops
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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: itsincludeis commented out inCMakeLists.txt:144, and ikos is found throughPATH.
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.cmakeand the commentedinclude.
Acceptance
check-pinned-dependencies.shchecks every file incmake/, andctestpasses.- A build with
-DENABLE_FLAWFINDER=ON -DENABLE_TSCANCODE=ONstill configures and builds.
From the technical debt register (docs/quality/technical-debt.md, D7).
- 主要语言
- C++
- 星标
- 5
- 派生
- 4
- 平均合并
- 1 小时 9 分钟
- 30 天内合并 PR
- 81
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CoreTrace/coretrace 的其他 Issue
-
chore good first issue severity/minor
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
build severity/minor
难度 2/5 1-3 小时 新手友好度 84/100
CoreTrace/coretrace#176 · 1 条评论 ·
维护者通常 1 天内回复
-
build good first issue severity/minor
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
test: add unit tests for ctrace::RunDirectory可能已有人在做 @tecnolgd 于 3 天前认领。 未关闭good first issue test
难度 2/5 1-3 小时 新手友好度 88/100
CoreTrace/coretrace#164 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Release a macOS disk image (.dmg) for Apple silicon可能已有人在做 @SizzleUnrlsd 于 1 天前认领。 未关闭build enhancement
CoreTrace/coretrace#198 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 CoreTrace/coretrace 的全部 Issue
相似的 Issue
-
backlog bug
难度 2/5 1-3 小时 新手友好度 75/100
EchoTools/nevr-runtime#653 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
InfiniTimeOrg/InfiniTime#2492 ·
-
accessibility good first issue hacktoberfest help wanted
难度 2/5 1-3 小时 新手友好度 74/100
OpenChemistry/avogadrolibs#3184 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Tracktion/tracktion_engine#475 ·
维护者通常 1 天内回复