[devscripts] 02/02: uscan: debug mode: print hrefs before checking them

Paul Wise pabs at moszumanska.debian.org
Mon Aug 15 04:31:47 UTC 2016


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

pabs pushed a commit to branch master
in repository devscripts.

commit 5960eca37fcb26ea6076049019577e6948f628a8
Author: Paul Wise <pabs at debian.org>
Date:   Mon Aug 15 11:26:26 2016 +0800

    uscan: debug mode: print hrefs before checking them
---
 debian/changelog | 1 +
 scripts/uscan.pl | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 64f2e75..badd0f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ devscripts (2.16.7) UNRELEASED; urgency=medium
     + Fix bash completion of the --no-conf option
   * uscan:
     + Strip whitespace from hrefs before processing (Closes: #833779)
+    + Debug mode: print hrefs before checking them
   * Suggest reprotest for reproducible builds testing (Closes: #786755)
 
   [ Jakub Wilk ]
diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index b406b88..6de1258 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -2962,6 +2962,7 @@ sub process_watchline ($$$$$$)
 	    $href =~ s/\n//g;
 	    $href =~ s/^\s+//;
 	    $href =~ s/\s+$//;
+	    uscan_debug "Checking href $href\n";
 	    foreach my $_pattern (@patterns) {
 		if ($href =~ m&^$_pattern$&) {
 		    if ($watch_version == 2) {

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