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
---
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
* 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
* 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
* 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
* 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.
* 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
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
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
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
10 matches
Mail list logo