diff options
author | isle2983 <isle2983@yahoo.com> | 2016-09-07 19:21:41 -0600 |
---|---|---|
committer | isle2983 <isle2983@yahoo.com> | 2016-09-10 14:58:42 -0600 |
commit | 159597a2b8967c8bc8106d98705d68932500b58a (patch) | |
tree | d6a6cbe1b7c1fb4fdba74c4ba5a59b2e0731bff9 /contrib/testgen | |
parent | 8ea44405e76fadb6459e8913e708bf5f39cbf4c7 (diff) | |
download | bitcoin-159597a2b8967c8bc8106d98705d68932500b58a.tar.xz |
[devtools] script support for managing source file copyright headers
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.
Diffstat (limited to 'contrib/testgen')
0 files changed, 0 insertions, 0 deletions