You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we've added new .cs files to the repository, we've included the Apache 2.0 licence notice and assigned copyright to "The Open Brush Authors". However, we haven't been adding it to files we've modified from the original codebase. Ideally we should also add "Copyright X-2024 The Open Brush Authors"
Can we automate this?
I'd like to do this at the same time as the asset database refresh, so we can add the hash to the ignore-revs
The text was updated successfully, but these errors were encountered:
We absolutely can automate it, but we need a slightly clearer requirement.
Is this it:
Any file that doesn't contain a line matching // Copyright ... The Open Brush Authors gets a new line, below the Copyright ... Tilt Brush, with the date in the form <file first modified> - 2024
Any file that does contain a line with Copyright XXXX The Open Brush Authors gets that format changed to XXXX-2024
Any file that contains a line Copyright XXXX-202[^4] is changed to XXXX-2024
I think so. Perhaps doing first year modified - most recent year modified makes maintenence easier, otherwise we're setting a precedent that we should update all touched files every time the new year rolls over, rather than just being a bit more careful in PRs.
When we've added new
.cs
files to the repository, we've included the Apache 2.0 licence notice and assigned copyright to "The Open Brush Authors". However, we haven't been adding it to files we've modified from the original codebase. Ideally we should also add "Copyright X-2024 The Open Brush Authors"Can we automate this?
I'd like to do this at the same time as the asset database refresh, so we can add the hash to the ignore-revs
The text was updated successfully, but these errors were encountered: