[Blends-commit] [SCM] website branch, master, updated. 06f78d6630d63f33252f6f1b69299f9d8c9adb7a

Andreas Tille tille at debian.org
Sat Feb 14 16:21:29 UTC 2015


The following commit has been merged in the master branch:
commit 06f78d6630d63f33252f6f1b69299f9d8c9adb7a
Author: Andreas Tille <tille at debian.org>
Date:   Sat Feb 14 17:16:34 2015 +0100

    Use prefered URLs in VCS fields

diff --git a/misc/machine_readable/fetch-machine-readable b/misc/machine_readable/fetch-machine-readable
index 839be17..67f642f 100755
--- a/misc/machine_readable/fetch-machine-readable
+++ b/misc/machine_readable/fetch-machine-readable
@@ -83,8 +83,8 @@ svn_checkout_machine_readable () {
           firstletter=`echo $srcname | sed "s/^\(.\).*/\1/"`
           mkdir -p $TARGETDIR/$firstletter
           mv changelog $TARGETDIR/$firstletter/${srcname}.changelog
-          echo "Vcs-Svn: svn://svn.debian.org/$1/$vcslocation" > $TARGETDIR/$firstletter/${srcname}.vcs
-          echo "Vcs-Browser: http://svn.debian.org/wsvn/$1/$vcslocation" >> $TARGETDIR/$firstletter/${srcname}.vcs
+          echo "Vcs-Svn: svn://anonscm.debian.org/$1/$vcslocation" > $TARGETDIR/$firstletter/${srcname}.vcs
+          echo "Vcs-Browser: http://anonscm.debian.org/viewvc/$1/$vcslocation" >> $TARGETDIR/$firstletter/${srcname}.vcs
           echo "Blend: `echo $1 | sed 's?/.*??'`" >> $TARGETDIR/$firstletter/${srcname}.vcs
           for file in control copyright upstream upstream/metadata ; do
             srcfile=${file#upstream/}
@@ -151,8 +151,8 @@ git_checkout_machine_readable () {
     firstletter=`echo $srcname | sed "s/^\(.\).*/\1/"`
     mkdir -p $TARGETDIR/$firstletter
     mv $TMPCHLOG $TARGETDIR/$firstletter/${srcname}.changelog
-    echo "Vcs-Git: git://git.debian.org$1" > $TARGETDIR/$firstletter/${srcname}.vcs
-    echo "Vcs-Browser: http://git.debian.org"`echo $1 | sed 's+^/git/+/?p=+'` >> $TARGETDIR/$firstletter/${srcname}.vcs
+    echo "Vcs-Git: git://anonscm.debian.org$1" > $TARGETDIR/$firstletter/${srcname}.vcs
+    echo "Vcs-Browser: https://anonscm.debian.org"`echo $1 | sed 's+^/git/+/cgit/+'` >> $TARGETDIR/$firstletter/${srcname}.vcs
     echo "Blend: `echo $2 | sed 's?/.*??'`" >> $TARGETDIR/$firstletter/${srcname}.vcs
     for file in `git ls-tree -r HEAD debian/ 2>/dev/null | \
                  grep -e "debian/control$" -e "debian/changelog$" -e "debian/copyright$" -e "debian/upstream$" -e "debian/upstream/metadata$" | \

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list