[devscripts] 01/01: grep-excuses: Ignore new --- header line in autoremovals.yaml.cgi

Paul Wise pabs at moszumanska.debian.org
Sun Jan 1 01:13:38 UTC 2017


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

pabs pushed a commit to branch master
in repository devscripts.

commit 6547791975051bfc59a7b5d3639e1c323fdf5d1c
Author: Paul Wise <pabs at debian.org>
Date:   Sun Jan 1 09:12:59 2017 +0800

    grep-excuses: Ignore new --- header line in autoremovals.yaml.cgi
    
    Fixes warnings like these:
    
        $ grep-excuses 'Paul Wise'
        grep-excuses: unprocessed line 1 in https://udd.debian.org/cgi-bin/autoremovals.yaml.cgi:
        ---
---
 debian/changelog        | 5 +++++
 scripts/grep-excuses.pl | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a77bb2a..dc915f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
 devscripts (2.16.14) UNRELEASED; urgency=medium
 
+  [ Sean Whitton ]
   * New script: git-deborig, a wrapper around git-archive(1) to generate
     Debian orig.tar files.
 
+  [ Paul Wise ]
+  * grep-excuses:
+    + Ignore new --- header line in autoremovals.yaml.cgi
+
  -- Sean Whitton <spwhitton at spwhitton.name>  Mon, 19 Dec 2016 09:51:35 +0000
 
 devscripts (2.16.13) unstable; urgency=medium
diff --git a/scripts/grep-excuses.pl b/scripts/grep-excuses.pl
index d6b234a..ebe82de 100755
--- a/scripts/grep-excuses.pl
+++ b/scripts/grep-excuses.pl
@@ -256,7 +256,7 @@ sub grep_autoremovals () {
 	    }
 	    next;
 	}
-	if (m%^$% || m%^\#%) {
+	if (m%^$% || m%^\#% || m{^---$}) {
 	    next;
 	}
 	warn "$progname: unprocessed line $. in $rmurl_yaml:\n$_";

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



More information about the devscripts-devel mailing list