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

[SCM] Debian package checker branch, master, updated. 2.5.10-126-gaf16523



The following commit has been merged in the master branch:
commit af165233fc92b7030f5d0139caee59e5b025b98a
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Sep 3 13:58:53 2012 +0200

    lintian: Emit the group name during unpack with --verbose
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/debian/changelog b/debian/changelog
index 020d982..eb5dac4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -118,6 +118,9 @@ lintian (2.5.11) UNRELEASED; urgency=low
     + [NT] Refactor unpackaging into Lintian::Unpacker.
     + [NT] Make parameter for --jobs optional.  In its absence
       Lintian will not limit the number of parallel jobs.
+    + [JW,NT] During the unpack phase, emit the name of the
+      group currently being unpacked when --verbose is given.
+      (Closes: #677890)
 
   * lib/Lintian/Architecture.pm:
     + [NT] Properly handle cases like "linux-amd64" being an
diff --git a/frontend/lintian b/frontend/lintian
index 545e8dd..4cf137a 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1094,7 +1094,7 @@ my %overrides;
 
 foreach my $gname (sort $pool->get_group_names()) {
     my $group = $pool->get_group($gname);
-    unpack_group($group);
+    unpack_group ($gname, $group);
     if ($action eq 'check'){
         process_group($group);
         clear_group_cache($group);
@@ -1243,7 +1243,7 @@ sub prep_unpack_error {
 }
 
 sub unpack_group {
-    my ($group) = @_;
+    my ($gname, $group) = @_;
     my @lpkgs = ();
     my $errhandler = sub { prep_unpack_error ($group, @_) };
 
@@ -1281,6 +1281,8 @@ sub unpack_group {
     # Stop here if there is nothing list for us to do
     return unless $unpacker->prepare_tasks ($errhandler, @lpkgs);
 
+    v_msg ("Unpacking packages in group $gname");
+
     my %timers = ();
     my %hooks = (
         'coll-hook' => sub { coll_hook ($group, \%timers, @_); },

-- 
Debian package checker


Reply to: