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

lintian: r857 - in trunk: checks debian testset testset/filenames/debian



Author: rra
Date: 2007-04-25 01:52:41 +0200 (Wed, 25 Apr 2007)
New Revision: 857

Modified:
   trunk/checks/cruft
   trunk/checks/cruft.desc
   trunk/checks/files
   trunk/checks/files.desc
   trunk/debian/changelog
   trunk/testset/filenames/debian/rules
   trunk/testset/tags.filenames
Log:
* checks/cruft{.desc,}:
  + [RA] Check for svk commit message files.
* checks/files{.desc,}:
  + [RA] Check for svk commit message files.

Modified: trunk/checks/cruft
===================================================================
--- trunk/checks/cruft	2007-04-24 22:58:08 UTC (rev 856)
+++ trunk/checks/cruft	2007-04-24 23:52:41 UTC (rev 857)
@@ -97,6 +97,8 @@
     # More or less copied from files, but this time it checks the source
     if ($name =~ m,^(.+/)?svn-commit\.(.+\.)?tmp$,) {
 	tag "svn-commit-file-in-source", "$name";
+    } elsif ($name =~ m,^(.+/)?svk-commit.+\.tmp$,) {
+        tag "svk-commit-file-in-source", "$name";
     } elsif ($name =~ m,^(.+/)?\.arch-inventory$,) {
 	tag "arch-inventory-file-in-source", "$name";
     } elsif ($name =~ m,^(.+/)?\.\#(.+?)\.\d+(\.\d+)*$,) {

Modified: trunk/checks/cruft.desc
===================================================================
--- trunk/checks/cruft.desc	2007-04-24 22:58:08 UTC (rev 856)
+++ trunk/checks/cruft.desc	2007-04-24 23:52:41 UTC (rev 857)
@@ -50,6 +50,12 @@
  almost certainly a left-over from a failed Subversion commit, and does not
  belong in a Debian package.
 
+Tag: svk-commit-file-in-source
+Type: warning
+Info: Package source contains a 'svk-commitNNN.tmp' file.  This file is
+ almost certainly a left-over from a failed svk commit, and does not
+ belong in a Debian package.
+
 Tag: arch-inventory-file-in-source
 Type: info
 Info: Package contains a '.arch-inventory' file.  It may have been included by

Modified: trunk/checks/files
===================================================================
--- trunk/checks/files	2007-04-24 22:58:08 UTC (rev 856)
+++ trunk/checks/files	2007-04-24 23:52:41 UTC (rev 857)
@@ -535,10 +535,13 @@
 	    tag "arch-inventory-file-in-package", "$file";
 	}
 
-	# ---------------- subversion commit message backups
+	# ---------------- subversion and svk commit message backups
 	if ($file =~ m/svn-commit.*\.tmp$/) {
 	    tag "svn-commit-file-in-package", "$file";
 	}
