Re: DEP-5: an example parser, choice of syntax for Files:
apologies, i didn't find this thread until i talked on #debian-devel today,
so um... i wrote my own :)
http://pyjamas.svn.sourceforge.net/viewvc/pyjamas/trunk/contrib/copyright_check.py?view=log
pyjamas has 2,000 files, from a wide range of projects and sources:
(fckeditor, python, random win32 mailing lists to name a few)) i sure as
s**t wasn't going to check them manually. so i wrote copyright_check.py
it's designed to match the debian/copyright file with the files that it
finds in the "Files: " sections, looking for their copyright notices (as
best can be found), then doing fuzzy-matching on the authors listed in the
debian/copyright sections and those *actually* found in the files.
[licensecheck would be a nice-to-have addition to the mix].
somehow, despite my boolean-logic dyslexia, i think i managed to print out
only those copyright holders found _not_ listed in the debian/copyright
file.
there are limitations (listed at the top of the file) but copyright_check.py
even managed to find the copyright holders listed in some .gif files.
anyway - i'm happy to use this for pyjamas: it's made available to anyone
else who might want to do something with it.
l.
--
View this message in context: http://www.nabble.com/DEP-5%3A-an-example-parser%2C-choice-of-syntax-for-Files%3A-tp25428186p25530132.html
Sent from the Debian Devel mailing list archive at Nabble.com.
Reply to: