RFR: 1704: Add or update copyright header in some files

Magnus Ihse Bursie ihse at openjdk.org
Fri Dec 2 00:40:27 UTC 2022


On Thu, 1 Dec 2022 23:34:47 GMT, Zhao Song <zsong at openjdk.org> wrote:

> The patch just updated copyright headers in some files.

Sorry, that was just an example, to built upon. That particular sequence of command will find which files have been changed for a set of git commits, and will update the year to 2022. To get what you need for this PR is a bit more tricky. 

There is a script in the JDK, https://github.com/openjdk/jdk/blob/master/make/scripts/update_copyright_year.sh, which does something along these lines. I don't know if you can just download and run it in Skara, or if it needs adaptation.

-------------

PR: https://git.openjdk.org/skara/pull/1431


More information about the skara-dev mailing list