Skip to content

docs: add the one-time release setup steps to the guidelines - #325

Merged
lukaszlenart merged 1 commit into
mainfrom
docs/release-setup-prerequisites
Aug 14, 2026
Merged

docs: add the one-time release setup steps to the guidelines#325
lukaszlenart merged 1 commit into
mainfrom
docs/release-setup-prerequisites

Conversation

@lukaszlenart

Copy link
Copy Markdown
Member

Follow-up to #324, and a prerequisite for retiring the cwiki release pages.

Why

#324 left the guidelines saying what a release manager needs access to — a signing key, ASF credentials for svn and Nexus — without saying how any of it is configured. That left the cwiki page One time steps as the only place describing the KEYS file and ~/.m2/settings.xml, and release:perform does not work without them. Stubbing that page before porting this would have deleted a working instruction and put nothing in its place.

What's ported

A Setting up for your first release section under Before you start, covering the signing key and KEYS, the Maven settings, and MAVEN_OPTS.

Modernised rather than copied:

  • KEYS moved. It lives in dist/release/struts now; the old page appends to a copy in svn.apache.org/repos/asf/struts/maven/trunk/build and scps it to people.apache.org.
  • The SSH section is dropped entirely. It existed for scp deploys to people.apache.org and for a known_hosts hashing bug in Maven Wagon — a dead host and a dead code path.
  • Credential handling deviates deliberately. The old page puts the ASF LDAP password and the GPG passphrase in clear text in settings.xml. This points at mvn --encrypt-password and gpg-agent instead, with a warning callout. Publishing the clear-text version on the project website was not something worth doing.
  • Links go to infra.apache.org rather than the retired apache.org/dev/ paths.

The retagging and svn propset notes at the bottom of that page are not ported: both are Subversion-era and the repository has been on git for years.

Verified

bundle exec jekyll build clean. The new ### section appears in the generated ToC; its #### subsections correctly do not, since _config.yml sets toc_levels: 1..3.

Next

Once this merges, the seven cwiki release pages get replaced with pointer stubs, as recorded in #324.

🤖 Generated with Claude Code

The guidelines listed what a release manager needs access to but never
said how to configure any of it, which left the cwiki page "One time
steps" as the only description of the signing key, the KEYS file and
~/.m2/settings.xml - and release:perform does not work without them.

Port the parts that are still true and drop the rest. The KEYS file now
lives in dist/release/struts rather than on people.apache.org, and the
SSH key setup that page describes existed for scp deploys to a host that
no longer exists.

Deviate from the old page on credential handling: it stored the LDAP
password and the GPG passphrase in clear text in settings.xml. Point at
mvn --encrypt-password and gpg-agent instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@asf-ci

asf-ci commented Aug 14, 2026

Copy link
Copy Markdown

Staged site is ready at https://struts.staged.apache.org/

@lukaszlenart
lukaszlenart merged commit 583acf3 into main Aug 14, 2026
1 check passed
@lukaszlenart
lukaszlenart deleted the docs/release-setup-prerequisites branch August 14, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants