[pkg-java-scripts] 05/05: Update the Vcs-* fields of the packages coming from the pkg-clojure and collab-maint teams

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Feb 28 17:26:09 UTC 2018


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

ebourg-guest pushed a commit to branch master
in repository pkg-java-scripts.

commit df24756feae8f8fb8739d88952fcd8461f76c7f6
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Feb 28 18:25:08 2018 +0100

    Update the Vcs-* fields of the packages coming from the pkg-clojure and collab-maint teams
---
 vcsfields.sh | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/vcsfields.sh b/vcsfields.sh
index cfd9b2b..e27fef7 100755
--- a/vcsfields.sh
+++ b/vcsfields.sh
@@ -19,10 +19,16 @@ if [ $? -eq 0 ]; then
     VCS_BROWSER_UPDATED=1
 fi
 
-sed -i "s#git://anonscm.debian.org/pkg-java/\([^/]*\)/\?#https://anonscm.debian.org/git/pkg-java/\1#g" debian/control
-sed -i "s#http://anonscm.debian.org/cgit/pkg-java/\([^/]*\)/\?#https://anonscm.debian.org/cgit/pkg-java/\1#g" debian/control
-sed -i "s#http://anonscm.debian.org/gitweb/?p=pkg-java/\([^/]*\)/\?#https://anonscm.debian.org/cgit/pkg-java/\1#g" debian/control
+TEAMS="pkg-java pkg-clojure collab-maint"
 
+for TEAM in $TEAMS; do
+    sed -i "s#git://anonscm.debian.org/$TEAM/\([^/]*\)/\?#https://anonscm.debian.org/git/$TEAM/\1#g" debian/control
+    sed -i "s#git://git.debian.org/$TEAM/\([^/]*\)/\?#https://anonscm.debian.org/git/$TEAM/\1#g" debian/control
+    sed -i "s#git://git.debian.org/git/$TEAM/\([^/]*\)/\?#https://anonscm.debian.org/git/$TEAM/\1#g" debian/control
+    sed -i "s#http://anonscm.debian.org/cgit/$TEAM/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1#g" debian/control
+    sed -i "s#http://anonscm.debian.org/gitweb/?p=$TEAM/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1#g" debian/control
+    sed -i "s#http://git.debian.org/?p=$TEAM/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1#g" debian/control
+done
 
 # Add an entry to debian/changelog
 if [ $VCS_GIT_UPDATED == 1 ] && [ $VCS_BROWSER_UPDATED == 1 ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/pkg-java-scripts.git



More information about the pkg-java-commits mailing list