[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [eclipse-mirrors] Eclipse.org proposed downloads and mirror selection changes | 
Greetings to all mirror site maintainers,
I would like to propose a change in the way mirror sites are selected 
from the www.eclipse.org website.
The goals:
==========
- to allow users to select a mirror based on geographic location
- to allow users to select a mirror based on the file they want
- not require mirror sites to host PHP content.
The impacts:
============
- mirror sites may see an increase in traffic: currently, many users 
simply choose the Main Eclipse Download Server to download everything
- users will get faster downloads from localized mirrors
- mirror selection will be easier
Current problems:
=================
- The main downloads page sends the user to a mirror site: 
http://eclipse.org/downloads/index.php
- it is difficult for us to gather download statistics
- some mirrors can not host everything, like nightly builds and the 
tools project, therefore the user doesn't know which mirror has the file 
 they want
- from the mirrors list, it's hard to tell in what country a mirror site is
- not all mirrors wish to host PHP and HTML content
Proposed solution:
==================
- eclipse.org hosts all the downloads web pages (PHP/HTML)
- a list of current mirrors, categorized by geographic location, is 
shown when a user clicks a file to download.  Here is an example:
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.0.1-200409161125/eclipse-SDK-3.0.1-linux-gtk.zip
What you should do as a mirror site maintainer:
===============================================
- Review this proposal, and provide feedback to webmaster@xxxxxxxxxxx. 
Feel free to provide any feedback related to the mirroring process.
- Make sure you synchronize the TIME files, so we can determine your 
mirror site status
- use the attached configurable shell script to mirror Eclipse, and 
advise me if you change any of the yes/no options, so I know what you mirror
Thanks again for being an Eclipse mirror site.  We appreciate the time, 
effort and resources you invest in this activity, and we look forward to 
reading your feedback!
--
Eclipse WebMaster - webmaster@xxxxxxxxxxx
Questions? Consult the FAQ at http://www.eclipse.org/webmaster/faq.html
View my status at http://www.eclipse.org/webmaster/main.html
#!/bin/sh
##
## This is the official eclipse.org mirror site script.
##
## Set your options and run as a cronjob.
##
## Last updated: 2004-11-25 by webmaster@xxxxxxxxxxx
##
##
## User-defined options
# Set the base path for your mirror site here
# No ending /
mirror_path="/home/httpd/download.eclipse.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@xxxxxxxxxxx.  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.
# This is what most people want.
platform_release=yes
# Eclipse Platform - Stable builds only.  Say no here if you said yes to full_platform.
# This is what most people want.
platform_stable=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
## End: User-defined options
##
# required "mirror root" timestamp.
# All mirror sites must get this.
rsync -tlv --delete download.eclipse.org::eclipseMirror/TIME $mirror_path 
if [ $full_eclipse == yes ]; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/* $mirror_path
fi 
if [ $full_platform == yes ] ; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/eclipse/* $mirror_path/eclipse/
fi
if [ $platform_release == yes -a $platform_stable == yes ]; then
	rsync -tlv --delete download.eclipse.org::eclipseMirror/eclipse/* $mirror_path/eclipse/
	rsync -tlv --delete download.eclipse.org::eclipseMirror/eclipse/downloads/* $mirror_path/eclipse/downloads/
	rsync -tlv --delete download.eclipse.org::eclipseMirror/eclipse/images/* $mirror_path/eclipse/images/
	rsync -tlv --delete download.eclipse.org::eclipseMirror/eclipse/downloads/drops/* $mirror_path/eclipse/downloads/drops/
fi
if [ $platform_release == yes ]; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/eclipse/downloads/drops/R-* $mirror_path/eclipse/downloads/drops/
fi
if [ $platform_stable == yes ]; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/eclipse/downloads/drops/S-* $mirror_path/eclipse/downloads/drops/
fi
if [ $full_birt == yes ]; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/birt/* $mirror_path/birt/
fi
if [ $full_technology == yes ]; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/technology/* $mirror_path/technology/
fi
if [ $full_tools == yes ]; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/tools/* $mirror_path/tools/
fi
if [ $full_tptp == yes ]; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/tptp/* $mirror_path/tptp/
fi
if [ $full_webtools == yes ]; then
	rsync -rtlv --delete download.eclipse.org::eclipseMirror/webtools/* $mirror_path/webtools/
fi