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

GRIDEDIT-673 Added copyright banner to all files where it was absent #397

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

BillSenior
Copy link
Contributor

No description provided.

Copy link
Contributor

@ahmad-el-sayed ahmad-el-sayed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR adds a copyright notice to c++ header and source files where it is missing. However, it does not address existing notices that need update. For example the end year in most of existing notices is often outdated. It is common to do this manually when editing a certain file.

To make the process easier it is recommended to provide a small bash or python script to automate the task.

  • The script should be able to adapt all files recursively and achieve the following:
    • Add the notice where is missing, i.e. in new files where it was not added by the developer
    • Update the year in files where the notice already exists
  • Add the script to to scripts sub-directory
  • The script should be run periodically either manually or scheduled with an force push in TeamCity.

@BillSenior BillSenior merged commit 08b84cd into master Jan 14, 2025
13 of 14 checks passed
@BillSenior BillSenior deleted the feature/GRIDEDIT-673_copyright_banner branch January 14, 2025 15:00
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