Mchornyi/tri 1026/spdx#496
Draft
mc-nv wants to merge 3 commits into
Draft
Conversation
Replace 25-line BSD-3-Clause boilerplate with 2-line SPDX headers in all source files. Add LICENSES/BSD-3-Clause.txt and .reuse/dep5 for full REUSE spec v3.3 compliance. Update pre-commit to use reuse hook from codeberg.org/fsfe/reuse-tool instead of a custom local script. Set ReflowComments: false in .clang-format to prevent clang-format from wrapping long SPDX header lines. Closes TRI-1026
- Add local copyright-year hook (tools/update_copyright_year.py) that auto-updates SPDX-FileCopyrightText year to include the current year on every commit - Update hook versions: isort 5.12.0->8.0.1, black 23.1.0->26.3.1, clang-format v16.0.5->v22.1.4, codespell v2.2.4->v2.4.2 (isort pinned to 8.0.1 stable, not the 9.0.0a3 pre-release)
- Fix copyright-year hook bug: any() short-circuits, causing only one file to be updated per run; switch to list comprehension to process all files in a single pass - Apply clang-format v22 reformatting across all affected C++ files - Apply isort 8.0.1 / black 26.3.1 reformatting to Python files - Update all copyright years to include 2026 for clang-format-touched files - Fix typo: Fallthough -> Fallthrough in src/repo_agent.cc
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.
No description provided.