[accumulo-website] branch asf-staging updated: Automatic Site Publish by Buildbot

2021-07-13 Thread git-site-role
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 a4b714e  Automatic Site Publish by Buildbot
a4b714e is described below

commit a4b714e9e2aef78cfdd0770944ff92e13c867f39
Author: buildbot 
AuthorDate: Tue Jul 13 20:45:37 2021 +

Automatic Site Publish by Buildbot
---
 output/feed.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/output/feed.xml b/output/feed.xml
index edd6866..0abb5c8 100644
--- a/output/feed.xml
+++ b/output/feed.xml
@@ -6,8 +6,8 @@
 
 https://accumulo.apache.org/
 https://accumulo.apache.org/feed.xml; rel="self" 
type="application/rss+xml"/>
-Thu, 08 Jul 2021 22:23:19 +
-Thu, 08 Jul 2021 22:23:19 +
+Tue, 13 Jul 2021 20:45:31 +
+Tue, 13 Jul 2021 20:45:31 +
 Jekyll v4.2.0
 
 


[accumulo-website] branch main updated: Update gems

2021-07-13 Thread ctubbsii
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/main by this push:
 new 0f0a071  Update gems
0f0a071 is described below

commit 0f0a0715dc737c0a6de74adbd0d9ed71603542e8
Author: Christopher Tubbs 
AuthorDate: Tue Jul 13 16:44:37 2021 -0400

Update gems

Fixes CVE-2021-32740 in addressable gem
---
 Gemfile.lock | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Gemfile.lock b/Gemfile.lock
index ab5e99b..708511f 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,15 +1,15 @@
 GEM
   remote: https://rubygems.org/
   specs:
-addressable (2.7.0)
+addressable (2.8.0)
   public_suffix (>= 2.0.2, < 5.0)
 colorator (1.1.0)
-concurrent-ruby (1.1.8)
+concurrent-ruby (1.1.9)
 em-websocket (0.5.2)
   eventmachine (>= 0.12.9)
   http_parser.rb (~> 0.6.0)
 eventmachine (1.2.7)
-ffi (1.15.0)
+ffi (1.15.3)
 forwardable-extended (2.6.0)
 http_parser.rb (0.6.0)
 i18n (1.8.10)
@@ -47,7 +47,7 @@ GEM
 pathutil (0.16.2)
   forwardable-extended (~> 2.6)
 public_suffix (4.0.6)
-rb-fsevent (0.10.4)
+rb-fsevent (0.11.0)
 rb-inotify (0.10.1)
   ffi (~> 1.0)
 rexml (3.2.5)
@@ -70,4 +70,4 @@ RUBY VERSION
ruby 2.7.1p83
 
 BUNDLED WITH
-   2.1.4
+   2.2.15


[accumulo] branch main updated: Add since information to properties (#2190)

2021-07-13 Thread ctubbsii
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
 new ff835f2  Add since information to properties (#2190)
ff835f2 is described below

commit ff835f28445d2e0a1221da78e3656ba4c8c1240f
Author: Luke Foster <84727868+foste...@users.noreply.github.com>
AuthorDate: Tue Jul 13 16:42:20 2021 -0400

Add since information to properties (#2190)

* Add since information to properties
* Add links to replaced by properties
* Minor improvement to wording for description of 'experimental'
* Add strikethrough for deprecated properties' keys in addition to their
  descriptions
* Add clarifying information to new manager properties 'since'
  information, so that it shows the original name with its original
  availability, but the new name since 2.1.0
* Replace ternary statements with if-else statements for easier
  readability and maintainability.

Co-authored-by: Dom G. <47725857+domgargu...@users.noreply.github.com>
Co-authored-by: Christopher Tubbs 
---
 .../accumulo/core/conf/ConfigurationDocGen.java|  66 +-
 .../org/apache/accumulo/core/conf/Property.java| 846 +
 2 files changed, 568 insertions(+), 344 deletions(-)

diff --git 
a/core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java 
b/core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java
index ba60da2..13b89e3 100644
--- a/core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java
@@ -70,43 +70,63 @@ public class ConfigurationDocGen {
 + " that is copied from Accumulo build (from 
core/target/generated-docs)" + " -->\n");
 doc.println("Below are properties set in `accumulo.properties` or the"
 + " Accumulo shell that configure Accumulo servers (i.e tablet server,"
-+ " manager, etc). Properties labeled 'Experimental' could be part of 
an incomplete"
-+ " feature or have a higher risk of changing in the future.\n");
++ " manager, etc). Properties labeled 'Experimental' should not be 
considered stable"
++ " and have a higher risk of changing in the future.\n");
   }
 
   void prefixSection(Property prefix) {
 boolean depr = prefix.isDeprecated();
-doc.print("|  **"
-+ prefix.getKey() + "*** | ");
-doc.print(prefix.isExperimental() ? "**Experimental.** " : "");
-doc.println(
-(depr ? "**Deprecated.** " : "") + 
strike(sanitize(prefix.getDescription()), depr) + " |");
+String key = strike(" **" + prefix.getKey() + "***", depr);
+String description = prefix.isExperimental() ? "**Experimental**" : "";
+description += "**Available since:** " + prefix.availableSince() + "";
+if (depr) {
+  description += "*Deprecated since:* " + prefix.deprecatedSince() + 
"";
+  if (prefix.isReplaced())
+description +=
+"*Replaced by:* " + "" + prefix.replacedBy() + "";
+}
+description += strike(sanitize(prefix.getDescription()), depr);
+doc.println("| " + key + " | " + description + " |");
   }
 
   void property(Property prop) {
 boolean depr = prop.isDeprecated();
-doc.print("|  "
-+ prop.getKey() + " | ");
-doc.print(prop.isExperimental() ? "**Experimental.** " : "");
-doc.print(
-(depr ? "**Deprecated.** " : "") + 
strike(sanitize(prop.getDescription()), depr) + "");
-doc.print(strike("**type:** " + prop.getType().name(), depr) + ", ");
-doc.print(strike("**zk mutable:** " + isZooKeeperMutable(prop), depr) + ", 
");
+String key = strike(
+" " + prop.getKey(),
+depr);
+String description = prop.isExperimental() ? "**Experimental**" : "";
+description += "**Available since:** ";
+if (prop.getKey().startsWith("manager.")
+&& (prop.availableSince().startsWith("1.") || 
prop.availableSince().startsWith("2.0"))) {
+  description += "2.1.0 (since " + prop.availableSince() + " as *master."
+  + prop.getKey().substring(8) + "*)" + "";
+} else {
+  description += prop.availableSince() + "";
+}
+if (depr) {
+  description += "*Deprecated since:* " + prop.deprecatedSince() + "";
+  if (prop.isReplaced())
+description += "*Replaced by:* " + "" + 
prop.replacedBy() + "";
+}
+description += strike(sanitize(prop.getDescription()), depr) + ""
++ strike("**type:** " + prop.getType().name(), depr) + ", "
++ strike("**zk mutable:** " + isZooKeeperMutable(prop), depr) + ", ";
 String defaultValue = sanitize(prop.getDefaultValue()).trim();
 if (defaultValue.isEmpty()) {
-  defaultValue = strike("**default value:** empty", depr);
+  description += strike("**default value:** empty", depr);
 }