summaryrefslogtreecommitdiff
path: root/scripts/check-copyright-year
Commit message (Collapse)AuthorAgeFilesLines
* check-copyright-year: Check author date instead of commiter datePedro Alvarez2016-02-131-2/+2
| | | | | | | Now if a patch is sent to review, on year 20xx, and then merged on year 20xx+1, the script will check the former instead of the latter. Change-Id: I5bb9ac05f1fb3fa4a51a051351e754c524897ea1
* Install licensecheck.pl with morphlibAdam Coldrick2015-04-291-1/+1
| | | | Change-Id: If1b156a309236956d7a35136db35a8fd0ab3ad71
* Ignore files in the copyright check scriptAdam Coldrick2015-03-241-0/+4
| | | | | | | Add the ability to ignore files when checking copyright years, and start ignoring the COPYING file. Change-Id: I0cc11456f896e27458357ab0c5729223c71b406e
* Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-161-3/+2
| | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
* Improve check-copyright-year error reportingRichard Ipsum2014-04-251-9/+9
| | | | Be more verbose and exit with an error not an exception.
* check-copyright-year: Use current date for uncommitted changesRichard Maw2014-03-191-3/+20
|
* python scripts: pep8ize codebaseRichard Maw2012-08-011-7/+6
| | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* Fix copyright year checking in ./check to not fail with uncommitted filesLars Wirzenius2012-03-221-0/+8
|
* formatting: fix overly wide codeRichard Maw2012-03-191-1/+2
|
* check: fix copyright script for merge commitsRichard Maw2012-03-191-5/+3
| | | | | | | | | | The last commit of a file can be a merge Merge commits have their date on a different line because it displays information about which branches merged Instead of relying on this fragile 'porcelain' format, specify that we only want the last commit's committer date and split the year from that output
* Add script to check years in copyright statements against git commit datesLars Wirzenius2012-02-271-0/+86