This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch branch-4.x
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.x by this push:
     new f4af0114fa79 [SPARK-58077][INFRA] Add `--no-auth-cache` to svn ci/rm 
commands in `release-build.sh`
f4af0114fa79 is described below

commit f4af0114fa7976ef0048f95f5cb9cfd351531782
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Jul 9 16:09:34 2026 -0700

    [SPARK-58077][INFRA] Add `--no-auth-cache` to svn ci/rm commands in 
`release-build.sh`
    
    ### What changes were proposed in this pull request?
    
    Add the missing `--no-auth-cache` flag to two credentialed `svn` commands 
in the `finalize` step of `dev/create-release/release-build.sh`: the `svn ci` 
for the KEYS file sync and the `svn rm` for removing the older release.
    
    ### Why are the changes needed?
    
    All other `svn` commands using `--username`/`--password` in this script 
already pass `--no-auth-cache`. Without it, these two commands could leave the 
ASF password cached in plaintext under `~/.subversion/auth`.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manually reviewed.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Fable 5
    
    Closes #57174 from dongjoon-hyun/SPARK-58077.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit da882f1b65ff004e9c9e1ccde80568abadf0c71a)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 dev/create-release/release-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/create-release/release-build.sh 
b/dev/create-release/release-build.sh
index 0b428427c35d..92bb8f318f93 100755
--- a/dev/create-release/release-build.sh
+++ b/dev/create-release/release-build.sh
@@ -490,7 +490,7 @@ EOF
   echo "Sync'ing KEYS"
   svn co --depth=files "$RELEASE_LOCATION" svn-spark
   curl "$RELEASE_STAGING_LOCATION/KEYS" > svn-spark/KEYS
-  (cd svn-spark && svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" 
-m"Update KEYS")
+  (cd svn-spark && svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" 
-m"Update KEYS" --no-auth-cache)
   echo "KEYS sync'ed"
   rm -rf svn-spark
 
@@ -565,7 +565,7 @@ EOF
   
   if [[ -n "$OLD_VERSION" ]]; then
     echo "Removing old version: spark-$OLD_VERSION"
-    svn rm 
"https://dist.apache.org/repos/dist/release/spark/spark-$OLD_VERSION"; 
--username "$ASF_USERNAME" --password "$ASF_PASSWORD" --non-interactive -m 
"Remove older $RELEASE_SERIES release after $RELEASE_VERSION"
+    svn rm 
"https://dist.apache.org/repos/dist/release/spark/spark-$OLD_VERSION"; 
--username "$ASF_USERNAME" --password "$ASF_PASSWORD" --non-interactive 
--no-auth-cache -m "Remove older $RELEASE_SERIES release after $RELEASE_VERSION"
   else
     echo "No previous $RELEASE_SERIES version found to remove. Manually remove 
it if there is."
   fi


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

Reply via email to