Skip to content

feat: Add license header checking and enforcement#102

Merged
privateip merged 1 commit intoitential:develfrom
privateip:license-check
Dec 30, 2025
Merged

feat: Add license header checking and enforcement#102
privateip merged 1 commit intoitential:develfrom
privateip:license-check

Conversation

@privateip
Copy link
Member

  • Create scripts/check_license_headers.py to validate GPL-3.0 headers
  • Add --fix flag to automatically add missing license headers
  • Add license Makefile target for checking compliance
  • Add license-fix Makefile target for automatic correction
  • Integrate license check into premerge pipeline
  • Add SPDX-License-Identifier to all Python source files
  • Intelligently handle files with shebangs and partial headers
  • Provide detailed reporting of missing headers with file paths

- Create scripts/check_license_headers.py to validate GPL-3.0 headers
- Add --fix flag to automatically add missing license headers
- Add license Makefile target for checking compliance
- Add license-fix Makefile target for automatic correction
- Integrate license check into premerge pipeline
- Add SPDX-License-Identifier to all Python source files
- Intelligently handle files with shebangs and partial headers
- Provide detailed reporting of missing headers with file paths
@privateip privateip requested a review from a team as a code owner December 30, 2025 05:12
@privateip privateip merged commit 6d6b72e into itential:devel Dec 30, 2025
4 checks passed
@privateip privateip deleted the license-check branch December 30, 2025 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant