edsu / pymarc

process MARC records from Python
http://python.org/pypi/pymarc
Other
251 stars 99 forks source link

Apply license headers #153

Closed dbs closed 4 years ago

dbs commented 4 years ago

This series of commits creates an apply_headers.py script that generates a LICENSE file containing the complete list of contributors from git history, with an accompanying .mailmap file that allows various git names and email addresses to be given one canonical entry. The script also applies a standard license and copyright header to each Python file directing readers to the LICENSE file for details.

The script should be run as prior to tagging each release to ensure that the list of contributors is kept up to date and that any added files get the standard header.

dbs commented 4 years ago

Oops, pylint gave apply_headers.py a 10/10 but I forgot that we're now running with a special flake8 setup. Let me bring things into compliance...

dbs commented 4 years ago

Hmm. Those test failures in pypy and py2.7 are... weird.

dbs commented 4 years ago

Ahh. py2.7 and pypy want the encoding declarations in (for example test/test_reader.py) to be the first line. Okay, I'll make that work...

dbs commented 4 years ago

And there was much rejoicing, as the build finally passes!

edsu commented 4 years ago

Awesome work @dbs! Thanks so much for focusing on the actual problem of properly crediting the many contributors to pymarc.