flex icon indicating copy to clipboard operation
flex copied to clipboard

Update for COPYING (last date 2007)?

Open GitMensch opened this issue 4 years ago • 3 comments

... just wondering ...

GitMensch avatar May 19 '21 20:05 GitMensch

You're quite correct that COPYING and any other copyright notices need updated. I have a vague memory that some automated tool exists to do this, though.

westes avatar Jul 08 '21 00:07 westes

Yes, there are automated tools, for example gnulib's update-copyright or Bison's update-package-copyright-year, but those cannot be post-applied. From my understanding the years should be updated when copyrightable changes were done, COPYING is a common file so we can just inspect the commit logs if every year has changes, then change that to -2021.

The same can be done for the library version (if that is printed/returned somewhere) and the output of flex --version.

For other copyright notices I'd say that should be investigated per file (again with the help of the git logs), a possibly good option is to run LANG=en git log --follow $file | grep Date - but the "per file" part could also happen after a release (because the last one hadn't those cleaned up either).

GitMensch avatar Jul 08 '21 06:07 GitMensch

Friendly ping @westes.

GitMensch avatar Jan 14 '22 07:01 GitMensch