+	if ($file =~ m/svk-commit.+\.tmp$/) {
+	    tag "svk-commit-file-in-package", "$file";
+	}
 
 	# ---------------- executables with language extensions
 	if ($file =~ m,^(usr/)?(s?bin|games)/[^/]+\.(pl|sh|py)$,) {

Modified: trunk/checks/files.desc
===================================================================
--- trunk/checks/files.desc	2007-04-24 22:58:08 UTC (rev 856)
+++ trunk/checks/files.desc	2007-04-24 23:52:41 UTC (rev 857)
@@ -566,6 +566,12 @@
  certainly a left-over from a failed Subversion commit, and does not belong
  in a Debian package.
 
+Tag: svk-commit-file-in-package
+Type: warning
+Info: Package contains a 'svk-commitNNN.tmp' file.  This file is almost
+ certainly a left-over from a failed Subversion commit, and does not belong
+ in a Debian package.
+
 Tag: nested-examples-directory
 Type: error
 Info: Package contains a <tt>usr/share/doc/something/examples/examples</tt>

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-04-24 22:58:08 UTC (rev 856)
+++ trunk/debian/changelog	2007-04-24 23:52:41 UTC (rev 857)
@@ -8,12 +8,16 @@
     + [RA] Exclude the Affero General Public License from the check for
       references to the shared GPL copy.  (Closes: #420077)
     + [RA] Replace yet another hand-rolled dependency parser with Dep.
+  * checks/cruft{.desc,}:
+    + [RA] Check for svk commit message files.
   * checks/fields:
     + [RA] The CDBS Python rules only call pycentral or pysupport during
       the binary targets, so those dependencies can be safely moved to
       Build-Depends-Indep.  Still allow them in Build-Depends, though,
       since that's where CDBS likes to put them.  Thanks, Tristan
       Seligmann.  (Closes: #420526)
+  * checks/files{.desc,}:
+    + [RA] Check for svk commit message files.
   * checks/md5sums:
     + [RA] Don't warn about a missing md5sums file if the package contains
       nothing for which we would generate an MD5 checksum.  Thanks,
@@ -28,7 +32,7 @@
       program its maintainer scripts use.  Thanks, Daniel Leidert.
       (Closes: #419461)
 
- -- Russ Allbery <rra@debian.org>  Tue, 24 Apr 2007 15:58:03 -0700
+ -- Russ Allbery <rra@debian.org>  Tue, 24 Apr 2007 16:45:04 -0700
 
 lintian (1.23.29) unstable; urgency=low
 

Modified: trunk/testset/filenames/debian/rules
===================================================================
--- trunk/testset/filenames/debian/rules	2007-04-24 22:58:08 UTC (rev 856)
+++ trunk/testset/filenames/debian/rules	2007-04-24 23:52:41 UTC (rev 857)
@@ -20,7 +20,7 @@
 
 clean:
 	mkdir -p .svn CVS "{arch}" .arch-ids .bzr
-	touch files/.cvsignore files/svn-commit.tmp
+	touch files/.cvsignore files/svn-commit.tmp files/svk-commitsEr9P.tmp
 	touch files/.arch-inventory
 	touch 'files/.#Maelstrom Sound.1.1.1' 'files/Maelstrom Sounce.r121'
 	touch 'files/Maelstrom Sound.mine'

Modified: trunk/testset/tags.filenames
===================================================================
--- trunk/testset/tags.filenames	2007-04-24 22:58:08 UTC (rev 856)
+++ trunk/testset/tags.filenames	2007-04-24 23:52:41 UTC (rev 857)
@@ -38,6 +38,7 @@
 W: filenames source: source-contains-svn-conflict-copy files/Maelstrom Sounce.r121
 W: filenames source: source-contains-svn-conflict-copy files/Maelstrom Sound.mine
 W: filenames source: source-contains-svn-control-dir .svn
+W: filenames source: svk-commit-file-in-source files/svk-commitsEr9P.tmp
 W: filenames source: svn-commit-file-in-source files/svn-commit.tmp
 W: filenames: arch-inventory-file-in-package files/.arch-inventory
 W: filenames: bad-permissions-for-ali-file usr/lib/ada/adalib/test.ali
@@ -59,6 +60,7 @@
 W: filenames: file-in-unusual-dir files/Maelstrom Sounce.r121
 W: filenames: file-in-unusual-dir files/Maelstrom Sound
 W: filenames: file-in-unusual-dir files/Maelstrom Sound.mine
+W: filenames: file-in-unusual-dir files/svk-commitsEr9P.tmp
 W: filenames: file-in-unusual-dir files/svn-commit.tmp
 W: filenames: file-in-unusual-dir srv/foo/bar
 W: filenames: menu-file-in-usr-lib usr/lib/menu/menu
@@ -74,6 +76,7 @@
 W: filenames: package-installs-into-etc-gconf-schemas etc/gconf/schemas/test.schema
 W: filenames: package-installs-nonbinary-perl-in-usr-lib-perl5 usr/lib/perl5/foo/ancient.pm
 W: filenames: package-installs-nonbinary-perl-in-usr-lib-perl5 usr/lib/perl5/foo/bar.pm
+W: filenames: svk-commit-file-in-package files/svk-commitsEr9P.tmp
 W: filenames: svn-commit-file-in-package files/svn-commit.tmp
 W: filenames: symlink-is-self-recursive usr/lib/filenames/symlink10wrong ../../..
 W: filenames: symlink-is-self-recursive usr/lib/filenames/symlink5ok+warn ..



Reply to: