On 2011-08-13 00:57, Jakub Wilk wrote: > * Niels Thykier <[email protected]>, 2011-07-18, 00:34: >>> I attached a (preliminary?) patch adding support for very basic DEP-5 >>> validation. Beware, tag descriptions could use some love. ;) >> >> Hi >> >> Thanks for looking into this. >> >> Personally I am considering if this should be moved into its own check. >> While it is related to the copyright-file check I think a DEP-5 check >> could easily deserve its own check file. >> Particularly it may keep the logic simple(r) and the DEP-5 check will >> most likely be extended in the future (e.g. to check the other >> paragraphs). > > As far as I can see, lintian currently checks only copyright files in > binary packages, not in source packages. However, to properly validate a > DEP-5 copyright file, you need access the source package. So perhaps > it'd make sense to have a source-copyright-file check and move DEP-5 > stuff there? >
Hey, That could work; alternatively you can use the "$type" parameter for the check to check if you are run on a source package. Obviously that will require updating Type in checks/copyright-file.desc and possibly also "Needs-Info". Feel free to add a new separate check if that results in more maintainable code. :) ~Niels -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

