Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting copyright year #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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