ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

GUI: Script to update copyright year #2368

Open mattclarke opened 7 years ago

mattclarke commented 7 years ago

The licence has a end year in it. It would be great if we could update this automatically.

KathrynBaker commented 7 years ago

Wasn’t there a script written to update them all from 2015 to 2016? Or did you have an idea for something fancier?

ISISBuildServer commented 7 years ago

Well in that case someone needs to run it – it is nearly June after all.

From: Kathryn Baker [mailto:notifications@github.com] Sent: 24 May 2017 11:21 To: ISISComputingGroup/IBEX IBEX@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [ISISComputingGroup/IBEX] GUI: Script to update copyright year (#2368)

Wasn’t there a script written to update them all from 2015 to 2016? Or did you have an idea for something fancier?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ISISComputingGroup/IBEX/issues/2368#issuecomment-303682020, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKLSiPhyEEw3jydcRrScYZIN3fI2f53Xks5r9AR7gaJpZM4Nk4Ui.

FreddieAkeroyd commented 7 years ago

Do you mean source code copyright? We only really need to update a copyright date when we edit a file

ISISBuildServer commented 7 years ago

Which currently nobody does. So perhaps we need something to flag that instead?

From: Freddie Akeroyd [mailto:notifications@github.com] Sent: 24 May 2017 12:58 To: ISISComputingGroup/IBEX IBEX@noreply.github.com Cc: ISISBuildServer ISISBuildServer@svr2.nd.rl.ac.uk; Comment comment@noreply.github.com Subject: Re: [ISISComputingGroup/IBEX] GUI: Script to update copyright year (#2368)

Do you mean source code copyright? We only really need to update a copyright date when we edit a file

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ISISComputingGroup/IBEX/issues/2368#issuecomment-303702543, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKLSiEd0tVMW4aOJNX4RtKDnz2mmauLfks5r9BtTgaJpZM4Nk4Ui.

FreddieAkeroyd commented 7 years ago

If we signify it with say @copyright then we can use a git pre-commit hook maybe?

kjwoodsISIS commented 7 years ago

Someone must have done this before ... look it up on Google.

KathrynBaker commented 6 years ago

As we are now in an even more recent year should we be thinking about this one again?

FreddieAkeroyd commented 6 years ago

So long as the script updates the copyright to the year that the file was edited (as per git history) rather than the current year, I'm against just changing the year for no real reason.