This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new c611f61 Automatic Site Publish by Buildbot
c611f61 is described below
commit c611f614a6cb934ec2948da63460c0b898bf7133
Author: buildbot <[email protected]>
AuthorDate: Thu Apr 22 19:15:12 2021 +0000
Automatic Site Publish by Buildbot
---
output/downloads/index.html | 30 ++++++++++++++++++------------
output/feed.xml | 4 ++--
2 files changed, 20 insertions(+), 14 deletions(-)
diff --git a/output/downloads/index.html b/output/downloads/index.html
index bf0211b..619bd87 100644
--- a/output/downloads/index.html
+++ b/output/downloads/index.html
@@ -156,21 +156,27 @@ var mirrorsCallback = function(json) {
htmlContent += '<optgroup label="Preferred Mirror (based on location)">';
htmlContent += '<option selected="selected">' + json.preferred + '</option>';
htmlContent += '</optgroup>';
- htmlContent += '<optgroup label="HTTP Mirrors">';
- for (var i = 0; i < json.http.length; i++) {
- htmlContent += '<option>' + json.http[i] + '</option>';
+ if (json.hasOwnProperty('http')) {
+ htmlContent += '<optgroup label="HTTP Mirrors">';
+ for (var i = 0; i < json.http.length; i++) {
+ htmlContent += '<option>' + json.http[i] + '</option>';
+ }
+ htmlContent += '</optgroup>';
}
- htmlContent += '</optgroup>';
- htmlContent += '<optgroup label="FTP Mirrors">';
- for (var i = 0; i < json.ftp.length; i++) {
- htmlContent += '<option>' + json.ftp[i] + '</option>';
+ if (json.hasOwnProperty('ftp')) {
+ htmlContent += '<optgroup label="FTP Mirrors">';
+ for (var i = 0; i < json.ftp.length; i++) {
+ htmlContent += '<option>' + json.ftp[i] + '</option>';
+ }
+ htmlContent += '</optgroup>';
}
- htmlContent += '</optgroup>';
- htmlContent += '<optgroup label="Backup Mirrors">';
- for (var i = 0; i < json.backup.length; i++) {
- htmlContent += '<option>' + json.backup[i] + '</option>';
+ if (json.hasOwnProperty('backup')) {
+ htmlContent += '<optgroup label="Backup Mirrors">';
+ for (var i = 0; i < json.backup.length; i++) {
+ htmlContent += '<option>' + json.backup[i] + '</option>';
+ }
+ htmlContent += '</optgroup>';
}
- htmlContent += '</optgroup>';
htmlContent += '</select></div></div>';
$("#mirror_selection").html(htmlContent);
diff --git a/output/feed.xml b/output/feed.xml
index 17d2ab2..f56d063 100644
--- a/output/feed.xml
+++ b/output/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>https://accumulo.apache.org/</link>
<atom:link href="https://accumulo.apache.org/feed.xml" rel="self"
type="application/rss+xml"/>
- <pubDate>Thu, 22 Apr 2021 18:58:42 +0000</pubDate>
- <lastBuildDate>Thu, 22 Apr 2021 18:58:42 +0000</lastBuildDate>
+ <pubDate>Thu, 22 Apr 2021 19:15:06 +0000</pubDate>
+ <lastBuildDate>Thu, 22 Apr 2021 19:15:06 +0000</lastBuildDate>
<generator>Jekyll v4.2.0</generator>