Author: olamy
Date: Wed Dec 26 16:24:26 2012
New Revision: 1425964
URL: http://svn.apache.org/viewvc?rev=1425964&view=rev
Log:
add download page with auto select of mirror
Added:
archiva/site/src/site/resources/download-fast.cgi (with props)
archiva/site/src/site/xdoc/download-fast.xml.vm (with props)
Added: archiva/site/src/site/resources/download-fast.cgi
URL:
http://svn.apache.org/viewvc/archiva/site/src/site/resources/download-fast.cgi?rev=1425964&view=auto
==============================================================================
--- archiva/site/src/site/resources/download-fast.cgi (added)
+++ archiva/site/src/site/resources/download-fast.cgi Wed Dec 26 16:24:26 2012
@@ -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: archiva/site/src/site/resources/download-fast.cgi
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/site/src/site/resources/download-fast.cgi
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/site/src/site/xdoc/download-fast.xml.vm
URL:
http://svn.apache.org/viewvc/archiva/site/src/site/xdoc/download-fast.xml.vm?rev=1425964&view=auto
==============================================================================
--- archiva/site/src/site/xdoc/download-fast.xml.vm (added)
+++ archiva/site/src/site/xdoc/download-fast.xml.vm Wed Dec 26 16:24:26 2012
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<document>
+ <properties>
+ <title>Download Apache Archiva</title>
+ </properties>
+ <body>
+ <section name="Download Apache Archiva ${archivaReleaseVersion}">
+ <p>Archiva is distributed under the <a
href="http://archiva.apache.org/license.html}">Apache License, version
2.0</a>.</p>
+ <subsection name="System Requirements">
+ <table>
+ <tr>
+ <td><b>JDK</b></td>
+ <td>1.6 or above</td>
+ </tr>
+ <tr>
+ <td><b>No minimum requirement</b></td>
+ <td>The Archiva application is in itself about 20MB but will use
more disk space to store repository contents</td>
+ </tr>
+ <tr>
+ <td><b>Operating System</b></td>
+ <td>Support for Linux, Mac OS, Solaris and Windows. Tested on
Windows XP SP2, Ubuntu Linux, and Mac OS X.</td>
+ </tr>
+ </table>
+ </subsection>
+ <a name="mirror"/>
+ <subsection 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">
+ Other mirrors:
+ <select name="Preferred">
+ [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"/>
+ </form>
+
+ <p>
+ You may also consult the
+ <a href="http://www.apache.org/mirrors/">complete list of
+ mirrors.</a>
+ </p>
+
+ </subsection>
+ <subsection name="Current Release: Archiva ${archivaReleaseVersion}">
+ <p>
+ This is the currently recommended version of Archiva.
+
+ <ul>
+ <li><a
href="./docs/${archivaReleaseVersion}/release-notes.html">Release Notes</a></li>
+ <li><a href="./known-issues.html">Known Issues and Errata</a></li>
+ </ul>
+ </p>
+ <p>
+ <table>
+ <thead>
+ <tr>
+ <th>Archiva ${archivaReleaseVersion} </th>
+ <th>Mirrors</th>
+ <th>Checksum</th>
+ <th>Signature</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Archiva ${archivaReleaseVersion} Standalone</td>
+ <td><a
href="[preferred]archiva/${archivaReleaseVersion}/binaries/apache-archiva-${archivaReleaseVersion}-bin.tar.gz">tar.gz</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/binaries/apache-archiva-${archivaReleaseVersion}-bin.tar.gz.md5">md5</a></td>
+ <td><a
href="http://www.apache.org/dyn/closer.cgi/archiva/${archivaReleaseVersion}/binaries/apache-archiva-${archivaReleaseVersion}-bin.tar.gz.asc">asc</a></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><a
href="[preferred]archiva/${archivaReleaseVersion}/binaries/apache-archiva-${archivaReleaseVersion}-bin.zip">zip</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/binaries/apache-archiva-${archivaReleaseVersion}-bin.zip.md5">md5</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/binaries/apache-archiva-${archivaReleaseVersion}-bin.zip.asc">asc</a></td>
+ </tr>
+ <tr>
+ <td>Archiva ${archivaReleaseVersion} WAR</td>
+ <td><a
href="[preferred]archiva/${archivaReleaseVersion}/war/apache-archiva-${archivaReleaseVersion}.war">war</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/war/apache-archiva-${archivaReleaseVersion}.war.md5">md5</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/war/apache-archiva-${archivaReleaseVersion}.war.asc">asc</a></td>
+ </tr>
+ <tr>
+ <td>Archiva ${archivaReleaseVersion} Documentation</td>
+ <td><a
href="[preferred]archiva/${archivaReleaseVersion}/docs/${archivaReleaseVersion}/apache-archiva-${archivaReleaseVersion}-docs.zip">docs
zip</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/docs/apache-archiva-${archivaReleaseVersion}-docs.zip.md5">md5</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/docs/apache-archiva-${archivaReleaseVersion}-docs.zip.asc">asc</a></td>
+ </tr>
+ <tr>
+ <td>Archiva ${archivaReleaseVersion} Sources</td>
+ <td><a
href="[preferred]archiva/${archivaReleaseVersion}/src/${archivaReleaseVersion}/apache-archiva-${archivaReleaseVersion}-src.zip">source
zip</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/src/${archivaReleaseVersion}/apache-archiva-${archivaReleaseVersion}-src.zip.md5">md5</a></td>
+ <td><a
href="http://www.apache.org/dist/archiva/${archivaReleaseVersion}/src/${archivaReleaseVersion}/apache-archiva-${archivaReleaseVersion}-src.zip.asc">asc</a></td>
+ </tr>
+ </tbody>
+ </table>
+ </p>
+
+ </subsection>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Propchange: archiva/site/src/site/xdoc/download-fast.xml.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/site/src/site/xdoc/download-fast.xml.vm
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision