Copilot commented on code in PR #13743:
URL: https://github.com/apache/gluten/pull/13743#discussion_r4673029480


##########
dev/release/package-release.sh:
##########
@@ -87,12 +87,12 @@ for v in $SPARK_VERSIONS; do
   rm -rf "${BIN_DIR}"
 done
 
-SRC_ZIP="${TAG}.zip"
+SRC_ZIP="${TAG}.tar.gz"
 SRC_DIR="gluten-${RELEASE_VERSION}"
 
 echo "Packaging source code..."
 wget https://github.com/apache/gluten/archive/refs/tags/${SRC_ZIP}
-unzip -q ${SRC_ZIP}
+tar -xzf ${SRC_ZIP}

Review Comment:
   This switches the extractor to gzip-tar, but the existing 
`test_release_tarballs_include_referenced_licenses` fixture still creates a ZIP 
archive and the fake `wget` copies it to this `.tar.gz` path. That test now 
fails at extraction with 'not in gzip format', so update the fixture to create 
a gzip tar archive (or retain ZIP compatibility if both formats are intended).



##########
docs/developers/HowToRelease.md:
##########
@@ -538,3 +538,42 @@ svn mv --username <asf-id> \
 - Update the download page on the website.
 - Bump the development version on the release branch with
   `bash dev/release/bump-version.sh <next-version>-SNAPSHOT`.
+
+## Alternative: Apache Trusted Releases (ATR)
+
+[Apache Trusted Releases](https://releases.apache.org/) (ATR) is the ASF's 
release platform. It
+went to Beta in October 2026, and several projects already release through it. 
It replaces the SVN
+steps: you upload artifacts to ATR instead of `dist.apache.org`, and ATR 
publishes them to
+`dist/release/gluten/` once the vote passes. ATR is still in Beta, so follow 
its own documentation
+at <https://releases.apache.org/docs/> (tutorial at 
<https://releases.apache.org/tutorial>) where it
+differs from this summary.
+
+**Choose ATR or SVN for each release candidate, never both.** ATR keeps its 
own record of the
+candidate. Mixing the two paths leaves the SVN copy and the ATR record out of 
sync.
+
+What stays the same:
+
+- Building, packaging and the preflight (steps 1–2).
+- **Signing.** ASF policy still requires a detached GPG signature and a 
SHA-512 checksum for every
+  artifact, made by the release manager. ATR doesn't sign for you, so run
+  `dev/release/sign-artifacts.sh` (steps 6–8) as before.
+- **`KEYS`.** Keep your key in <https://downloads.apache.org/gluten/KEYS> 
(step 5), which voters
+  verify against.
+- The vote on [email protected] with at least 3 binding PMC +1s, open for 
at least 72 hours.
+
+What changes:
+
+| SVN step | With ATR |
+|---|---|
+| — | One-time setup: upload your OpenPGP public key at 
<https://releases.apache.org/keys>. For rsync uploads, add an SSH public key on 
the same page. API tokens are created at <https://releases.apache.org/tokens> 
and expire after 180 days. |
+| 9–10. `svn co` / `svn add` / `svn ci` to `dist/dev`, then check the listing 
| Create the candidate in ATR and upload the tarballs with their `.asc` and 
`.sha512` files (web UI, rsync or API). ATR runs its own checks on them 
(signatures, checksums, licenses). Review the results, together with 
`dev/release/verify-release.sh`, before calling the vote. |

Review Comment:
   `dev/release/verify-release.sh` is not present in the repository; the 
verification procedure is the inline commands in steps 2 and 8. This reference 
would send release managers to a nonexistent script, so point it at those steps 
or add the script.



##########
dev/release/package-release.sh:
##########
@@ -56,7 +56,7 @@ fi
 
 pushd $GLUTEN_HOME/release/
 
-SPARK_VERSIONS="3.4 3.5 4.0 4.1"
+SPARK_VERSIONS="3.4 3.5 4.0 4.1 4.2"

Review Comment:
   Adding 4.2 here makes the packaging script require a fifth input JAR, but 
the release instructions still enumerate only four JARs (through Spark 4.1) and 
four binary archives. Following `HowToRelease.md` therefore omits the new 
required 4.2 artifact and the script exits at its missing-JAR check. Please 
update the release instructions and artifact examples in the same change.



##########
docs/developers/HowToRelease.md:
##########
@@ -538,3 +538,42 @@ svn mv --username <asf-id> \
 - Update the download page on the website.
 - Bump the development version on the release branch with
   `bash dev/release/bump-version.sh <next-version>-SNAPSHOT`.
+
+## Alternative: Apache Trusted Releases (ATR)
+
+[Apache Trusted Releases](https://releases.apache.org/) (ATR) is the ASF's 
release platform. It
+went to Beta in October 2026, and several projects already release through it. 
It replaces the SVN
+steps: you upload artifacts to ATR instead of `dist.apache.org`, and ATR 
publishes them to
+`dist/release/gluten/` once the vote passes. ATR is still in Beta, so follow 
its own documentation
+at <https://releases.apache.org/docs/> (tutorial at 
<https://releases.apache.org/tutorial>) where it
+differs from this summary.
+
+**Choose ATR or SVN for each release candidate, never both.** ATR keeps its 
own record of the
+candidate. Mixing the two paths leaves the SVN copy and the ATR record out of 
sync.
+
+What stays the same:
+
+- Building, packaging and the preflight (steps 1–2).
+- **Signing.** ASF policy still requires a detached GPG signature and a 
SHA-512 checksum for every
+  artifact, made by the release manager. ATR doesn't sign for you, so run
+  `dev/release/sign-artifacts.sh` (steps 6–8) as before.

Review Comment:
   `dev/release/sign-artifacts.sh` does not exist in this repository; steps 6–8 
contain inline GPG and checksum commands instead. Following this ATR path as 
written will fail, so please refer to those commands or add the script before 
documenting it here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to