You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sirona.apache.org by ol...@apache.org on 2013/12/06 02:41:36 UTC
svn commit: r1548366 - in /incubator/sirona/site-content/trunk/src/site:
resources/download.cgi site.xml xdoc/download.xml.vm
Author: olamy
Date: Fri Dec 6 01:41:36 2013
New Revision: 1548366
URL: http://svn.apache.org/r1548366
Log:
auto mirror detection
Added:
incubator/sirona/site-content/trunk/src/site/resources/download.cgi (with props)
Modified:
incubator/sirona/site-content/trunk/src/site/site.xml
incubator/sirona/site-content/trunk/src/site/xdoc/download.xml.vm
Added: incubator/sirona/site-content/trunk/src/site/resources/download.cgi
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/trunk/src/site/resources/download.cgi?rev=1548366&view=auto
==============================================================================
--- incubator/sirona/site-content/trunk/src/site/resources/download.cgi (added)
+++ incubator/sirona/site-content/trunk/src/site/resources/download.cgi Fri Dec 6 01:41:36 2013
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file
Propchange: incubator/sirona/site-content/trunk/src/site/resources/download.cgi
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/sirona/site-content/trunk/src/site/resources/download.cgi
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Modified: incubator/sirona/site-content/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/trunk/src/site/site.xml?rev=1548366&r1=1548365&r2=1548366&view=diff
==============================================================================
--- incubator/sirona/site-content/trunk/src/site/site.xml (original)
+++ incubator/sirona/site-content/trunk/src/site/site.xml Fri Dec 6 01:41:36 2013
@@ -85,7 +85,7 @@
<item name="Cube" href="/cube.html"/>
<item name="Collector" href="/collector.html"/>
<item name="Cassandra" href="/cassandra.html"/>
- <item name="Download" href="/download.html"/>
+ <item name="Download" href="/download.cgi"/>
</menu>
<menu name="Project Reports">
Modified: incubator/sirona/site-content/trunk/src/site/xdoc/download.xml.vm
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/trunk/src/site/xdoc/download.xml.vm?rev=1548366&r1=1548365&r2=1548366&view=diff
==============================================================================
--- incubator/sirona/site-content/trunk/src/site/xdoc/download.xml.vm (original)
+++ incubator/sirona/site-content/trunk/src/site/xdoc/download.xml.vm Fri Dec 6 01:41:36 2013
@@ -43,6 +43,55 @@ under the License.
It is good practice to <a href="#Verifying_Releases">verify the integrity</a> of the distribution files.</p>
</section>
+ <a name="mirror"/>
+ <section name="Mirror">
+
+ <p>
+ [if-any logo]
+ <a href="[link]">
+ <img align="right" src="[logo]" border="0"
+ alt="logo"/>
+ </a>
+ [end]
+ The currently selected mirror is
+ <b>[preferred]</b>.
+ If you encounter a problem with this mirror,
+ please select another mirror.
+ If all mirrors are failing, there are
+ <i>backup</i>
+ mirrors
+ (at the end of the mirrors list) that should be available.
+ </p>
+
+ <form action="[location]" method="get" id="SelectMirror" class="form-inline">
+ Other mirrors:
+ <select name="Preferred" class="input-xlarge">
+ [if-any http]
+ [for http]
+ <option value="[http]">[http]</option>
+ [end]
+ [end]
+ [if-any ftp]
+ [for ftp]
+ <option value="[ftp]">[ftp]</option>
+ [end]
+ [end]
+ [if-any backup]
+ [for backup]
+ <option value="[backup]">[backup] (backup)</option>
+ [end]
+ [end]
+ </select>
+ <input type="submit" value="Change" class="btn"/>
+ </form>
+
+ <p>
+ You may also consult the
+ <a href="http://www.apache.org/mirrors/">complete list of mirrors.</a>
+ </p>
+
+ </section>
+
<section name="Last Release">
<subsection name="${currentReleasedVersion}">
<p>Release date: ${currentReleasedVersion}</p>
@@ -57,7 +106,7 @@ under the License.
<tbody>
<tr>
<td>
- <a href="http://www.apache.org/dyn/closer.cgi/incubator/sirona/${currentReleasedVersion}/src/sirona-${currentReleasedVersion}-src.zip">sirona-${currentReleasedVersion}-src.zip</a>
+ <a href="[preferred]incubator/sirona/${currentReleasedVersion}/src/sirona-${currentReleasedVersion}-src.zip">sirona-${currentReleasedVersion}-src.zip</a>
</td>
<td>
<a href="http://www.apache.org/dist/incubator/sirona/${currentReleasedVersion}/src/sirona-${currentReleasedVersion}-src.zip.asc">asc</a>