Repository navigation
fix(license): list derived runtime files explicitly - #76
Conversation
The license check treated every file under src/runtime/ggml/ as derived from parakeet.cpp, so new first-party files there (llama_log_shim.cpp from #47) failed unless they carried a third-party notice that does not apply. List the nine derived files from the initial release in DERIVED_FILES and drop the directory prefix. Fixes #74. Signed-off-by: Prabhsimran Singh <prabhsimrans@nvidia.com>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Explicit derived-file matching scripts/check_license_headers.py |
The checker replaces the directory-wide match with a list of nine derived files. Both expected-header generation and header validation use this list. |
Priority:
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix · Severity of issue fixed: Medium
Merge Risk: 
Minimal · up to ca14d
-
No actionable merge-blocking risk remains.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed-
Full details: Linked Issues check
-
Explanation
Issue
#74requires the license check to stop requiring the parakeet.cpp notice for unrelated files such assrc/runtime/ggml/llama_log_shim.cpp. The PR removesDERIVED_PREFIXand adds the nine intended ggml files toDERIVED_FILES.expected_headerandhas_headernow apply the derived notice only when the exact path is listed. The shim is not listed, so its NVIDIA-only header is accepted.
Full details: Out of Scope Changes check
-
Explanation
The whole-PR diff changes only
scripts/check_license_headers.py. The change replaces directory-wide derived-file handling with an explicit file list. This directly supports issue#74and does not add unrelated behavior.
-
-
Finishing Touches: 💡 1
-
📝 Generate docstrings: 💡
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
[Low impact] The PR appears safe to merge. SummaryReplaces the blanket derived-file rule for
Reviews (1) · Last reviewed commit: "fix(license): list parakeet-derived runt..." · Reviewed by Greptile |
The license check treated every file under src/runtime/ggml/ as derived from parakeet.cpp, so new first-party files there (llama_log_shim.cpp from #47) failed unless they carried a third-party notice that does not apply. List the nine derived files from the initial release in DERIVED_FILES and drop the directory prefix.
Fixes #74.