aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/fix-copyright-headers.py
Commit message (Collapse)AuthorAgeFilesLines
* [devtools] script support for managing source file copyright headersisle29832016-09-101-67/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Three subcommands to this script: 1) ./copyright_header.py report Examines git-tracked files with extensions that match: INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.py'] Helps to: -> Identify source files without copyright -> Identify source files added with something other than "The Bitcoin Core developers" holder so we can be sure it is appropriate -> Identify unintentional typos in the copyright line 2) ./copyright_header.py update Replaces fix-copyright-headers.py. It does file editing in native python rather than subprocessing out to perl as was the case with fix-copyright-headers.py. It also shares code with the 'report' functions. 3) ./copyright_header.py insert Inserts a copyright header into a source file with the proper format and dates.
* contrib: Don't use shell=TrueMarcoFalke2016-08-281-28/+49
|
* contrib: Make fix-copyright-headers.py more portableMarcoFalke2016-08-221-1/+1
|
* [devtools] Use git pretty-format for year parsingMarcoFalke2015-12-261-2/+2
|
* [devtools] Rewrite fix-copyright-headers.pyMarcoFalke2015-12-131-38/+31
|
* Added "Core" to copyright headerssandakersmann2014-12-191-2/+2
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-0/+53
in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.