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

[SCM] Debian package checker branch, master, updated. 2.3.0-15-g8b74548



The following commit has been merged in the master branch:
commit 5c24085a456716d9c6f071ce84dcb1c5c79c753d
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sun Dec 27 17:59:03 2009 -0600

    Restore --unpack's functionality by making it collect all info
    
    It does, however, always leave the laboratory in an unpack-level 1
    equivalent state. Never unpack-level 2.

diff --git a/frontend/lintian b/frontend/lintian
index 8e2ed18..7cbdc9b 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1240,6 +1240,14 @@ for my $c (keys %unpack_infos) {
 }
 # }}}
 
+# {{{ make --unpack collect all info
+if ($action eq 'unpack') {
+    for my $c (keys %collection_info) {
+	$unpack_infos{$c} = 1;
+    }
+}
+# }}}
+
 # {{{ process all packages in the archive?
 if ($check_everything) {
     # make sure package info is available
@@ -1566,6 +1574,7 @@ foreach my $pkg_info ($schedule->get_all) {
 		next if $keep_lab;
 		next unless (-f "$base/.${coll}-$ci->{'version'}");
 		my $script = "$LINTIAN_ROOT/collection/$ci->{'script'}";
+		debug_msg(1, "Auto removing: $ci->{'script'} ...");
 		unless (spawn({}, [ $script, $pkg, "remove-$long_type"])) {
 		    warning("removing collect info $coll about package $pkg failed",
 			    "skipping cleanup of $long_type package $pkg");

-- 
Debian package checker


Reply to: