Skip to content

Mchornyi/tri 1026/spdx#496

Draft
mc-nv wants to merge 3 commits into
mainfrom
mchornyi/TRI-1026/spdx
Draft

Mchornyi/tri 1026/spdx#496
mc-nv wants to merge 3 commits into
mainfrom
mchornyi/TRI-1026/spdx

Conversation

@mc-nv
Copy link
Copy Markdown
Contributor

@mc-nv mc-nv commented May 1, 2026

No description provided.

mc-nv added 3 commits May 1, 2026 21:10
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant