-
Notifications
You must be signed in to change notification settings - Fork 56
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
Preserve copyright years #23
Comments
WIP retronym#1 |
I haven't looked into your code yet, but one feature I want to keep is overwriting existing headers in order to enforce a single header thought the whole project. Of course an option to allow for file specific dates is fine and maybe another one (not the default) to keep (the format of) existing headers. If you plan for the latter, too, please add another issue/PR, i.e. let's keep this focussed on optionally preserving the copyright year(s). |
I'm all for consistent headers too. I think we can expose a new boolean setting that one can use to enable the date range merging. |
@retronym did you ever get round to finishing this off? Sounds like something I'd be interested in too. |
I can finish it. |
note for people subscribed here that progress was made here by way of #142. and sbt-header is now used by the akka and akka-http projects: |
Probably related: #282 |
Rather than just writing the new header into files, it would be better to "merge" the old and new headers, taking the current year and overall format from the configured header, and the copyright year ranges from the old.
The text was updated successfully, but these errors were encountered: