You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/11/17 14:10:06 UTC
(logging-log4j-transform) branch main updated: Provide a review kit in the vote email
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-transform.git
The following commit(s) were added to refs/heads/main by this push:
new 8f2e2bc Provide a review kit in the vote email
8f2e2bc is described below
commit 8f2e2bc6bc0b6564f23a6066661fc212ed619b45
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Fri Nov 17 15:10:21 2023 +0100
Provide a review kit in the vote email
---
.github/generate-email.sh | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/.github/generate-email.sh b/.github/generate-email.sh
index 67742fd..24a08ba 100755
--- a/.github/generate-email.sh
+++ b/.github/generate-email.sh
@@ -16,6 +16,10 @@
# limitations under the License.
#
+# Enable strict mode
+set -euo pipefail
+IFS=$'\n\t'
+
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
stderr() {
@@ -47,6 +51,13 @@ RELEASE_NOTES_FILE="$SCRIPT_DIR/../src/site/_release-notes/_$PROJECT_VERSION.ado
exit 1
}
+dump_review_kit() {
+ wget -q -O - https://raw.githubusercontent.com/apache/logging-parent/main/.github/release-review-kit.txt \
+ | sed -n '/-----8<-----~( cut here )~-----8<-----/,$p' \
+ | tail -n +2 \
+ | sed -r 's!^! !g'
+}
+
dump_release_notes() {
awk "f{print} /^Release date::/{f=1}" "$RELEASE_NOTES_FILE" \
| sed -r 's!'$PROJECT_REPO'/(issues|pull)/[0-9]+\[([0-9]+)\]!#\2!g' \
@@ -80,9 +91,17 @@ everyone to test the release, but only the Logging Services PMC
votes are officially counted. At least 3 +1 votes and more
positive than negative votes are required.
-# Release Notes
+=== Review kit
+
+The minimum set of steps needed to review the uploaded distribution
+files in the Subversion repository can be summarized as follows:
+
+$(dump_review_kit)
+
+# Release notes
+
+$(dump_release_notes)
EOF
- dump_release_notes
;;
announce)