You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2018/01/11 00:57:44 UTC
[1/2] commons-release-plugin git commit: adding in download page and
download cgi script
Repository: commons-release-plugin
Updated Branches:
refs/heads/master cbd34fb8c -> 48568c968
adding in download page and download cgi script
Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/b03e2251
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/b03e2251
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/b03e2251
Branch: refs/heads/master
Commit: b03e225183f3a6955afadce1ca023c5624e47690
Parents: cbd34fb
Author: Rob Tompkins <ch...@apache.org>
Authored: Wed Jan 10 19:54:49 2018 -0500
Committer: Rob Tompkins <ch...@apache.org>
Committed: Wed Jan 10 19:54:49 2018 -0500
----------------------------------------------------------------------
src/site/resources/download_release_plugin.cgi | 4 +
.../xdoc/download_commons-release-plugin.xml | 154 +++++++++++++++++++
2 files changed, 158 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/b03e2251/src/site/resources/download_release_plugin.cgi
----------------------------------------------------------------------
diff --git a/src/site/resources/download_release_plugin.cgi b/src/site/resources/download_release_plugin.cgi
new file mode 100644
index 0000000..495cde1
--- /dev/null
+++ b/src/site/resources/download_release_plugin.cgi
@@ -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
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/b03e2251/src/site/xdoc/download_commons-release-plugin.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/download_commons-release-plugin.xml b/src/site/xdoc/download_commons-release-plugin.xml
new file mode 100644
index 0000000..02e8d26
--- /dev/null
+++ b/src/site/xdoc/download_commons-release-plugin.xml
@@ -0,0 +1,154 @@
+<?xml version="1.0"?>
+<!--
+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.
+-->
+<!--
+ +======================================================================+
+ |**** ****|
+ |**** THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN ****|
+ |**** DO NOT EDIT DIRECTLY ****|
+ |**** ****|
+ +======================================================================+
+ | TEMPLATE FILE: download-page-template.xml |
+ | commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
+ +======================================================================+
+ | |
+ | 1) Re-generate using: mvn commons:download-page |
+ | |
+ | 2) Set the following properties in the component's pom: |
+ | - commons.componentid (required, alphabetic, lower case) |
+ | - commons.release.version (required) |
+ | - commons.release.name (required) |
+ | - commons.binary.suffix (optional) |
+ | (defaults to "-bin", set to "" for pre-maven2 releases) |
+ | - commons.release.desc (optional) |
+ | - commons.release.subdir (optional) |
+ | |
+ | - commons.release.2/3.version (conditional) |
+ | - commons.release.2/3.name (conditional) |
+ | - commons.release.2/3.binary.suffix (optional) |
+ | - commons.release.2/3.desc (optional) |
+ | - commons.release.2/3.subdir (optional) |
+ | |
+ | 3) Example Properties |
+ | (commons.release.name inherited by parent: |
+ | ${project.artifactId}-${commons.release.version} |
+ | |
+ | <properties> |
+ | <commons.componentid>math</commons.componentid> |
+ | <commons.release.version>1.2</commons.release.version> |
+ | </properties> |
+ | |
+ +======================================================================+
+-->
+<document>
+ <properties>
+ <title>Download Apache Commons Release Plugin</title>
+ <author email="dev@commons.apache.org">Apache Commons Documentation Team</author>
+ </properties>
+ <body>
+ <section name="Download Apache Commons Release Plugin">
+ <subsection name="Using a Mirror">
+ <p>
+ We recommend you use a mirror to download our release
+ builds, but you <strong>must</strong> <a href="http://www.apache.org/info/verification.html">verify the integrity</a> of
+ the downloaded files using signatures downloaded from our main
+ distribution directories. Recent releases (48 hours) may not yet
+ be available from all the mirrors.
+ </p>
+
+ <p>
+ You are currently using <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.
+ <br></br>
+ [if-any logo]<a href="[link]"><img align="right" src="[logo]" border="0"></img></a>[end]
+ </p>
+
+ <form action="[location]" method="get" id="SelectMirror">
+ <p>
+ 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"></input>
+ </p>
+ </form>
+
+ <p>
+ It is essential that you
+ <a href="https://www.apache.org/info/verification.html">verify the integrity</a>
+ of downloaded files, preferably using the <code>PGP</code> signature (<code>*.asc</code> files);
+ failing that using the <code>MD5</code> hash (<code>*.md5</code> checksum files).
+ </p>
+ <p>
+ The <a href="https://www.apache.org/dist/commons/KEYS">KEYS</a>
+ file contains the public PGP keys used by Apache Commons developers
+ to sign releases.
+ </p>
+ </subsection>
+ </section>
+ <section name="Apache Commons Release Plugin 0.1-SNAPSHOT ">
+ <subsection name="Binaries">
+ <table>
+ <tr>
+ <td><a href="[preferred]/commons/commons-release-plugin/binaries/commons-release-plugin-0.1-SNAPSHOT-bin.tar.gz">commons-release-plugin-0.1-SNAPSHOT-bin.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-0.1-SNAPSHOT-bin.tar.gz.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-0.1-SNAPSHOT-bin.tar.gz.asc">pgp</a></td>
+ </tr>
+ <tr>
+ <td><a href="[preferred]/commons/commons-release-plugin/binaries/commons-release-plugin-0.1-SNAPSHOT-bin.zip">commons-release-plugin-0.1-SNAPSHOT-bin.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-0.1-SNAPSHOT-bin.zip.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-0.1-SNAPSHOT-bin.zip.asc">pgp</a></td>
+ </tr>
+ </table>
+ </subsection>
+ <subsection name="Source">
+ <table>
+ <tr>
+ <td><a href="[preferred]/commons/commons-release-plugin/source/commons-release-plugin-0.1-SNAPSHOT-src.tar.gz">commons-release-plugin-0.1-SNAPSHOT-src.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-0.1-SNAPSHOT-src.tar.gz.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-0.1-SNAPSHOT-src.tar.gz.asc">pgp</a></td>
+ </tr>
+ <tr>
+ <td><a href="[preferred]/commons/commons-release-plugin/source/commons-release-plugin-0.1-SNAPSHOT-src.zip">commons-release-plugin-0.1-SNAPSHOT-src.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-0.1-SNAPSHOT-src.zip.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-0.1-SNAPSHOT-src.zip.asc">pgp</a></td>
+ </tr>
+ </table>
+ </subsection>
+ </section>
+ <section name="Archives">
+ <p>
+ Older releases can be obtained from the archives.
+ </p>
+ <ul>
+ <li class="download"><a href="[preferred]/commons/commons-release-plugin/">browse download area</a></li>
+ <li><a href="https://archive.apache.org/dist/commons/commons-release-plugin/">archives...</a></li>
+ </ul>
+ </section>
+ </body>
+</document>
[2/2] commons-release-plugin git commit: download_release_plugin.cgi
-> download_commons-release-plugin.cgi
Posted by ch...@apache.org.
download_release_plugin.cgi -> download_commons-release-plugin.cgi
Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/48568c96
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/48568c96
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/48568c96
Branch: refs/heads/master
Commit: 48568c968918643650efa4a6bbd67f3c87671ee0
Parents: b03e225
Author: Rob Tompkins <ch...@apache.org>
Authored: Wed Jan 10 19:57:39 2018 -0500
Committer: Rob Tompkins <ch...@apache.org>
Committed: Wed Jan 10 19:57:39 2018 -0500
----------------------------------------------------------------------
src/site/resources/download_commons-release-plugin.cgi | 4 ++++
src/site/resources/download_release_plugin.cgi | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/48568c96/src/site/resources/download_commons-release-plugin.cgi
----------------------------------------------------------------------
diff --git a/src/site/resources/download_commons-release-plugin.cgi b/src/site/resources/download_commons-release-plugin.cgi
new file mode 100644
index 0000000..495cde1
--- /dev/null
+++ b/src/site/resources/download_commons-release-plugin.cgi
@@ -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
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/48568c96/src/site/resources/download_release_plugin.cgi
----------------------------------------------------------------------
diff --git a/src/site/resources/download_release_plugin.cgi b/src/site/resources/download_release_plugin.cgi
deleted file mode 100644
index 495cde1..0000000
--- a/src/site/resources/download_release_plugin.cgi
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/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