Skip to content

Feature/custom license template#116

Open
IvanRibakov wants to merge 5 commits intohashicorp:mainfrom
zaleos:feature/custom_license_template
Open

Feature/custom license template#116
IvanRibakov wants to merge 5 commits intohashicorp:mainfrom
zaleos:feature/custom_license_template

Conversation

@IvanRibakov
Copy link

🛠️ Description

  • Added new config field LicenseTemplate to allow modifying the copyright/license format
  • Updated license (header) detection to use the ASCII copyright symbol: ©
  • Made addlicense.spdxFlag type public to be able to write cleaner code in the copywrite/cmd package (creating variables of type addlicense.SpdxFlag )

🔗 External Links

👍 Definition of Done

  • New functionality works?
  • Tests added?

🤔 Can be merged upon approval?

@IvanRibakov IvanRibakov requested a review from a team as a code owner January 24, 2025 16:57
@delgod
Copy link

delgod commented Feb 7, 2026

While the current "Copyright [Name] [Year]" template functions for the Mozilla Public License, it is opinionated and conflicts with the standard "Copyright [Year] [Name]" format recommended by the U.S. Copyright Office.

Adopting this PR will improve general applicability across various license types.

@mohanmanikanta2299 @CreatorHead, could you please review and merge?

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.

2 participants