Commit 7db3bea
committed
Enhance LintSpdxCommand with contributor tracking and header normalization
Improves SPDX header linting to ensure consistent license metadata across
the codebase.
Key changes:
- Enforce deterministic tag ordering (License-Identifier, FileCopyrightText,
FileContributor) to ensure consistency, prevent merge conflicts, and
simplify code reviews
- Add contributor alias mapping to consolidate contributors with multiple
emails or name variations (e.g., "nickl-" → "Nick Lombard")
- Add --contributions-strategy option with "blame" (current code authors)
and "log" (all historical contributors) to support different attribution
philosophies
- Add optional path argument to lint specific files or directories
- Add --fix option to automatically correct header issues
Assisted-by: Claude Code (claude-opus-4-5-20251101)1 parent 1b584d8 commit 7db3bea
File tree
209 files changed
+766
-240
lines changed- bin
- docs
- messages
- validators
- src-dev
- Commands
- Spdx
- ContributorExtractor
- HeaderRebuilder
- src
- Transformers
- Validators
- tests/unit
- Helpers
- Validators
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
209 files changed
+766
-240
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments