[pkg-perl-tools] 01/02: packagecheck: Use https transport protocol in Vcs-Git URI

Salvatore Bonaccorso carnil at debian.org
Sat Jan 30 19:36:04 UTC 2016


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

carnil pushed a commit to branch master
in repository pkg-perl-tools.

commit 62a403e5aba9d65ecea34ddfd98bee0bd05ce8e3
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sat Jan 30 17:53:50 2016 +0100

    packagecheck: Use https transport protocol in Vcs-Git URI
    
    If a missing Vcs-Git field is found, then add the URI using the https
    transport protocol instead of git.
---
 scripts/packagecheck | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/packagecheck b/scripts/packagecheck
index 08e20b5..8eec9c1 100755
--- a/scripts/packagecheck
+++ b/scripts/packagecheck
@@ -108,7 +108,7 @@ testvcs() {
 	# check for and add missing Vcs-Git field
 	if ! grep -q ^Vcs-Git $DIR/debian/control; then
 		echo "$PKG: adding missing Vcs-Git field"
-		perl -pi -e "s;(Standards-Version:.+);\$1\nVcs-Git: git://anonscm.debian.org/pkg-perl/packages/$PKG.git;" $DIR/debian/control
+		perl -pi -e "s;(Standards-Version:.+);\$1\nVcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/$PKG.git;" $DIR/debian/control
 		MSG_CONTROL_ADD="${MSG_CONTROL_ADD:+$MSG_CONTROL_ADD; }Vcs-Git field (source stanza)"
 		CHANGED=1
 	fi

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



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