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
Keep copyright year up-to-date #1384
Conversation
That's cool! We have other places where we use |
Thanks. Should I add it to this PR? |
There are other locations that can't be dynamic. So I'm not sure how much this helps. |
We could use something like https://npmjs.org/package/grunt-text-replace to replace those other two as well. |
That actually seems like a really bad idea, unless the changes are going to be committed back to the source files. |
Yes ofcourse. It can very well be a build step. |
@ameyms Could you also update the build task in a similar way we replace @scottgonzalez Why can't it be automatic here? Are there any law-related concerns? |
@mzgol I guess even the I make the changes i other places that you have mentioned. |
Right, forgot about the LICENSE file. In that one we can't use the @scottgonzalez Is this an OK thing to do? Changes would be commited to the repository, of course. |
No matter what we do, the changes need to be committed to the repo prior to tagging. If this were implemented today and we released v2.3.4, then a year from today if someone rebuilds v2.3.4 from the tag, using whatever build process we have in place (today that's Grunt), then the copyright on the generated build should be 2013, not 2014. As for |
. Ez egy sokkal nagyobb probléma, mint tartani a konkrét repo frissítik 2013/11/11 Scott González notifications@github.com
|
@scottgonzalez Preserving the original year for a commit is a valid point, we do generate current date on each build no matter when the commit was created, though. Perhaps the build task should be modified to use the commit date, not the current one. The same could potentially be done for year substitutions - your case would be served, then. |
+1 @mzgol. I really like the idea of using commit timestamp instead of the system clock. |
@ameyms Do you want to try to make the time rely on commit date instead of current one or should we do it by ourselves? |
I would love to, but I don't have access to my computer till 18th. Amey
|
Sure that's fine @ameyms, it's not critical. |
Alright. Will do it on Monday then. Amey
|
@ameyms last call for the beta! |
Ami Szerzői \ d {4} pótlások, hogy esetleg dolgozni, de ez az egész folyamat kell, hogy megtörténjen a saját, mint az egyik első dolog, ami történik az év során. Ez egy sokkal nagyobb probléma, mint tartani a konkrét repo frissítik minden -- Fog tenni, hogy hétfőn majd. Köszönjük!de nem férnek hozzá a számítógép-ig 18-án. Ha ez vár 5 nap, én nyomja meg ezt hétfőn. Amey---, |
I can reopen this if someone is willing to finish it. |
Get ready for 2014 (and every year after that) ! 🎉
Auto update copyright year directly through the Grunt script. 📆