Skip to content

Conversation

@IvanRibakov
Copy link

🛠️ Description

Make use of the copyright_year configuration field and allow overriding it at runtime via command flag. This way users that want the old behaviour can simply ensure that they are not setting the copyright_year in the config file.

For the rest of the users this enables a variety of new usage patterns, for example:

  • Use copyright_year in the configuration file to capture the project creation date (the one used during the initial invocation of copywrite headers)
  • Use -y/--copyright-year flag in various dev automation tools to stamp new source files with the year they were first created.

🔗 External Links

N/A

👍 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 15:07
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Jan 24, 2025

CLA assistant check
All committers have signed the CLA.

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