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

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/main/pr-12067-32902415b841ac824470d8ee9ffd4b785d8b2a9a
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git

commit ea3c266746a5108c4df23a34bd51c5e38ba5a4a7
Author: Jeffrey Vo <[email protected]>
AuthorDate: Thu Nov 5 01:51:07 2026 +0000

    Don't remove artifacts from release svn (#12067)
    
    - Related to https://github.com/apache/arrow-rs/issues/11581
    
    So on releases we don't auto remove older versions, as we might want to
    keep patch releases from older series.
    
    For the recent releases I just commented out this script entirely, then
    used ATR to manually archive. I didn't realize this script also removed
    old RCs, so for now keeping this script and just removing the part that
    removes from release svn as I'll use ATR for that purpose.
---
 dev/release/remove-old-artifacts.sh | 25 +------------------------
 1 file changed, 1 insertion(+), 24 deletions(-)

diff --git a/dev/release/remove-old-artifacts.sh 
b/dev/release/remove-old-artifacts.sh
index cc858a3044..0cce6ce60e 100755
--- a/dev/release/remove-old-artifacts.sh
+++ b/dev/release/remove-old-artifacts.sh
@@ -16,14 +16,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-# This script removes all RCs and all but the most recent versions of
-# arrow-rs from svn.
-#
-# The older versions are in SVN history as well as available on the
-# archive page https://archive.apache.org/dist/
-#
-# See
-# https://infra.apache.org/release-download-pages.html
+# This script removes all RCs of arrow-rs from svn.
 
 set -e
 set -u
@@ -43,19 +36,3 @@ for old_rc in $old_rcs; do
     -m "Remove old Apache Arrow Rust RC: ${old_rc}" \
     ${dev_base_url}/${old_rc}
 done
-
-echo "Remove all but the most recent version"
-release_base_url="https://dist.apache.org/repos/dist/release/arrow";
-old_releases=$(
-  svn ls ${release_base_url} | \
-  grep -E '^arrow-rs-[0-9\.]+' | \
-  sort --version-sort --reverse | \
-  tail -n +2
-)
-for old_release_version in $old_releases; do
-  echo "Remove old release: ${old_release_version}"
-  svn \
-    delete \
-    -m "Remove Apache Arrow Rust release: ${old_release_version}" \
-    ${release_base_url}/${old_release_version}
-done

Reply via email to