refactor: replace Apache SkyWalking Eyes with FSFE REUSE tool#7
Merged
refactor: replace Apache SkyWalking Eyes with FSFE REUSE tool#7
Conversation
3fc034c to
2c212f0
Compare
4 tasks
3f0ccbc to
967d9b0
Compare
903f29e to
6803917
Compare
Migrate license header management from Apache SkyWalking Eyes (license-eye) to FSFE's REUSE tool for SPDX-compliant headers. - Add REUSE.toml for bulk annotations on files without inline headers - Add .reuse/templates/opensovd.jinja2 custom header template - Add LICENSES/Apache-2.0.txt (required by REUSE spec) - Add reuse-annotate-hook.sh for pre-commit header management: - Preserves original year from existing copyright headers - Corrects wrong copyright text automatically - Supports Rust/Kotlin (/* */ style) and ODX (<!-- --> style) - Supports rst out of the box to solve #5 - Portable grep (no GNU-only -oP flag) - Rework run_checks.py to use argparse with --copyright, --license, --template, --hook-script, --config, --no-fix flags (no env vars) - Auto-fixes ruff issues locally, report-only in CI - Downloads hook script, template, and license text for consumer repos - Cleans up downloaded files after run - Rework action.yml to call run_checks.py instead of running pre-commit and license-eye separately - Replace pre-commit-version and license-config-path inputs with copyright-text, license, and reuse-template inputs - Migrate all file headers from "Copyright (c)" to "SPDX-FileCopyrightText" - Delete .licenserc.yml (no longer needed) Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
6803917 to
9709b57
Compare
floroks
approved these changes
Feb 13, 2026
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.
Summary
Migrate license header management from Apache SkyWalking Eyes
(license-eye) to FSFE's REUSE tool for SPDX-compliant headers.
--template, --hook-script, --config, --no-fix flags (no env vars)
pre-commit and license-eye separately
copyright-text, license, and reuse-template inputs
Checklist
Related
Notes for Reviewers
Signed-off-by: Alexander Mohr alexander.m.mohr@mercedes-benz.com