ci: Remove SPDX pre-commit hook#8891
Closed
mc-nv wants to merge 2 commits into
Closed
Conversation
Drop the local add-spdx-license hook and its tools/add_spdx_header.py script. Existing two-line SPDX headers remain valid: the centralized add-license hook maintains the copyright year on the string both header forms share.
Restore the long-form BSD LICENSE header on the files that were migrated to (or created with) the two-line SPDX header, preserving each file's copyright year range.
This was referenced Jul 18, 2026
ci: align pre-commit hooks and GitHub templates
triton-inference-server/checksum_repository_agent#14
Open
Open
Open
mc-nv
marked this pull request as ready for review
July 18, 2026 05:38
Vinya567
approved these changes
Jul 18, 2026
mc-nv
marked this pull request as draft
July 18, 2026 06:42
mc-nv
marked this pull request as ready for review
July 20, 2026 23:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does the PR do?
Removes the SPDX adoption from the repo:
add-spdx-licensehook from.pre-commit-config.yamland deletes its scripttools/add_spdx_header.py(referenced nowhere else)..pre-commit-config.yaml,build.py,tools/build/build_presets.py,qa/L2_build_presets/{README.md,build_presets_test.py,test.sh}), preserving each file's copyright year range and comment convention.After this PR the repo contains no SPDX references.
Test plan
pre-commit runpasses all hooks on every changed file, includingadd-license(centralizedadd_copyright.py) over the restored headers.git grep SPDXreturns nothing.Related PRs