[med-svn] r21305 - trunk/helper-scripts
Andreas Tille
tille at moszumanska.debian.org
Tue Jan 26 12:55:44 UTC 2016
Author: tille
Date: 2016-01-26 12:55:44 +0000 (Tue, 26 Jan 2016)
New Revision: 21305
Modified:
trunk/helper-scripts/inject-into-alioth-git
Log:
Enable specifying Vcs-Git with https:
Modified: trunk/helper-scripts/inject-into-alioth-git
===================================================================
--- trunk/helper-scripts/inject-into-alioth-git 2016-01-26 11:01:51 UTC (rev 21304)
+++ trunk/helper-scripts/inject-into-alioth-git 2016-01-26 12:55:44 UTC (rev 21305)
@@ -8,7 +8,7 @@
DEBPKGNAME=`dpkg-parsechangelog | awk '/^Source:/ {print $2}'`
SHORTDESC=`grep "^Description: " debian/control | head -n 1 | sed 's/^Description: //'`
-VCSGIT=`grep "^Vcs-Git: " debian/control | sed -e 's/^Vcs-Git: //' -e 's#git://anonscm.debian.org/#ssh://git.debian.org/git/#'`
+VCSGIT=`grep "^Vcs-Git: " debian/control | sed -e 's/^Vcs-Git: //' -e 's#[githps]\+://anonscm.debian.org/#ssh://git.debian.org/git/#'`
DIRatALIOTH=`echo $VCSGIT | sed -e 's#ssh://git.debian.org/git/#/git/#' -e 's#/[^/]\+\.git##'`
set -x
ssh git.debian.org "cd $DIRatALIOTH; ./setup-repository $DEBPKGNAME '$SHORTDESC'"
More information about the debian-med-commit
mailing list