[libconfig-model-dpkg-perl] 01/02: Dpkg Source Vcs-Browser: fix regexp used for git repos

dod at debian.org dod at debian.org
Mon Jan 20 18:38:24 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 0aa7c4831fd153ac10dd4ad0dccc2bf194be7879
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Jan 20 19:38:01 2014 +0100

    Dpkg Source Vcs-Browser: fix regexp used for git repos
---
 lib/Config/Model/models/Dpkg/Control/Source.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 9f3eb01..29ae348 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -204,8 +204,8 @@ The information is meant to be useful for the final user, willing to browse the
         'warn_unless' => {
           'debian-uri' => {
             'code' => '!defined $_ or ! /debian.org/ or m{^https?://anonscm.debian.org/(viewvc|gitweb|loggerhead)} ;',
-            'fix' => 's{https?://svn\\.debian\\.org/\w+svn/}{http://anonscm.debian.org/viewvc/};
-s{http://git.debian.org/?p=}{http://anonscm.debian.org/gitweb/?p=};
+            'fix' => 's{https?://svn\\.debian\\.org/\\w+svn/}{http://anonscm.debian.org/viewvc/};
+s{http://git.debian.org/\\?p=}{http://anonscm.debian.org/gitweb/?p=};
 s{http://bzr.debian.org/loggerhead/}{http://anonscm.debian.org/loggerhead/};',
             '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