[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-mirrors] European mirrors can rsync from the UK

Eclipse mirror maintainers,

Mirrors in Europe can now RSYNC from a European server for
faster transfer speeds. Phill at the UK Mirror Service opened his server
for RSYNC access.  Many thanks!

You can look at the latest RSYNC script we recommend you use (attached)
or simply use
rsync://rsync.mirrorservice.org/download.eclipse.org/eclipseMirror/


Of course, you're always welcome to RSYNC from download.eclipse.org in Canada directly. We're just trying to use backbones a bit more efficiently.


Thanks,

Denis


--

Eclipse WebMaster - webmaster@xxxxxxxxxxx
Questions? Consult the WebMaster FAQ at http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster
#!/bin/sh
echo DEFANGED.123
exit
#!/bin/sh

##
## This is the official eclipse.org mirror site script.
##
## Set your options and run as a cronjob - preferably not as root
##
## Last updated: 2005-12-19 by webmaster@xxxxxxxxxxx
##


##
## User-defined options

# Set the base path for your mirror site here
# No ending /
mirror_path="/path/to/mirror"

# path to your RSYNC binary
RSYNC=/usr/bin/rsync

# Lockfile location - prevents rsync script from re-spawning
LOCKFILE="/tmp/eclipse_lockfile"

# if you rsync from master server, use these options
RSYNC_HOST=download.eclipse.org
RSYNC_PATH=eclipseMirror

# if you rsync from Europe, you can use these.  Comment the master server options above
# RSYNC_HOST=rsync.mirrorservice.org  # UK server - for European mirrors 
# RSYNC_PATH=download.eclipse.org/eclipseMirror  # use with www.mirrorservice.org



# Select the content you want to mirror.
# Please see http://eclipse.org/downloads for information on the space requirements.

##################
#
# IMPORTANT: if you change the content you mirror, please advise the
# webmaster@xxxxxxxxxxxx  Thank you.
#
##################

# full_eclipse is a complete eclipse.org mirror.  
# Set all other options to 'no' if you say yes here.
full_eclipse=no

# full_patform is the Eclipse Platform project.
# It includes Stable, Release, Nightly, Maintenance and Integration build.
# it doesn't include any other project (tools, webtools, technology, birt, etc)
full_platform=no

# Eclipse Platform - Release builds only.  Say no here if you said yes to full_platform or full_eclipse.
# This is what most people want.
platform_release=yes

# Eclipse Platform - Stable builds only.  Say no here if you said yes to full_platform or full_eclipse.
# This is what most people want.
platform_stable=yes

# Eclipse Platform - Update jars only.  Say no here if you said yes to full_platform or full_eclipse.
# This is what most people want.
platform_update=yes


# BIRT project
full_birt=yes

# technology Project
full_technology=yes

# Tools project.
full_tools=yes

# Testing and Performance Tools Project (TPTP)
full_tptp=yes

# Webtools project.
full_webtools=yes

# Datatools project.
full_datatools=yes

## End: User-defined options
##



#
## Contributed by Gabriel Akos 2005-10-14
host $RSYNC_HOST > /dev/null
hres=$?
if [ $hres -ne 0 ]; then
	echo "Eclipse mirror - host $RSYNC_HOST resolution failed" >/dev/stderr
	exit 1
fi


if [ -e $LOCKFILE ]; then
	echo "Eclipse mirror - Lockfile $LOCKFILE exists" >/dev/stderr
	exit 1
fi
touch $LOCKFILE

## END: Contributed by Gabriel Akos 2005-10-14
#



# required "mirror root" timestamp.
# All mirror sites must get this.
$RSYNC -tlv --delete $RSYNC_HOST::$RSYNC_PATH/TIME $mirror_path 


if [ $full_eclipse == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/* $mirror_path
fi 

if [ $full_platform == yes ] ; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/* $mirror_path/eclipse/
fi

if [ $platform_release == yes -o $platform_stable == yes -o $platform_update == yes ]; then
	$RSYNC -tlv --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/* $mirror_path/eclipse/
	$RSYNC -tlv --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/downloads/* $mirror_path/eclipse/downloads/
	$RSYNC -tlv --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/images/* $mirror_path/eclipse/images/
	$RSYNC -tlv --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/downloads/drops/* $mirror_path/eclipse/downloads/drops/
fi

if [ $platform_release == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/downloads/drops/R-* $mirror_path/eclipse/downloads/drops/
fi

if [ $platform_stable == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/downloads/drops/S-* $mirror_path/eclipse/downloads/drops/
fi

if [ $platform_update == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/eclipse/updates/ $mirror_path/eclipse/updates/
fi

if [ $full_birt == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/birt/* $mirror_path/birt/
fi

if [ $full_technology == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/technology/* $mirror_path/technology/
fi

if [ $full_tools == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/tools/* $mirror_path/tools/
fi

if [ $full_tptp == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/tptp/* $mirror_path/tptp/
fi

if [ $full_webtools == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/webtools/* $mirror_path/webtools/
fi

if [ $full_datatools == yes ]; then
	$RSYNC -rtlv --delete $RSYNC_HOST::$RSYNC_PATH/datatools/* $mirror_path/datatools/
fi


rm $LOCKFILE