[SCM] Debian package checker branch, master, updated. 2.4.3-115-ga6afb92
The following commit has been merged in the master branch:
commit a6afb9295e94ba1b8b231d90021ad22f81080d90
Author: Niels Thykier <niels@thykier.net>
Date: Thu Jan 6 22:24:57 2011 +0100
Reworded the desc. of diff-contains-$vcs-control-dir tags
The diff-contains-$vcs-control-dir incorrectly assumed that passing
-i to dpkg-source would also work for native packages.
* checks/cruft{,.desc}:
+ [NT] Corrected the description of diff-contains-$vcs-control-dir.
It incorrectly assumed that -i worked for native packages.
(Closes: #609153)
diff --git a/checks/cruft.desc b/checks/cruft.desc
index 3fdc364..cca37b2 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -61,9 +61,10 @@ Severity: normal
Certainty: certain
Info: The Debian diff or native package contains files in a CVS directory.
These are usually artifacts of the revision control system used by the
- Debian maintainer and not useful in a diff or native package. Passing
- <tt>-i</tt> to <tt>dpkg-buildpackage</tt> or the equivalent will
- automatically exclude them.
+ Debian maintainer and not useful in a diff or native package.
+ <tt>dpkg-source</tt> will automatically exclude these if it is passed
+ <tt>-I</tt> or <tt>-i</tt> for native and non-native packages respectively.
+Ref: dpkg-source(1)
Tag: source-contains-cvs-control-dir
Severity: pedantic
@@ -80,8 +81,9 @@ Certainty: certain
Info: The Debian diff or native package contains files in an .svn
directory. These are usually artifacts of the revision control system
used by the Debian maintainer and not useful in a diff or native package.
- Passing <tt>-i</tt> to <tt>dpkg-buildpackage</tt> or the equivalent will
- automatically exclude them.
+ <tt>dpkg-source</tt> will automatically exclude these if it is passed
+ <tt>-I</tt> or <tt>-i</tt> for native and non-native packages respectively.
+Ref: dpkg-source(1)
Tag: source-contains-svn-control-dir
Severity: pedantic
@@ -99,8 +101,9 @@ Certainty: certain
Info: The Debian diff or native package contains files in a .bzr
directory. These are usually artifacts of the revision control system
used by the Debian maintainer and not useful in a diff or native package.
- Passing <tt>-i</tt> to <tt>dpkg-buildpackage</tt> or the equivalent will
- automatically exclude them.
+ <tt>dpkg-source</tt> will automatically exclude these if it is passed
+ <tt>-I</tt> or <tt>-i</tt> for native and non-native packages respectively.
+Ref: dpkg-source(1)
Tag: source-contains-bzr-control-dir
Severity: pedantic
@@ -119,8 +122,10 @@ Info: The Debian diff or native package contains files in an {arch} or
.arch-ids directory or a directory starting with <tt>,,</tt> (used by baz
for debugging traces). These are usually artifacts of the revision
control system used by the Debian maintainer and not useful in a diff or
- native package. Passing <tt>-i</tt> to <tt>dpkg-buildpackage</tt> or the
- equivalent will automatically exclude them.
+ native package. <tt>dpkg-source</tt> will automatically exclude these if
+ it is passed <tt>-I</tt> or <tt>-i</tt> for native and non-native
+ packages respectively.
+Ref: dpkg-source(1)
Tag: source-contains-arch-control-dir
Severity: pedantic
@@ -138,8 +143,9 @@ Certainty: certain
Info: The Debian diff or native package contains files in a .git
directory. These are usually artifacts of the revision control system
used by the Debian maintainer and not useful in a diff or native package.
- Passing <tt>-i</tt> to <tt>dpkg-buildpackage</tt> or the equivalent will
- automatically exclude them.
+ <tt>dpkg-source</tt> will automatically exclude these if it is passed
+ <tt>-I</tt> or <tt>-i</tt> for native and non-native packages respectively.
+Ref: dpkg-source(1)
Tag: source-contains-git-control-dir
Severity: pedantic
@@ -156,8 +162,9 @@ Certainty: certain
Info: The Debian diff or native package contains files in a .hg
directory. These are usually artifacts of the revision control system
used by the Debian maintainer and not useful in a diff or native package.
- Passing <tt>-i</tt> to <tt>dpkg-buildpackage</tt> or the equivalent will
- automatically exclude them.
+ <tt>dpkg-source</tt> will automatically exclude these if it is passed
+ <tt>-I</tt> or <tt>-i</tt> for native and non-native packages respectively.
+Ref: dpkg-source(1)
Tag: source-contains-hg-control-dir
Severity: pedantic
@@ -173,8 +180,10 @@ Severity: normal
Certainty: certain
Info: The Debian diff or native package contains files in a directory
used by a bug tracking system, which are not useful in a diff or native
- package. Passing <tt>-i</tt> to <tt>dpkg-buildpackage</tt> or the
- equivalent will automatically exclude them.
+ package. <tt>dpkg-source</tt> will automatically exclude these if it
+ is passed <tt>-I</tt> or <tt>-i</tt> for native and non-native packages
+ respectively.
+Ref: dpkg-source(1)
Tag: source-contains-bts-control-dir
Severity: pedantic
diff --git a/debian/changelog b/debian/changelog
index 27b80e2..b5a0795 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,9 @@ lintian (2.4.4) UNRELEASED; urgency=low
* checks/cruft{,.desc}:
+ [NT] Extended the diff-contains-substvars check to also catch files
prefixed with a package name.
+ + [NT] Corrected the description of diff-contains-$vcs-control-dir.
+ It incorrectly assumed that -i worked for native packages.
+ (Closes: #609153)
* checks/debhelper{,.desc}:
+ [NT] Fix dependency check for dh_nativejava, default-jdk has never
provided dh_nativejava. (Closes: #606506)
--
Debian package checker
Reply to: