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

[SCM] Debian package checker branch, master, updated. 2.5.2-58-g7a7b841



The following commit has been merged in the master branch:
commit 881033a9c3da1cce306ddd5d7ad93eb16183c75a
Author: Jakub Wilk <jwilk@debian.org>
Date:   Sun Aug 28 17:51:02 2011 +0200

    Allow "pathrev" as synonym for "revision" in DEP-5 URIs
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/source-copyright b/checks/source-copyright
index f7fec61..c28a01c 100644
--- a/checks/source-copyright
+++ b/checks/source-copyright
@@ -107,7 +107,7 @@ if (m{
 	}
 	elsif ($uri =~ s,^http://anonscm\.debian\.org/viewvc/dep/web/deps/dep5\.mdwn\b,,) {
 	    $version = '0+svn';
-	    $uri =~ m,^\?(?:\S+&)?revision=(\d+)(?:&\S+)?$, and $version = "$version~$1";
+	    $uri =~ m,^\?(?:\S+&)?(?:pathrev|revision)=(\d+)(?:&\S+)?$, and $version = "$version~$1";
 	}
 	elsif ($uri =~ m,^http://www\.debian\.org/doc/(?:packaging-manuals/)?copyright-format/(\d+\.\d+)$,) {
 	    $version = $1;

-- 
Debian package checker


Reply to: