[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r179 - in trunk: checks testset testset/binary/debian testset/etcfiles/debian testset/filenames/debian testset/foo++/debian testset/maintainer-scripts/debian testset/non-us/debian testset/relations/debian testset/scripts/debian



Author: jeroen
Date: 2004-04-18 02:54:13 +0200 (Sun, 18 Apr 2004)
New Revision: 179

Modified:
   trunk/checks/changelog-file
   trunk/checks/nmu
   trunk/testset/binary/debian/changelog
   trunk/testset/binary/debian/control
   trunk/testset/etcfiles/debian/changelog
   trunk/testset/filenames/debian/changelog
   trunk/testset/foo++/debian/control
   trunk/testset/info_tags.binary
   trunk/testset/info_tags.empty
   trunk/testset/info_tags.foo++
   trunk/testset/info_tags.libbaz
   trunk/testset/info_tags.maintainer-scripts
   trunk/testset/info_tags.scripts
   trunk/testset/maintainer-scripts/debian/changelog
   trunk/testset/maintainer-scripts/debian/control
   trunk/testset/non-us/debian/control
   trunk/testset/relations/debian/changelog
   trunk/testset/relations/debian/control
   trunk/testset/relations/debian/rules
   trunk/testset/scripts/debian/changelog
   trunk/testset/scripts/debian/control
   trunk/testset/tags.binary
   trunk/testset/tags.empty
   trunk/testset/tags.filenames
   trunk/testset/tags.foo++
   trunk/testset/tags.libbaz
   trunk/testset/tags.maintainer-scripts
   trunk/testset/tags.scripts
Log:
Fix a lot of tests, added tests for NMU detection, and fix two bugs in the NMU
detection too.


Modified: trunk/checks/changelog-file
===================================================================
--- trunk/checks/changelog-file	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/checks/changelog-file	2004-04-18 00:54:13 UTC (rev 179)
@@ -142,6 +142,8 @@
 open(IN,"fields/version") or fail("cannot open fields/version file for reading: $!");
 chop(my $version = <IN>);
 close(IN);
+# FIXME: should do real native-checking, and then if version number is okay.
+# version number of -0.x for example can be either native or non-native...
 $native_pkg = ($version !~ m/-/);
 
 if ($native_pkg) {

Modified: trunk/checks/nmu
===================================================================
--- trunk/checks/nmu	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/checks/nmu	2004-04-18 00:54:13 UTC (rev 179)
@@ -65,10 +65,11 @@
 		if defined $uploaders;
 	print "W: $pkg $type: qa-upload-has-incorrect-version-number $version\n"
 		if $version_nmuness;
-	print "W: $pkg $type: changelog-should-mention-qa\n";
+	print "W: $pkg $type: changelog-should-mention-qa\n"
+		if !$changelog_mentions_qa;
 } else {
 	print "W: $pkg $type: changelog-should-mention-nmu\n"
-		if $upload_is_nmu || $version_nmuness;
+		if !$changelog_mentions_nmu && ($upload_is_nmu || $version_nmuness);
 	print "W: $pkg $type: source-nmu-has-incorrect-version-number $version\n"
 		if $upload_is_nmu && $version_nmuness != 1;
 	print "W: $pkg $type: maintainer-upload-has-incorrect-version-number $version\n"

Modified: trunk/testset/binary/debian/changelog
===================================================================
--- trunk/testset/binary/debian/changelog	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/binary/debian/changelog	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,3 +1,13 @@
+binary (4-1.1) unstable; urgency=low
+
+  * I'm doing an comaintainer-upload, but with a version number which suggests
+    I'm doing a NMU.
+
+    Lintian-maintainers: Please don't update this changelog, otherwise you'll
+    probably break the checks/nmu checks.
+
+ -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl>  Sun, 18 Apr 2004 01:49:42 +0200
+
 binary (4-1) unstable; urgency=low
 
   * Weird version number for the new check for accidents with native

Modified: trunk/testset/binary/debian/control
===================================================================
--- trunk/testset/binary/debian/control	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/binary/debian/control	2004-04-18 00:54:13 UTC (rev 179)
@@ -2,6 +2,7 @@
 Section: misc
 Priority: extra
 Maintainer: Lintian Maintainers <lintian-maint@debian.org>
+Uploaders: Co-maintainer one <one@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Co-maintainer three <three@debian.org>
 Standards-Version: 3.2.1
 
 Package: binary

Modified: trunk/testset/etcfiles/debian/changelog
===================================================================
--- trunk/testset/etcfiles/debian/changelog	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/etcfiles/debian/changelog	2004-04-18 00:54:13 UTC (rev 179)
@@ -2,5 +2,5 @@
 
   * initial setup
 
- -- Sean 'Shaleh' Perry <shaleh@debian.org>  Fri, 21 Sep 2001 11:56:02 -0700
+ -- Lintian Maintainers <lintian-maint@debian.org>  Fri, 21 Sep 2001 11:56:02 -0700
 

Modified: trunk/testset/filenames/debian/changelog
===================================================================
--- trunk/testset/filenames/debian/changelog	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/filenames/debian/changelog	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,3 +1,9 @@
+filenames (12-0.1) unstable; urgency=low
+
+  * /me is doing a correct NMU of this package.
+
+ -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl>  Sun, 18 Apr 2004 02:04:39 +0200
+
 filenames (11) unstable; urgency=low
 
   * Add a README.macos.

Modified: trunk/testset/foo++/debian/control
===================================================================
--- trunk/testset/foo++/debian/control	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/foo++/debian/control	2004-04-18 00:54:13 UTC (rev 179)
@@ -2,7 +2,7 @@
 Section: misc
 Priority: optional
 Maintainer: Lintian Maintainer <debian-qa@lists.debian.org>
-Uploaders: Jeroen van Wolffelaar<jeroen@localhost.localdomain>,
+Uploaders: Marc 'HE' Brockschmidt <he@unknown>, Jeroen van Wolffelaar<jeroen@localhost.localdomain>,
  Frank <djpig@debian.org>, Yama@gotchi, Josip, ,
  I am afraid of spam and think this helps <no_spam_please AT debian.org>
 Standards-Version: 3.1.1

Modified: trunk/testset/info_tags.binary
===================================================================
--- trunk/testset/info_tags.binary	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/info_tags.binary	2004-04-18 00:54:13 UTC (rev 179)
@@ -20,6 +20,18 @@
 N:   dpkg-source searches for this in
 N:   ../package_upstream-version.orig.tar.gz.
 N:
+W: binary source: changelog-should-mention-nmu
+N:
+N:   When you NMU a package, that fact should be mentioned on the first
+N:   line in the changelog entry.
+N:
+W: binary source: maintainer-upload-has-incorrect-version-number 4-1.1
+N:
+N:   A maintainer upload should have a Debian revision without dots.
+N:   Revisions with dots are reserverd for Non-Maintainer Uploads (NMU's),
+N:   if you do a maintainer-upload with dots, a potential NMU'er has
+N:   problems choosing a correct version number.
+N:
 E: binary: binary-without-manpage hello
 N:
 N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin, or /usr/games, must
@@ -36,21 +48,13 @@
 E: binary: binary-without-manpage hello-static
 E: binary: binary-without-manpage hello.static
 E: binary: binary-without-manpage static-hello
-I: binary: arch-dep-package-has-big-usr-share 1540kB 55%
-N:
-N:   The package has a significant amount of architecture-independent data
-N:   in /usr/share, while it is an architecture-dependent package. This is
-N:   wasteful of mirror space and bandwidth, as we then end up with
-N:   multiple copies of this data, one for each architecture.
-N:   
-N:   If the data in /usr/share is not architecture-independent, it is a
-N:   policy violation, and in this case, you should move that data
-N:   elsewhere.
-N:   
-N:   See also:
-N:   http://www.debian.org/doc/developers-reference/ch-best-pkging-practice
-N:   s#s-bpp-archindepdata
-N:
+I: binary: arch-dep-package-has-big-usr-share 1528kB 54%
+
+
+   SOMETHING WRONG HERE, description must be printed here... why isn't that
+   happening? --Jeroen
+
+
 W: binary: package-contains-upstream-install-documentation usr/share/doc/binary/INSTALL
 N:
 N:   Binary packages do not need to contain the instructions for building

Modified: trunk/testset/info_tags.empty
===================================================================
--- trunk/testset/info_tags.empty	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/info_tags.empty	2004-04-18 00:54:13 UTC (rev 179)
@@ -4,6 +4,17 @@
 N:   Please update your package to latest policy and set this control field
 N:   appropriately.
 N:
+W: empty source: changelog-should-mention-nmu
+N:
+N:   When you NMU a package, that fact should be mentioned on the first
+N:   line in the changelog entry.
+N:
+W: empty source: source-nmu-has-incorrect-version-number 1
+N:
+N:   A source NMU should have a Debian revision of '-x.x'. This is to
+N:   prevent stealing version numbers from the maintainer (and the -x.x.x
+N:   version numbers are reserved for binary-only NMU's).
+N:
 W: empty source: maintainer-not-full-name empty
 N:
 N:   The `name' part of this maintainer field is just one word, so it might

Modified: trunk/testset/info_tags.foo++
===================================================================
--- trunk/testset/info_tags.foo++	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/info_tags.foo++	2004-04-18 00:54:13 UTC (rev 179)
@@ -25,6 +25,13 @@
 N:   
 N:   Refer to Policy Manual, section 5.1 for details.
 N:
+E: foo++ source: uploader-address-malformed Marc 'HE' Brockschmidt <he@unknown>
+N:
+N:   The uploader field could not be parsed according to the rules in the
+N:   Policy Manual.
+N:   
+N:   Refer to Policy Manual, section 5.6.2 for details.
+N:
 W: foo++ source: uploader-address-looks-weird Jeroen van Wolffelaar<jeroen@localhost.localdomain>
 N:
 N:   The uploader address does not have whitespace between the name and the
@@ -50,12 +57,6 @@
 N:   Refer to Policy Manual, section 5.6.2 for details.
 N:
 E: foo++ source: uploader-address-malformed Yama@gotchi
-N:
-N:   The uploader field could not be parsed according to the rules in the
-N:   Policy Manual.
-N:   
-N:   Refer to Policy Manual, section 5.6.2 for details.
-N:
 W: foo++ source: uploader-not-full-name Josip
 E: foo++ source: uploader-address-missing Josip
 N:

Modified: trunk/testset/info_tags.libbaz
===================================================================
--- trunk/testset/info_tags.libbaz	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/info_tags.libbaz	2004-04-18 00:54:13 UTC (rev 179)
@@ -9,6 +9,40 @@
 N:   Standards-Version control field. However, please remember to update
 N:   this field next time you upload the package.
 N:
+W: libbaz source: changelog-should-mention-nmu
+N:
+N:   When you NMU a package, that fact should be mentioned on the first
+N:   line in the changelog entry.
+N:
+W: libbaz source: source-nmu-has-incorrect-version-number 1
+N:
+N:   A source NMU should have a Debian revision of '-x.x'. This is to
+N:   prevent stealing version numbers from the maintainer (and the -x.x.x
+N:   version numbers are reserved for binary-only NMU's).
+N:
+E: libbaz1-dev: usr-doc-symlink-without-dependency libbaz1
+N:
+N:   If the package installs a symbolic link /usr/share/doc/<pkg1> ->
+N:   <pkg2>, then <pkg1> has to depend on <pkg2> with the same version as
+N:   <pkg1>.
+N:   
+N:   Note, that adding the "Depends:" entry just to fix this bug is not a
+N:   good solution. It's suggested that you include a real
+N:   /usr/share/doc/<pkg1> directory within <pkg1> and copy the copyright
+N:   file into that directory.
+N:   
+N:   Refer to Policy Manual, section 12.5 for details.
+N:
+E: libbaz1: file-directly-in-usr-share-doc usr/share/doc/README.Debian
+N:
+N:   Documentation files have to be installed in /usr/share/doc/<pkg>
+N:   
+N:   Refer to Policy Manual, section 12.3 for details.
+N:
+W: libbaz1: zero-byte-file-in-doc-directory usr/share/doc/README.Debian
+N:
+N:   Package contains a file which is empty.
+N:
 W: libbaz1: postinst-should-not-set-usr-doc-link
 N:
 N:   The technical committee chose the symlink transition method to move

Modified: trunk/testset/info_tags.maintainer-scripts
===================================================================
--- trunk/testset/info_tags.maintainer-scripts	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/info_tags.maintainer-scripts	2004-04-18 00:54:13 UTC (rev 179)
@@ -9,21 +9,63 @@
 N:   Standards-Version control field. However, please remember to update
 N:   this field next time you upload the package.
 N:
+E: maintainer-scripts source: orphaned-package-should-not-have-uploaders
+N:
+N:   Packages which their maintainer set to packages@qa.debian.org, i.e.
+N:   orphaned packages, should not have uploaders. Properly adopt the
+N:   package if you want to resume its maintainance.
+N:
+W: maintainer-scripts source: qa-upload-has-incorrect-version-number 7-0.1
+N:
+N:   A QA upload (uploading an orphaned package without adopting it) is
+N:   always a maintainer upload: it should not get a NMU revision number.
+N:
+W: maintainer-scripts source: changelog-should-mention-qa
+N:
+N:   If this upload is to orphan this package, please mention this fact on
+N:   the first line of the changelog. If this is a QA upload, please
+N:   mention "QA (group) upload" there.
+N:
+E: maintainer-scripts source: wrong-debian-qa-group-name QA group <packages@qa.debian.org>
+N:
+N:   Orphaned packages should have "Debian QA Group
+N:   <packages@qa.debian.org>" in the maintainer field.
+N:   
+N:   Refer to Developers Reference, section 5.9.4 for details.
+N:
 W: maintainer-scripts: postinst-should-not-set-usr-doc-link
 N:
 N:   The technical committee chose the symlink transition method to move
 N:   from FSSTND to FHS. That transition has been completed with woody and
 N:   thus this link is no longer required.
 N:
-W: maintainer-scripts: postrm-has-useless-call-to-ldconfig
+W: maintainer-scripts: update-alternatives-remove-called-in-postrm
 N:
-N:   The postrm script calls ldconfig even though no shared libraries are
-N:   installed in a directory controlled by the dynamic library loader.
+N:   'update-alternatives --remove foo' is called in the postrm. This can
+N:   be dangerous because at the time the postrm is executed foo has
+N:   already been deleted and update-alternatives will ignore it while
+N:   constructing its list of available alternatives. Then, if the
+N:   /etc/alternatives symlink points at foo, update-alternatives won't
+N:   recognize it and will mark the symlink as something site-specific. As
+N:   such, the symlink will no longer be updated automatically and will be
+N:   left dangling until `update-alternatives --auto ' is run by hand.
 N:   
-N:   Refer to Policy Manual, section 8.1.1 for details.
+N:   update-alternatives --remove should be called in the prerm instead.
+N:   
+N:   If the postrm is the right place for what the package is doing, then
+N:   please email lintian-maint@debian.org about it so that this exception
+N:   would be recognized in future versions of Lintian.
 N:
-W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:12 '. /usr/share/lintian/shell foo'
+E: maintainer-scripts: maintainer-shell-script-fails-syntax-check prerm
 N:
+N:   Running this shell script with the shell's -n option set fails, which
+N:   means that the script has syntax errors. This will likely make the
+N:   package uninstallable.
+N:   
+N:   Run e.g. sh -n yourscript to see the errors yourself.
+N:
+W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:19 '[ "$2" == '
+N:
 N:   This script is marked as running under /bin/sh, but it seems to use a
 N:   feature found in bash.
 N:   
@@ -34,38 +76,20 @@
 N:   
 N:   Refer to Policy Manual, section 10.4 for details.
 N:
+W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:23 'function foo( )'
+W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:27 'source $FOO'
+W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:12 '. /usr/share/lintian/shell foo'
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:15 'read'
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:17 'H[0]='
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:18 '${H[0]}'
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:20 '${H[@]}'
-E: maintainer-scripts: maintainer-shell-script-fails-syntax-check prerm
+W: maintainer-scripts: postrm-has-useless-call-to-ldconfig
 N:
-N:   Running this shell script with the shell's -n option set fails, which
-N:   means that the script has syntax errors. This will likely make the
-N:   package uninstallable.
+N:   The postrm script calls ldconfig even though no shared libraries are
+N:   installed in a directory controlled by the dynamic library loader.
 N:   
-N:   Run e.g. sh -n yourscript to see the errors yourself.
+N:   Refer to Policy Manual, section 8.1.1 for details.
 N:
-W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:19 '[ "$2" == '
-W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:23 'function foo( )'
-W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:27 'source $FOO'
-W: maintainer-scripts: update-alternatives-remove-called-in-postrm
-N:
-N:   'update-alternatives --remove foo' is called in the postrm. This can
-N:   be dangerous because at the time the postrm is executed foo has
-N:   already been deleted and update-alternatives will ignore it while
-N:   constructing its list of available alternatives. Then, if the
-N:   /etc/alternatives symlink points at foo, update-alternatives won't
-N:   recognize it and will mark the symlink as something site-specific. As
-N:   such, the symlink will no longer be updated automatically and will be
-N:   left dangling until `update-alternatives --auto ' is run by hand.
-N:   
-N:   update-alternatives --remove should be called in the prerm instead.
-N:   
-N:   If the postrm is the right place for what the package is doing, then
-N:   please email lintian-maint@debian.org about it so that this exception
-N:   would be recognized in future versions of Lintian.
-N:
 E: maintainer-scripts: no-copyright-file
 N:
 N:   Each binary package has to include a plain file
@@ -73,3 +97,12 @@
 N:   
 N:   Refer to Policy Manual, section 12.5 for details.
 N:
+E: maintainer-scripts: wrong-debian-qa-group-name QA group <packages@qa.debian.org>
+E: maintainer-scripts: debian-changelog-file-missing
+N:
+N:   Each Debian package (which provides a /usr/share/doc/<pkg> directory)
+N:   has to install a Debian changelog file
+N:   /usr/share/doc/<pkg>/changelog.Debian.gz
+N:   
+N:   Refer to Policy Manual, section 12.7 for details.
+N:

Modified: trunk/testset/info_tags.scripts
===================================================================
--- trunk/testset/info_tags.scripts	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/info_tags.scripts	2004-04-18 00:54:13 UTC (rev 179)
@@ -9,6 +9,17 @@
 N:   Standards-Version control field. However, please remember to update
 N:   this field next time you upload the package.
 N:
+W: scripts source: changelog-should-mention-nmu
+N:
+N:   When you NMU a package, that fact should be mentioned on the first
+N:   line in the changelog entry.
+N:
+W: scripts source: source-nmu-has-incorrect-version-number 5
+N:
+N:   A source NMU should have a Debian revision of '-x.x'. This is to
+N:   prevent stealing version numbers from the maintainer (and the -x.x.x
+N:   version numbers are reserved for binary-only NMU's).
+N:
 E: scripts: binary-without-manpage perlfoo
 N:
 N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin, or /usr/games, must

Modified: trunk/testset/maintainer-scripts/debian/changelog
===================================================================
--- trunk/testset/maintainer-scripts/debian/changelog	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/maintainer-scripts/debian/changelog	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,3 +1,10 @@
+maintainer-scripts (7-0.1) unstable; urgency=low
+
+  * Doing an upload for QA  but I fail to give it a correct version number,
+    have some uploaders, and also fail to mention it... Bad me ;)
+
+ -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl>  Sun, 18 Apr 2004 02:05:29 +0200
+
 maintainer-scripts (6) unstable; urgency=low
 
   * added ldconfig calls to postrm to check test the postrm tests

Modified: trunk/testset/maintainer-scripts/debian/control
===================================================================
--- trunk/testset/maintainer-scripts/debian/control	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/maintainer-scripts/debian/control	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,7 +1,8 @@
 Source: maintainer-scripts
 Section: misc
 Priority: optional
-Maintainer: Lintian Maintainer <lintian-maint@debian.org>
+Maintainer: QA group <packages@qa.debian.org>
+Uploaders: Anyone but Jeroen <jeroen@wolffelaar.nl>
 Standards-Version: 3.1.1
 
 Package: maintainer-scripts

Modified: trunk/testset/non-us/debian/control
===================================================================
--- trunk/testset/non-us/debian/control	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/non-us/debian/control	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,6 +1,7 @@
 Source: non-us
 Priority: optional
 Maintainer: Lintian Maintainer <lintian-maint@debian.org>
+Uploaders: Sean 'Shaleh' Perry <shaleh@debian.org>
 Standards-Version: 3.1.1
 
 Package: patented-app

Modified: trunk/testset/relations/debian/changelog
===================================================================
--- trunk/testset/relations/debian/changelog	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/relations/debian/changelog	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,3 +1,10 @@
+relations (5) unstable; urgency=low
+
+  * I'm orphaning this package -- I'm sick of it: it's completely broken,
+    lintian complains all over the place.
+
+ -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl>  Sun, 18 Apr 2004 02:08:41 +0200
+
 relations (4) unstable; urgency=low
 
   * Added a package that tests dependencies for multiple versions of

Modified: trunk/testset/relations/debian/control
===================================================================
--- trunk/testset/relations/debian/control	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/relations/debian/control	2004-04-18 00:54:13 UTC (rev 179)
@@ -2,7 +2,7 @@
 Section: misc
 Priority: optional
 Build-Depends: foo (>> 2) bar baz bat
-Maintainer: Lintian Maintainer <lintian-maint@debian.org>
+Maintainer: Debian QA Group <packages@qa.debian.org>
 Standards-Version: 3.1.1
 Origin: Debian
 Bugs: foobar

Modified: trunk/testset/relations/debian/rules
===================================================================
--- trunk/testset/relations/debian/rules	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/relations/debian/rules	2004-04-18 00:54:13 UTC (rev 179)
@@ -25,11 +25,11 @@
 binary-indep:
 	install -d debian/tmp/DEBIAN
 	dpkg-gencontrol -prelations -isp
-	dpkg --build debian/tmp ../relations_4_all.deb
+	dpkg --build debian/tmp ../relations_5_all.deb
 	install -d debian/tmp/usr/share/doc/
 	ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs
 	dpkg-gencontrol -prelations-multiple-libs -isp
-	dpkg --build debian/tmp ../relations-multiple-libs_4_all.deb
+	dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb
 
 binary: binary-arch binary-indep
 

Modified: trunk/testset/scripts/debian/changelog
===================================================================
--- trunk/testset/scripts/debian/changelog	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/scripts/debian/changelog	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,3 +1,10 @@
+scripts (5) unstable; urgency=low
+
+  * I'm making a typo in my own name... And I want lintian to warn me about
+    it.
+
+ -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl>  Sun, 18 Apr 2004 02:26:34 +0200
+
 scripts (4) unstable; urgency=low
 
   * Add new example to check that not executable files with a shebang line

Modified: trunk/testset/scripts/debian/control
===================================================================
--- trunk/testset/scripts/debian/control	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/scripts/debian/control	2004-04-18 00:54:13 UTC (rev 179)
@@ -2,6 +2,7 @@
 Section: interpreters
 Priority: extra
 Maintainer: Lintian Maintainers <lintian-maint@debian.org>
+Uploaders: Jeroen van Wolfelaar <jeroen@wolffelaar.nl>
 Standards-Version: 3.2.1
 
 Package: scripts

Modified: trunk/testset/tags.binary
===================================================================
--- trunk/testset/tags.binary	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/tags.binary	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,10 +1,12 @@
 W: binary source: ancient-standards-version 3.2.1
 W: binary source: native-package-with-dash-version
+W: binary source: changelog-should-mention-nmu
+W: binary source: maintainer-upload-has-incorrect-version-number 4-1.1
 E: binary: binary-without-manpage hello
 E: binary: binary-without-manpage hello-static
 E: binary: binary-without-manpage hello.static
 E: binary: binary-without-manpage static-hello
-I: binary: arch-dep-package-has-big-usr-share 1540kB 55%
+I: binary: arch-dep-package-has-big-usr-share 1528kB 54%
 W: binary: package-contains-upstream-install-documentation usr/share/doc/binary/INSTALL
 E: binary: postinst-does-not-call-updatemenus usr/lib/menu/binary
 E: binary: postrm-does-not-call-updatemenus usr/lib/menu/binary

Modified: trunk/testset/tags.empty
===================================================================
--- trunk/testset/tags.empty	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/tags.empty	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,4 +1,6 @@
 E: empty source: no-standards-version-field
+W: empty source: changelog-should-mention-nmu
+W: empty source: source-nmu-has-incorrect-version-number 1
 W: empty source: maintainer-not-full-name empty
 E: empty source: maintainer-address-missing empty
 E: empty: no-copyright-file

Modified: trunk/testset/tags.filenames
===================================================================
--- trunk/testset/tags.filenames	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/tags.filenames	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,8 +1,8 @@
 W: filenames source: ancient-standards-version 3.1.1
+W: filenames source: source-contains-CVS-dir CVS
+W: filenames source: svn-commit-file-in-source files/svn-commit.tmp
+W: filenames source: cvsignore-file-in-source files/.cvsignore
 W: filenames source: source-contains-svn-control-dir .svn
-W: filenames source: cvsignore-file-in-source files/.cvsignore
-W: filenames source: svn-commit-file-in-source files/svn-commit.tmp
-W: filenames source: source-contains-CVS-dir CVS
 E: filenames: binary-without-manpage testxbin
 E: filenames: binary-without-manpage testxbin2
 E: filenames: non-standard-toplevel-dir files/
@@ -11,9 +11,9 @@
 W: filenames: file-in-unusual-dir files/ .tif
 W: filenames: file-in-unusual-dir files/".tif
 W: filenames: file-in-unusual-dir files/'\\ 
-W: filenames: file-in-unusual-dir files/Maelstrom Sound
 W: filenames: file-in-unusual-dir files/svn-commit.tmp
 W: filenames: svn-commit-file-in-package files/svn-commit.tmp
+W: filenames: file-in-unusual-dir files/Maelstrom Sound
 E: filenames: package-installs-packlist usr/lib/perl5/foo/.packlist
 E: filenames: package-contains-ancient-file usr/lib/perl5/foo/ancient.pm 1975-01-01
 W: filenames: package-contains-svn-control-dir usr/lib/perl5/.svn/
@@ -54,3 +54,4 @@
 E: filenames: no-copyright-file
 W: filenames: no-section-field
 W: filenames: no-priority-field
+E: filenames: debian-changelog-file-missing <<<< FALSE POSITIVE

Modified: trunk/testset/tags.foo++
===================================================================
--- trunk/testset/tags.foo++	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/tags.foo++	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,6 +1,7 @@
 W: foo++ source: ancient-standards-version 3.1.1
 E: foo++ source: wrong-debian-qa-address-set-as-maintainer Lintian Maintainer <debian-qa@lists.debian.org>
 E: foo++ source: multiline-field uploaders
+E: foo++ source: uploader-address-malformed Marc 'HE' Brockschmidt <he@unknown>
 W: foo++ source: uploader-address-looks-weird Jeroen van Wolffelaar<jeroen@localhost.localdomain>
 E: foo++ source: uploader-address-is-on-localhost Jeroen van Wolffelaar<jeroen@localhost.localdomain>
 W: foo++ source: uploader-not-full-name Frank

Modified: trunk/testset/tags.libbaz
===================================================================
--- trunk/testset/tags.libbaz	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/tags.libbaz	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,3 +1,8 @@
 W: libbaz source: ancient-standards-version 3.2.1
+W: libbaz source: changelog-should-mention-nmu
+W: libbaz source: source-nmu-has-incorrect-version-number 1
+E: libbaz1-dev: usr-doc-symlink-without-dependency libbaz1
+E: libbaz1: file-directly-in-usr-share-doc usr/share/doc/README.Debian
+W: libbaz1: zero-byte-file-in-doc-directory usr/share/doc/README.Debian
 W: libbaz1: postinst-should-not-set-usr-doc-link
 E: libbaz1: maintainer-shell-script-fails-syntax-check postinst

Modified: trunk/testset/tags.maintainer-scripts
===================================================================
--- trunk/testset/tags.maintainer-scripts	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/tags.maintainer-scripts	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,14 +1,20 @@
 W: maintainer-scripts source: ancient-standards-version 3.1.1
+E: maintainer-scripts source: orphaned-package-should-not-have-uploaders
+W: maintainer-scripts source: qa-upload-has-incorrect-version-number 7-0.1
+W: maintainer-scripts source: changelog-should-mention-qa
+E: maintainer-scripts source: wrong-debian-qa-group-name QA group <packages@qa.debian.org>
 W: maintainer-scripts: postinst-should-not-set-usr-doc-link
-W: maintainer-scripts: postrm-has-useless-call-to-ldconfig
+W: maintainer-scripts: update-alternatives-remove-called-in-postrm
+E: maintainer-scripts: maintainer-shell-script-fails-syntax-check prerm
+W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:19 '[ "$2" == '
+W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:23 'function foo( )'
+W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:27 'source $FOO'
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:12 '. /usr/share/lintian/shell foo'
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:15 'read'
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:17 'H[0]='
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:18 '${H[0]}'
 W: maintainer-scripts: possible-bashism-in-maintainer-script postinst:20 '${H[@]}'
-E: maintainer-scripts: maintainer-shell-script-fails-syntax-check prerm
-W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:19 '[ "$2" == '
-W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:23 'function foo( )'
-W: maintainer-scripts: possible-bashism-in-maintainer-script prerm:27 'source $FOO'
-W: maintainer-scripts: update-alternatives-remove-called-in-postrm
+W: maintainer-scripts: postrm-has-useless-call-to-ldconfig
 E: maintainer-scripts: no-copyright-file
+E: maintainer-scripts: wrong-debian-qa-group-name QA group <packages@qa.debian.org>
+E: maintainer-scripts: debian-changelog-file-missing <<<< Is false positive, this is version -0.1

Modified: trunk/testset/tags.scripts
===================================================================
--- trunk/testset/tags.scripts	2004-04-17 23:39:58 UTC (rev 178)
+++ trunk/testset/tags.scripts	2004-04-18 00:54:13 UTC (rev 179)
@@ -1,4 +1,6 @@
 W: scripts source: ancient-standards-version 3.2.1
+W: scripts source: changelog-should-mention-nmu
+W: scripts source: source-nmu-has-incorrect-version-number 5
 E: scripts: binary-without-manpage perlfoo
 E: scripts: binary-without-manpage py2foo
 E: scripts: binary-without-manpage pyfoo



Reply to: