[Fusionforge-commits] r14795 - trunk/htdocs

Christian Bayle cbayle at fusionforge.org
Sun Nov 13 19:34:16 CET 2011


Author: cbayle
Date: 2011-11-13 19:34:14 +0100 (Sun, 13 Nov 2011)
New Revision: 14795

Modified:
   trunk/htdocs/mirror
Log:
Test version doing nothing


Modified: trunk/htdocs/mirror
===================================================================
--- trunk/htdocs/mirror	2011-11-13 18:13:00 UTC (rev 14794)
+++ trunk/htdocs/mirror	2011-11-13 18:34:14 UTC (rev 14795)
@@ -1,14 +1,29 @@
 #! /bin/sh
+if [ ! -z "$1" ] 
+then
+	MIRVERS=$1
+fi
+
+DEBDIST=squeeze
+MIRVERS=${MIRVERS:-trk}
+MIRBASE=/var/lib/gforge/chroot/home/groups/fusionforge/htdocs/deb/$MIRVERS
+MIRHOST=buildbot3.debian.org
+MIRDIR=job/fusionforge-$MIRVERS-build-and-test-deb/ws/build/debian
+DISTDEBTRK=squeeze
+
+echo debmirror --dry-run $MIRBASE --method=http --host=$MIRHOST -r $MIRDIR -d $DISTDEBTRK -a i386,amd64 -s main -v --progress
+
+oldsync()
+{
 DISTUBUBRC=jaunty,karmic,lucid
 DISTUBUTRK=jaunty,karmic,lucid
 
 DISTDEBBRC=lenny,squeeze,sid
 DISTDEBTRK=lenny,squeeze,sid
 
-MIRBASE=/var/lib/gforge/chroot/home/groups/fusionforge/htdocs
-
 debmirror $MIRBASE/debian-trk --method=http --host=debian.fusionforge.org -r debian-trk -d $DISTDEBTRK -a i386,amd64 -s main -v --progress
 debmirror $MIRBASE/ubuntu-trk --method=http --host=debian.fusionforge.org -r ubuntu-trk -d $DISTUBUTRK -a i386,amd64 -s main -v --progress
 
 debmirror $MIRBASE/debian-brc --method=http --host=debian.fusionforge.org -r debian-brc -d $DISTDEBBRC -a i386,amd64 -s main -v --progress
 debmirror $MIRBASE/ubuntu-brc --method=http --host=debian.fusionforge.org -r ubuntu-brc -d $DISTUBUBRC -a i386,amd64 -s main -v --progress
+}




More information about the Fusionforge-commits mailing list