lintian: r1321 - in trunk: checks debian testset testset/copyright/debian
Author: djpig
Date: 2008-05-20 22:03:44 +0200 (Tue, 20 May 2008)
New Revision: 1321
Modified:
trunk/checks/copyright-file
trunk/checks/copyright-file.desc
trunk/debian/changelog
trunk/testset/copyright/debian/copyright.misc-errors
trunk/testset/tags.copyright
Log:
* checks/copyright-file{,.desc}:
+ New check for example URL from dh-make. Based on
a patch by Michal ?\196?\140iha?\197?\153. (Closes: #481368)
Modified: trunk/checks/copyright-file
===================================================================
--- trunk/checks/copyright-file 2008-05-20 10:09:31 UTC (rev 1320)
+++ trunk/checks/copyright-file 2008-05-20 20:03:44 UTC (rev 1321)
@@ -236,6 +236,10 @@
tag "copyright-lists-upstream-authors-with-dh_make-boilerplate";
}
+if (m,url://example\.com,) {
+ tag "copyright-has-url-from-dh_make-boilerplate";
+}
+
if (m{\# Please also look if there are files or directories which have a\n\# different copyright/license attached and list them here\.}) {
tag "copyright-contains-dh_make-todo-boilerplate", "";
}
Modified: trunk/checks/copyright-file.desc
===================================================================
--- trunk/checks/copyright-file.desc 2008-05-20 10:09:31 UTC (rev 1320)
+++ trunk/checks/copyright-file.desc 2008-05-20 20:03:44 UTC (rev 1321)
@@ -186,6 +186,15 @@
.
o/~ join us now and carefully edit debian/copyright files! o/~
+Tag: copyright-has-url-from-dh_make-boilerplate
+Type: warning
+Ref: 12.5
+Info: There is "url://example.com" in your copyright file. This was most
+ likely a remnant from the dh_make template.
+ .
+ Make sure you include the real location where you obtained the
+ upstream sources (if any).
+
Tag: debian-copyright-file-uses-obsolete-national-encoding
Type: warning
Info: The Debian copyright file should be valid UTF-8, an encoding of
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-05-20 10:09:31 UTC (rev 1320)
+++ trunk/debian/changelog 2008-05-20 20:03:44 UTC (rev 1321)
@@ -6,6 +6,8 @@
that criterion. (Closes: #480636)
* checks/copyright-file{,.desc}:
+ [FL] Implement new check for dh-make-perl boilerplate.
+ + [FL] New check for example URL from dh-make. Based on
+ a patch by Michal Čihař. (Closes: #481368)
* checks/debhelper:
+ [FL] dh_lintian needs debhelper >= 6.0.7. Patch by David Paleino.
(Closes: #479088)
Modified: trunk/testset/copyright/debian/copyright.misc-errors
===================================================================
--- trunk/testset/copyright/debian/copyright.misc-errors 2008-05-20 10:09:31 UTC (rev 1320)
+++ trunk/testset/copyright/debian/copyright.misc-errors 2008-05-20 20:03:44 UTC (rev 1321)
@@ -1,5 +1,7 @@
This copyright file contains several errors.
+Downloaded from <url://example.com>
+
You should not use the template for
Upstream Author(s): Tobias
Copyright 2008 Tobias
Modified: trunk/testset/tags.copyright
===================================================================
--- trunk/testset/tags.copyright 2008-05-20 10:09:31 UTC (rev 1320)
+++ trunk/testset/tags.copyright 2008-05-20 20:03:44 UTC (rev 1321)
@@ -13,6 +13,7 @@
W: copyright.compressed: copyright-without-copyright-notice
W: copyright.iso-8859-1: debian-copyright-file-uses-obsolete-national-encoding at line 3
W: copyright.misc-errors: copyright-contains-dh-make-perl-boilerplate
+W: copyright.misc-errors: copyright-has-url-from-dh_make-boilerplate
W: copyright.misc-errors: copyright-lists-upstream-authors-with-dh_make-boilerplate
W: copyright.old-style: copyright-without-copyright-notice
W: copyright.symlink: copyright-without-copyright-notice
Reply to: