[libconfig-model-dpkg-perl] 01/02: fix Vcs-Git url substitution (thanks Andreas)

dod at debian.org dod at debian.org
Tue Jan 21 20:25:06 UTC 2014


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 71d36ba5cfaafa379459c35ca1036e7b2ded80d6
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Jan 21 21:24:11 2014 +0100

    fix Vcs-Git url substitution (thanks Andreas)
---
 lib/Config/Model/models/Dpkg/Control/Source.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 29ae348..888b417 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -295,7 +295,7 @@ The information is meant to be useful for a user knowledgeable in the given Vers
         'warn_unless' => {
           'debian-uri' => {
             'code' => '!defined $_ or ! /debian.org/ or m{^http://anonscm.debian.org/git/(?!git/)} or m{^git://anonscm.debian.org/(?!git/)} ;',
-            'fix' => 's!http://[\\w\\.-]+/(git/)*!http://anonscm.debian.org/git/!; s!git://[\\w\\.-]+/!git://anonscm.debian.org/(git/)*!;',
+            'fix' => 's!http://[\\w\\.-]+/(git/)*!http://anonscm.debian.org/git/!; s!git://[\\w\\.-]+/!git://anonscm.debian.org/!;',
             'msg' => 'URL to debian system is not the recommended one'
           }
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list