[SCM] Debian package checker branch, master, updated. 1.24.4-97-g32df205
The following commit has been merged in the master branch:
commit 30f0fdb3e6530369762e93f7e37e4432c5288032
Author: Frank Lichtenheld <djpig@debian.org>
Date: Wed Sep 3 01:38:58 2008 +0200
frontend/lintian: Make package version available to output formatters
Also move call of Tags::set_pkg to a more logical place.
diff --git a/debian/changelog b/debian/changelog
index 30a3553..9a39ddd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -65,6 +65,8 @@ lintian (2.0.0~rc1) experimental; urgency=low
otherwise lintian-info may print the rest of our output after
lintian exits, producing confusing output interleaved with the
shell prompt. (Closes: #496295)
+ + [FL] Actually make package version available to output formatters.
+ Currently used only by experimental colon-separated output.
* lib/Tags/ColonSeparated.pm:
+ [FL] Update for new features and make a little bit easier to read
diff --git a/frontend/lintian b/frontend/lintian
index 964c3a4..0aa15cb 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1305,10 +1305,11 @@ for (reverse sort @packages) {
my ($type,$pkg,$ver,$file) = ($1,$2,$3,$4);
my $long_type = ($type eq 'b' ? 'binary' : ($type eq 's' ? 'source' : 'udeb' ));
- print "N: ----\n" if $verbose;
if ($verbose) {
+ print "N: ----\n";
print "N: Processing $long_type package $pkg (version $ver) ...\n";
}
+ Tags::set_pkg( $file, $pkg, $ver, "", $long_type );
# determine base directory
my $base = "$LINTIAN_LAB/$long_type/$pkg";
@@ -1442,7 +1443,6 @@ for (reverse sort @packages) {
}
if ($action eq 'check') { # read override file
- Tags::set_pkg( $file, $pkg, "", "", $long_type );
unless ($no_override) {
if (open(O, '<', "$base/override")) {
--
Debian package checker
Reply to: