[struts-site] branch master updated: Contributors guide (#147)

2020-10-04 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
 new 192213d  Contributors guide (#147)
192213d is described below

commit 192213dc05bbd0eec83dc935ec690d17927c840d
Author: Lukasz Lenart 
AuthorDate: Sun Oct 4 09:50:34 2020 +0200

Contributors guide (#147)

* Creates Contributors Guide starting page

* Drops WIP

* Adds how to build

* Adds Contributors Guide to the menu

* Adding section how create a release

* Uses the latest Maven summary

* Adds One time steps page

* Adds Sample Announcements page

* Converts new pages related to creating distro

* Uses proper back navigation

* Converts release guidelines

* Small updates

* Adds missing pages
---
 source/_includes/header.html   |   1 +
 source/contributors/building-fast-track-release.md |  48 +
 source/contributors/building-normal-release.md | 229 +
 source/contributors/building-struts-annotations.md |  46 +
 source/contributors/building-struts-master.md  | 112 ++
 .../building-the-framework-from-source.md  |  70 +++
 source/contributors/building-with-maven.md | 189 +
 .../creating-and-signing-a-distribution.md |  37 
 source/contributors/documentation-style-guide.md   | 214 +++
 source/contributors/editing-the-documentation.md   |  51 +
 source/contributors/index.md   |  36 
 source/contributors/obtaining-an-idea-license.md   |  29 +++
 source/contributors/one-time-steps.md  | 128 
 source/contributors/precise-error-reporting.md |  31 +++
 source/contributors/sample-announcements.md| 196 ++
 source/core-developers/index.md|   2 +-
 source/updating-website.md |   6 +-
 17 files changed, 1421 insertions(+), 4 deletions(-)

diff --git a/source/_includes/header.html b/source/_includes/header.html
index 53cb691..25b579f 100644
--- a/source/_includes/header.html
+++ b/source/_includes/header.html
@@ -79,6 +79,7 @@
 You at Struts
 How to Help FAQ
 Development Lists
+Contributors Guide
 
 Submitting 
patches
 Source Code and Builds
diff --git a/source/contributors/building-fast-track-release.md 
b/source/contributors/building-fast-track-release.md
new file mode 100644
index 000..7983c9d
--- /dev/null
+++ b/source/contributors/building-fast-track-release.md
@@ -0,0 +1,48 @@
+---
+layout: default
+title: Building Fast Track Release
+parent:
+  title: Creating and Signing a Distribution
+  url: creating-and-signing-a-distribution
+---
+
+# Building fast track release
+{:.no_toc}
+
+* Will be replaced with the ToC, excluding a header
+{:toc}
+
+## Getting ready
+
+Follow the same steps as for [Normal Release](building-normal-release)
+
+Please be aware you should create a new Security Bulletin in secret, you 
should assign only `struts-committers` group 
+to be visible for. If the release will fix a - hopefully yet undisclosed - 
security issue, you must update 
+the [Security 
Bulletins](https://cwiki.apache.org/confluence/display/WW/Security+Bulletins) 
page. It also needs to be 
+accessible only by members of the `struts-committers` group.
+
+## Apply security patch
+
+Apply and commit security patch.
+
+## Next steps
+
+Follow the same steps as for [Normal Release](building-normal-release)
+
+- Prepare release
+- Perform the release
+- Jira stuff
+- Vote on it
+  - Post a release/quality vote to the dev list (and **only** the dev list). 
The example mail is on [Sample announcements](sample-announcements)
+page. Include the term "fast-track" in the subject, as: [VOTE] Struts 
2.0.9.1 quality (fast track).
+Please be aware this vote should be open only 24h! 
+- Copy files
+- Promote release
+- Clean up old releases
+- Wait for rsync
+- Update site
+- Post announcements
+  - Announce the release and the vulnerability. Typically, this will be sent 
to the reporter, the project's users list 
+(user@struts.a.o), the project's dev list (dev@struts.a.o), the project's 
announce list (announcements@struts.a.o), 
+secur...@apache.org, full-disclos...@lists.grok.org.uk and 
bugt...@securityfocus.com.
+Samples are available at [Sample announcements](sample-announcements) page.
diff --git a/source/contributors/building-normal-release.md 
b/source/contributors/building-normal-release.md
new file mode 100644
index 000..c154b18
--- /dev/null
+++ b/source/contributors/building-normal-release.md
@@ -0,0 +1,229 @@
+---
+layout: default
+title: Building Normal Release
+parent:
+  t

Buildbot success in on jekyll_websites

2020-10-04 Thread buildbot
The Buildbot has detected a passing build on builder jekyll_websites while 
building struts.
Full details are available at:
https://ci2.apache.org/#builders/7/builds/209

Buildbot URL: https://ci2.apache.org/

Worker for this Build: bb_slave10_ubuntu

Build Reason: Triggered jekyll auto-build via .asf.yaml by lukaszlenart
Blamelist: asfinfra, commits@struts.apache.org

Build succeeded!

Sincerely,
 -The Buildbot



[struts-site] branch master updated: Adds some love to valdiation section

2020-10-04 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
 new 43e03c7  Adds some love to valdiation section
43e03c7 is described below

commit 43e03c768be1d63645367fe876ee4ee3ba60170d
Author: Lukasz Lenart 
AuthorDate: Sun Oct 4 10:31:51 2020 +0200

Adds some love to valdiation section
---
 source/core-developers/basic-validation.md |  42 -
 source/core-developers/client-side-validation.md   |  49 +-
 .../conditionalvisitor-validator.md|  12 ++-
 source/core-developers/conversion-validator.md |  65 --
 source/core-developers/date-validator.md   |  18 ++--
 source/core-developers/double-validator.md |  17 +++-
 source/core-developers/email-validator.md  |  17 +++-
 source/core-developers/expression-validator.md |   9 +-
 .../core-developers/fieldexpression-validator.md   |  11 ++-
 source/core-developers/int-validator.md|  15 +++-
 source/core-developers/namespace-annotation.md |   7 +-
 source/core-developers/regex-validator.md  |  13 ++-
 source/core-developers/required-validator.md   |   9 +-
 source/core-developers/requiredstring-validator.md |  12 ++-
 source/core-developers/short-validator.md  |  15 +++-
 source/core-developers/stringlength-validator.md   |  18 +++-
 source/core-developers/url-validator.md|  11 ++-
 source/core-developers/using-field-validators.md   | 100 +
 .../using-visitor-field-validator.md   |  73 +--
 source/core-developers/validation.md   |  48 +-
 source/core-developers/visitor-validator.md|  14 ++-
 source/core-developers/zero-configuration.md   |  99 
 22 files changed, 322 insertions(+), 352 deletions(-)

diff --git a/source/core-developers/basic-validation.md 
b/source/core-developers/basic-validation.md
index 9db87bc..96c4281 100644
--- a/source/core-developers/basic-validation.md
+++ b/source/core-developers/basic-validation.md
@@ -1,20 +1,24 @@
 ---
 layout: core-developers
 title: Basic Validation
+parent:
+title: Validation
+url: validation.html
 ---
 
 # Basic Validation
+{:.no_toc}
 
-Let's configure a basic validation workflow, step by step\.
+* Will be replaced with the ToC, excluding a header
+{:toc}
 
-## Step 1
-
-Create the input form\.
+Let's configure a basic validation workflow, step by step.
 
-{% comment %}start snippet 
id=basicValidation|javadoc=false|lang=xml|url=struts2/apps/showcase/src/main/webapp/WEB-INF/validation/quiz-basic.jsp
 {% endcomment %}
+## Step 1
 
-```xml
+Create the input form.
 
+```html
 
 
Struts2 Showcase - Validation - Basic
@@ -47,19 +51,13 @@ Create the input form\.
 
 
 
-
 ```
 
-{% comment %}end snippet 
id=basicValidation|javadoc=false|lang=xml|url=struts2/apps/showcase/src/main/webapp/WEB-INF/validation/quiz-basic.jsp
 {% endcomment %}
-
 ## Step 2
 
-Create the Action class\.
-
-{% comment %}start snippet 
id=quizAction|javadoc=false|lang=java|url=struts2/apps/showcase/src/main/java/org/apache/struts2/showcase/validation/QuizAction.java
 {% endcomment %}
+Create the Action class.
 
 ```java
-
 public class QuizAction extends ActionSupport {
 
private static final long serialVersionUID = -7505437345373234225L;
@@ -92,17 +90,12 @@ public class QuizAction extends ActionSupport {
this.answer = answer;
}
 }
-
-
 ```
 
-{% comment %}end snippet 
id=quizAction|javadoc=false|lang=java|url=struts2/apps/showcase/src/main/java/org/apache/struts2/showcase/validation/QuizAction.java
 {% endcomment %}
-
 ## Step 3
 
-Create the validators\. The `validation.xml` format is either 
`-validation.xml` or 
`--validation.xml`\.
-
-{% comment %}start snippet 
id=quizValidators|javadoc=false|lang=xml|url=struts2/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/QuizAction-validation.xml
 {% endcomment %}
+Create the validators. The `validation.xml` format is either 
`-validation.xml`
+or `--validation.xml`.
 
 ```xml
 
 
 myField
@@ -32,11 +39,15 @@ Field Validator that checks if a conversion error occurred 
for this field.
 
 ## Repopulating Field upon conversion Error
 
- The capability of auto-repopulating the stack with a fake parameter map when 
a conversion error has occurred can be done with `repopulateField` property set 
to `true`.
+> The capability of auto-repopulating the stack with a fake parameter map when 
a conversion error has occurred can be 
+> done with `repopulateField` property set to `true`.
 
-This is typically useful when one wants to repopulate the field with the 
original value when a conversion error occurred. Eg. with a textfield that only 
allows an Integer (the action class have an Integer field declared), upon 
co

[struts-site] branch asf-site updated: Automatic Site Publish by Buildbot

2020-10-04 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-site
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new c68849d  Automatic Site Publish by Buildbot
c68849d is described below

commit c68849dcfca72a1745303904980f267c19d31656
Author: buildbot 
AuthorDate: Sun Oct 4 08:32:42 2020 +

Automatic Site Publish by Buildbot
---
 output/core-developers/basic-validation.html   |  25 +-
 output/core-developers/client-side-validation.html |  54 ++--
 .../conditionalvisitor-validator.html  |  23 +-
 output/core-developers/conversion-validator.html   | 115 +
 output/core-developers/date-validator.html |  69 +++---
 output/core-developers/double-validator.html   |  66 ++---
 output/core-developers/email-validator.html|  66 ++---
 output/core-developers/expression-validator.html   |  20 +-
 .../core-developers/fieldexpression-validator.html |  40 +--
 output/core-developers/int-validator.html  |  64 ++---
 output/core-developers/namespace-annotation.html   |   3 +-
 output/core-developers/regex-validator.html|  54 ++--
 output/core-developers/required-validator.html |  34 +--
 .../core-developers/requiredstring-validator.html  |  55 +++--
 output/core-developers/short-validator.html|  64 ++---
 output/core-developers/stringlength-validator.html |  73 +++---
 output/core-developers/url-validator.html  |  38 +--
 output/core-developers/using-field-validators.html |  95 ---
 .../using-visitor-field-validator.html |  62 ++---
 output/core-developers/validation.html |  50 ++--
 output/core-developers/visitor-validator.html  |  43 ++--
 output/core-developers/zero-configuration.html | 274 -
 22 files changed, 607 insertions(+), 780 deletions(-)

diff --git a/output/core-developers/basic-validation.html 
b/output/core-developers/basic-validation.html
index 3b41d3f..734472e 100644
--- a/output/core-developers/basic-validation.html
+++ b/output/core-developers/basic-validation.html
@@ -129,7 +129,14 @@
   
 << back to Core 
Developers Guide
 https://github.com/apache/struts-site/edit/master/source/core-developers/basic-validation.md";
 title="Edit this page on GitHub">Edit on GitHub
-Basic Validation
+Basic Validation
+
+
+  Step 1
+  Step 2
+  Step 3
+  Step 4
+
 
 Let’s configure a basic validation workflow, step by step.
 
@@ -137,8 +144,7 @@
 
 Create the input form.
 
-
-
+
 
Struts2 Showcase - Validation - 
Basic

@@ -170,15 +176,13 @@