-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'apache/0.3.x' into feature/log4j-codegen
- Loading branch information
Showing
56 changed files
with
672 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,18 +15,34 @@ | |
# limitations under the License. | ||
# | ||
|
||
# `.asf.yaml` documentation: https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features | ||
# `.asf.yaml` is a branch-specific YAML configuration file for Git repositories to control features such as notifications, GitHub settings, etc. | ||
# See its documentation for details: https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features | ||
|
||
# Bare minimum `notifications` to | ||
# | ||
# 1. Forward GitHub _activity_ to `notifications@` | ||
# 2. Forward commits to `commits@` | ||
# 3. Forward `dependabot` PRs to `robots@` | ||
# | ||
# Note that `notifications` are merged with the defaults accessible from: https://gitbox.apache.org/schemes.cgi?logging-log4j-transform | ||
notifications: | ||
commits: [email protected] | ||
issues: [email protected] | ||
pullrequests: [email protected] | ||
pullrequests_bot_dependabot: [email protected] | ||
|
||
github: | ||
description: "Tools for binary post-processing of projects using Apache Log4j." | ||
homepage: https://logging.apache.org/log4j/2.x/ | ||
homepage: https://logging.apache.org/log4j/transform | ||
labels: | ||
- apache | ||
- java | ||
- log4j | ||
- log4j2 | ||
- logging | ||
|
||
del_branch_on_merge: true | ||
|
||
features: | ||
issues: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ PROJECT_VERSION="$2" | |
COMMIT_ID="$3" | ||
|
||
# Check release notes file | ||
RELEASE_NOTES_FILE="$SCRIPT_DIR/../src/site/_release-notes/_$PROJECT_VERSION.adoc" | ||
RELEASE_NOTES_FILE="$SCRIPT_DIR/../target/generated-site/antora/modules/ROOT/pages/_release-notes/$PROJECT_VERSION.adoc" | ||
[ -f "$RELEASE_NOTES_FILE" ] || { | ||
stderr "Couldn't find release notes file: $RELEASE_NOTES_FILE" | ||
exit 1 | ||
|
@@ -69,11 +69,11 @@ case $1 in | |
vote) | ||
cat <<EOF | ||
To: [email protected] | ||
Title: [VOTE] Release $PROJECT_NAME $PROJECT_VERSION | ||
Title: [VOTE] Release $PROJECT_NAME \`$PROJECT_VERSION\` | ||
This is a vote to release the $PROJECT_NAME $PROJECT_VERSION. | ||
This is a vote to release the $PROJECT_NAME \`$PROJECT_VERSION\`. | ||
Website: $PROJECT_STAGING_SITE | ||
Website: $PROJECT_STAGING_SITE-$PROJECT_VERSION | ||
GitHub: $PROJECT_REPO | ||
Commit: $COMMIT_ID | ||
Distribution: $PROJECT_DIST_DIR | ||
|
@@ -91,32 +91,31 @@ 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. | ||
=== Review kit | ||
== 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) | ||
== Release Notes | ||
EOF | ||
dump_release_notes | ||
;; | ||
|
||
announce) | ||
cat <<EOF | ||
To: [email protected], [email protected] | ||
Title: [ANNOUNCE] $PROJECT_NAME $PROJECT_VERSION released | ||
Title: [ANNOUNCE] $PROJECT_NAME \`$PROJECT_VERSION\` released | ||
${PROJECT_NAME} team is pleased to announce the $PROJECT_VERSION | ||
${PROJECT_NAME} team is pleased to announce the \`$PROJECT_VERSION\` | ||
release. This project contains tools for binary postprocessing of | ||
projects that use the Apache Log4j API. For further information | ||
(support, download, etc.) see the project website[1]. | ||
[1] $PROJECT_SITE | ||
=== Release Notes | ||
== Release Notes | ||
EOF | ||
dump_release_notes | ||
;; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
name: codeql-analysis | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
schedule: | ||
# At 06:00 on Monday | ||
- cron: "00 06 * * 1" | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
|
||
analyze: | ||
uses: apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/11.0.0 | ||
# Permissions required to publish Security Alerts | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
name: deploy-site | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "main-site-pro" | ||
- "release/*" | ||
paths-ignore: | ||
- "**.md" | ||
- "**.txt" | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
|
||
deploy-site-stg: | ||
if: github.repository == 'apache/logging-log4j-transform' && github.ref_name == 'main' | ||
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.0.0 | ||
# Secrets for committing the generated site | ||
secrets: | ||
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }} | ||
# Write permissions for committing the generated site | ||
permissions: | ||
contents: write | ||
with: | ||
asf-yaml-content: | | ||
staging: | ||
profile: ~ | ||
whoami: ${{ github.ref_name }}-site-stg-out | ||
subdir: content/log4j/transform | ||
target-branch: ${{ github.ref_name }}-site-stg-out | ||
|
||
deploy-site-pro: | ||
if: github.repository == 'apache/logging-log4j-transform' && github.ref_name == 'main-site-pro' | ||
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.0.0 | ||
# Secrets for committing the generated site | ||
secrets: | ||
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }} | ||
# Write permissions for committing the generated site | ||
permissions: | ||
contents: write | ||
with: | ||
asf-yaml-content: | | ||
publish: | ||
profile: ~ | ||
whoami: ${{ github.ref_name }}-out | ||
subdir: content/log4j/transform | ||
target-branch: ${{ github.ref_name }}-out | ||
|
||
export-version: | ||
if: github.repository == 'apache/logging-log4j-transform' && startsWith(github.ref_name, 'release/') | ||
runs-on: ubuntu-latest | ||
outputs: | ||
version: ${{ steps.export-version.outputs.version }} | ||
steps: | ||
- name: Export version | ||
id: export-version | ||
run: | | ||
version=$(echo "${{ github.ref_name }}" | sed 's/^release\///') | ||
echo "version=$version" >> "$GITHUB_OUTPUT" | ||
deploy-site-rel: | ||
needs: export-version | ||
uses: apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.0.0 | ||
# Secrets for committing the generated site | ||
secrets: | ||
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }} | ||
# Write permissions for committing the generated site | ||
permissions: | ||
contents: write | ||
with: | ||
asf-yaml-content: | | ||
staging: | ||
profile: ~ | ||
whoami: ${{ github.ref_name }}-site-stg-out | ||
subdir: content/log4j/transform-${{ needs.export-version.outputs.version }} | ||
target-branch: ${{ github.ref_name }}-site-stg-out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,7 @@ | |
dependency-reduced-pom.xml | ||
/.mvn/wrapper/maven-wrapper.jar | ||
target/ | ||
# Node | ||
node | ||
node_modules | ||
package-lock.json |
Oops, something went wrong.