This is an automated email from the ASF dual-hosted git repository.
skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git
The following commit(s) were added to refs/heads/master by this push:
new d87b500 adding download placeholder using mirror.cgi
new 6d39a15 Merge pull request #336 from ebarboni/mavendl
d87b500 is described below
commit d87b500cee910efef14c2f9eb80f012a00729db8
Author: Eric Barboni <[email protected]>
AuthorDate: Fri Mar 8 15:24:09 2019 +0100
adding download placeholder using mirror.cgi
---
netbeans.apache.org/build.gradle | 2 +-
.../src/content/download/maven/index.asciidoc | 86 ++++++++++++++++++++++
.../src/content/download/maven/index.cgi | 22 ++++++
3 files changed, 109 insertions(+), 1 deletion(-)
diff --git a/netbeans.apache.org/build.gradle b/netbeans.apache.org/build.gradle
index a5c9151..0458e69 100644
--- a/netbeans.apache.org/build.gradle
+++ b/netbeans.apache.org/build.gradle
@@ -67,7 +67,7 @@ task preprocessContentAssets(type: Copy,
"**/*.jpeg", "**/*.jpg",
"**/*.svg", "**/*.ttf",
"**/*.woff", "**/.htaccess",
- "fonts/**"
+ "fonts/**","**/*.cgi"
exclude "/templates/**"
}
diff --git a/netbeans.apache.org/src/content/download/maven/index.asciidoc
b/netbeans.apache.org/src/content/download/maven/index.asciidoc
new file mode 100644
index 0000000..d14f0c7
--- /dev/null
+++ b/netbeans.apache.org/src/content/download/maven/index.asciidoc
@@ -0,0 +1,86 @@
+////
+ 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.
+////
+////
+
+NOTE:
+See https://www.apache.org/dev/release-download-pages.html
+for important requirements for download pages for Apache projects.
+
+////
+= Apache NetBeans Releases
+:jbake-type: page
+:jbake-tags: download
+:jbake-status: published
+:keywords: Apache NetBeans releases
+:description: Apache NetBeans Releases Page
+:toc: left
+:toc-title:
+:linkattrs:
+
+== Mirror selection
+////
+ use raw html to epalce bracket items with apache mirror with the cgi script
+////
+++++
+<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="https://www.apache.org/mirrors/">complete
list of mirrors.</a>
+</p>
+
+++++
+
+== Apache NetBeans (incubating) parent pom 1
+
+link:++[prefered]incubator/netbeans/incubating-netbeans-mavenutils/apache-netbeans-parent-1/incubating-apache-netbeans-parent-1-source-release.zip++[netbeans/incubating-nebeans-mavenutils/apache-netbeans-parent-1/incubating-apache-netbeans-parent-1-source-release.zip]
+
+
+== Others
+
+placeholder
diff --git a/netbeans.apache.org/src/content/download/maven/index.cgi
b/netbeans.apache.org/src/content/download/maven/index.cgi
new file mode 100644
index 0000000..4af6dd9
--- /dev/null
+++ b/netbeans.apache.org/src/content/download/maven/index.cgi
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# 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.
+#
+# 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 $*
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists