This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit 20dd8647a3d82bdce8eb3af6158fc8b512aae2ba
Author: James McCoy <james...@debian.org>
Date:   Thu Nov 16 08:46:51 2017 -0500

    grep-excuses: Show when dependencies are blocking migration
    
    Signed-off-by: James McCoy <james...@debian.org>
---
 debian/changelog        |  4 ++++
 scripts/grep-excuses.pl | 11 +++++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d915352..e0eecf8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,10 @@ devscripts (2.17.12) UNRELEASED; urgency=medium
     + Add support for uploads to Debian LTS with the new --lts flag.
       Closes: #762715
 
+  [ James McCoy ]
+  * grep-excuses:
+    + Show when dependencies are blocking the migration.  (Closes: #881906)
+
  -- Mattia Rizzolo <mat...@debian.org>  Mon, 30 Oct 2017 07:48:10 +0100
 
 devscripts (2.17.11) unstable; urgency=medium
diff --git a/scripts/grep-excuses.pl b/scripts/grep-excuses.pl
index f460dd3..c996b1b 100755
--- a/scripts/grep-excuses.pl
+++ b/scripts/grep-excuses.pl
@@ -343,6 +343,17 @@ for my $source (@{$excuses->{sources}})
                    $age{'age-requirement'});
            }
        }
+       if (exists $source->{dependencies})
+       {
+           for my $blocker (@{$source->{dependencies}{'blocked-by'}}) {
+               printf("    Depends: %s %s (not considered)\n",
+                   $source->{'item-name'}, $blocker);
+           }
+           for my $after (@{$source->{dependencies}{'migrate-after'}}) {
+               printf("    Depends: %s %s\n",
+                   $source->{'item-name'}, $after);
+           }
+       }
        for my $excuse (@{$source->{excuses}})
        {
            $excuse =~ s@<a\s[^>]+>@@g;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to