-
Notifications
You must be signed in to change notification settings - Fork 49
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
When copyright year changes, insert-license simply puts new copy of whole license file at the top. #23
Comments
Reading the docs I'm wondering if I leave the |
Hi @kevbroch I think the documentation you mentioned is quite explicit indeed. |
Thanks for the confirmation. For my use case, of only updating the license header year if/when the file is edited for other reasons, I'll need to figure out some other method to automatically update those changed files. |
Alright. Can I close this issue then ? |
It's up to you. I'll hopefully submit a PR adding the |
I’m not a lawyer, so don’t take this as legal advice from me. IIUC, you don't need to update the copyright year on license declarations. |
The new flag `--flexible-years` allows automatically updating the year in copyright headers, using always the current year when inserting new ones and removing headers regardless of the years they contain.
The new flag `--use-current-year` allows automatically updating the year in copyright headers, using always the current year when inserting new ones and removing headers regardless of the years they contain.
This feature has been implemented by @aostrowski in #59 |
Currently doing this:
Would be preferable to allow for the detection of year change and only change that part.
Based on https://reuse.software/faq/#years-copyright , This would need to detect either a single year, or a range of years.
The text was updated successfully, but these errors were encountered: