Subj. Currently only for SVN. Requires https://pypi.python.org/pypi/svn. Installation:
pip install svn
Plans:
- Add Git support (should be easy).
- Add command line params for more flexible configuration.
Differential D1753
Script to auto update year for all modified files vladislavbelov on Jan 18 2019, 9:45 PM. Authored by
Details
Subj. Currently only for SVN. Requires https://pypi.python.org/pypi/svn. Installation: pip install svn Plans:
Diff Detail
Event TimelineComment Actions Successful build - Chance fights ever on the side of the prudent. Link to build: https://jenkins.wildfiregames.com/job/differential/983/ Comment Actions Successful build - Chance fights ever on the side of the prudent. Link to build: https://jenkins.wildfiregames.com/job/differential/984/
Comment Actions Successful build - Chance fights ever on the side of the prudent. Link to build: https://jenkins.wildfiregames.com/job/differential/985/ Comment Actions It's a nice script, but is it useful now that the linter detects those wrong license dates? What would be the use case? Comment Actions The linter is only checks the year. But the script upgrades it. The case is simple (at least what I use it for): you have a big patch from previous years/you forgot to upgrade years in a big patch. With the script it's not a problem, you don't need a manual work. Comment Actions My opinion:
I'm not sure it's worth adding to the repository. Comment Actions IMHO This could be added to the scripts, and anyone free to use it or not. Or it could run after commits, and make another commit on top of it fixing missing updates. Comment Actions no we don't :p Anyways what I'm saying is that I won't commit this, I don't really mind it being committed but it's likely to be forgotten. Have you ever actually used it more than once @vladislavbelov ? Comment Actions Sure, I have a bunch of old patches, and sometimes I need to update many headers. But I don't suggest to commit it, anyone still can use it just download from here. |