diff options
author | Keith Seitz <keiths@redhat.com> | 2025-04-29 09:08:38 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2025-04-29 09:08:38 -0700 |
commit | a7175864d96765b291276cf3a6508b78ad3a9b23 (patch) | |
tree | d54b9427d564efe5a911213a6f6ffbe87524479b /gdb/python/python.h | |
parent | f79a8e5aab2d0f4773cca8c33434c5cf0f3e9124 (diff) | |
download | binutils-a7175864d96765b291276cf3a6508b78ad3a9b23.zip binutils-a7175864d96765b291276cf3a6508b78ad3a9b23.tar.gz binutils-a7175864d96765b291276cf3a6508b78ad3a9b23.tar.bz2 |
[gdb/contrib] Add script to license check new files
While reading through gdb-patches backlog after a return
from PTO, I noticed that a newly added file was licensed
with "MIT", and that license was not listed in Fedora's
gdb.spec file. [Fedora no longer supports "effective"
licenses.]
That lead me to this simple script which generates a list
of all the newly added files between two given commits and
scans these files for licenses.
Example usage:
bash$ cd /path/to/binutils-gdb/gdb
bash$ ./contrib/license-check-new-files.sh -s gdb-15-branchpoint gdb-16-branchpoint
Scanning directories gdb*/...
gdb/contrib/common-misspellings.txt: no longer in repo?
gdb/contrib/spellcheck.sh: no longer in repo?
gdbsupport/unordered_dense.h: MIT
I don't think anything in here is Fedora- or RPM-specific,
so I'd like to submit this for consideration for inclusion
in contrib/. I believe other distros may find it useful.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/python.h')
0 files changed, 0 insertions, 0 deletions