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

fix: update copyright template to use custom format with dynamic year #445

Closed

Conversation

devin-ai-integration[bot]
Copy link
Contributor

This PR updates the copyright template to use the current year dynamically while maintaining the exact format requested:

Copyright (c) XXXX Airbyte, Inc., all rights reserved.

Changes made:

  1. Created a custom LICENSE_TEMPLATE file with the exact format requested
  2. Created a shell script that uses addlicense with the template and dynamically inserts the current year
  3. Updated pre-commit hooks to use this script instead of direct addlicense commands

This approach ensures that all new files automatically get the current year in their copyright headers with the exact format requested, eliminating the need for manual updates in the future.

Requested by: [email protected]

Link to Devin run: https://app.devin.ai/sessions/4822a406bb3a42d9915a7cc2a9cdf3c8

Copy link
Contributor Author

🤖 Devin AI Engineer

Original prompt from [email protected]:

Received message in Slack channel #dev-devin-ai:

@Devin There is a template somewhere in the code that sets at the top of our source file the following: `Copyright (c) 2024 Airbyte, Inc., all rights reserved.` Right now, it looks like it is hardcoded to 2024. and even now (is 2025) stills sets the year to 2024. please help me update that template to set that based on the current year

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions github-actions bot added bug Something isn't working security labels Mar 25, 2025
Copy link
Contributor Author

Closing as requested by Francis Genet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants