Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-08-28 Thread Jakub Wilk
The attached patch fixes a minor bug. Without it, a format like http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markuppathrev=174 would trigger unversioned-copyright-format-uri. -- Jakub Wilk diff --git a/checks/source-copyright b/checks/source-copyright ---

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-08-22 Thread Niels Thykier
On 2011-08-21 20:50, Jakub Wilk wrote: * Jakub Wilk jw...@debian.org, 2011-08-15, 00:36: Feel free to add a new separate check if that results in more maintainable code. :) Okay, updated patch attached. I renamed the check to source-copyright (from source-copyright-file, which was too

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-08-22 Thread Jakub Wilk
* Niels Thykier ni...@thykier.net, 2011-08-22, 10:53: I renamed the check to source-copyright (from source-copyright-file, which was too long :P), fixed a few minor bugs, added tests. Hey. --- a/t/COVERAGE +++ b/t/COVERAGE @@ -1,5 +1,5 @@ -Last generated 2011-08-17 -Coverage: 697/915

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-08-21 Thread Jakub Wilk
* Jakub Wilk jw...@debian.org, 2011-08-15, 00:36: Feel free to add a new separate check if that results in more maintainable code. :) Okay, updated patch attached. I renamed the check to source-copyright (from source-copyright-file, which was too long :P), fixed a few minor bugs, added

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-08-14 Thread Jakub Wilk
* Niels Thykier ni...@thykier.net, 2011-08-13, 13:20: Feel free to add a new separate check if that results in more maintainable code. :) Okay, updated patch attached. -- Jakub Wilk diff --git a/checks/source-copyright-file b/checks/source-copyright-file new file mode 100644 --- /dev/null

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-08-12 Thread Jakub Wilk
* Niels Thykier ni...@thykier.net, 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.

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-07-18 Thread Jakub Wilk
* Jakub Wilk jw...@debian.org, 2011-07-17, 23:38: + elsif ($uri =~ m,^http://www\.debian\.org/doc/(packaging-manuals/?)copyright-format/(\d+.\d+)$,) { The regex here should be of course: m,^http://www\.debian\.org/doc/(?:packaging-manuals/)?copyright-format/(\d+\.\d+)$, -- Jakub Wilk

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-07-17 Thread Jakub Wilk
I attached a (preliminary?) patch adding support for very basic DEP-5 validation. Beware, tag descriptions could use some love. ;) -- Jakub Wilk diff --git a/checks/copyright-file b/checks/copyright-file --- a/checks/copyright-file +++ b/checks/copyright-file @@ -24,6 +24,7 @@ use

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-07-17 Thread Niels Thykier
On 2011-07-17 23:38, Jakub Wilk wrote: 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

Bug#633779: lintian: validate DEP-5 debian/copyright files

2011-07-13 Thread Jakub Wilk
Package: lintian Version: 2.5.1 Severity: wishlist I observe that quite often debian/copyright files that declare they are DEP-5-compliant, does not really follow the specification. It would be nice if lintian could warn if this is the case. Even throwing a generic control file parser at the