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

jamessan pushed a commit to branch pu/yaml-excuses
in repository devscripts.

commit ad345f5242f1bbc5287d307e17d1a600788c7393
Author: James McCoy <james...@debian.org>
Date:   Wed Mar 8 21:17:10 2017 -0500

    grep-excuses: Use 'item-name', not 'source', to match the package
    
    Signed-off-by: James McCoy <james...@debian.org>
---
 scripts/grep-excuses.pl | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/grep-excuses.pl b/scripts/grep-excuses.pl
index fbd8eb0..2462ef0 100755
--- a/scripts/grep-excuses.pl
+++ b/scripts/grep-excuses.pl
@@ -314,12 +314,11 @@ if ($? == -1) {
 my $excuses = YAML::Syck::Load($yaml);
 for my $source (@{$excuses->{sources}})
 {
-    next if $source->{source} =~ m/_pu$/;
-    if ($source->{source} eq $string
+    if ($source->{'item-name'} eq $string
        || (exists $source->{maintainer}
            && $source->{maintainer} =~ m/\b\Q$string\E\b/))
     {
-       printf("%s (%s to %s)\n", $source->{source},
+       printf("%s (%s to %s)\n", $source->{'item-name'},
            $source->{'old-version'}, $source->{'new-version'});
        if (exists $source->{maintainer})
        {

-- 
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