Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all RCs after release #7060

Merged
merged 3 commits into from
Feb 2, 2025
Merged

Conversation

kou
Copy link
Member

@kou kou commented Feb 1, 2025

Which issue does this PR close?

Closes #7059.

Rationale for this change

There are RCs in https://dist.apache.org/repos/dist/dev/arrow/ . We don't need them after a release vote passed.

What changes are included in this PR?

  • Rename {,object_store/}dev/tasks/reemove-old-releases.sh to .../remove-old-artifacts.sh
  • Remove them in the script

Are there any user-facing changes?

No.

@github-actions github-actions bot added the object-store Object Store Interface label Feb 1, 2025
@kou
Copy link
Member Author

kou commented Feb 1, 2025

I tested them with the following:

diff --git a/dev/release/remove-old-artifacts.sh b/dev/release/remove-old-artifacts.sh
index 06bcc2740..bf23c4588 100755
--- a/dev/release/remove-old-artifacts.sh
+++ b/dev/release/remove-old-artifacts.sh
@@ -40,7 +40,7 @@ old_rcs=$(
 )
 for old_rc in $old_rcs; do
   echo "Remove RC: ${old_rc}"
-  svn \
+  echo svn \
     delete \
     -m "Remove old Apache Arrow Rust RC: ${old_rc}" \
     ${dev_base_url}/${old_rc}
@@ -56,7 +56,7 @@ old_releases=$(
 )
 for old_release_version in $old_releases; do
   echo "Remove old release: ${old_release_version}"
-  svn \
+  echo svn \
     delete \
     -m "Remove Apache Arrow Rust release: ${old_release_version}" \
     ${release_base_url}/${old_release_version}
diff --git a/object_store/dev/release/remove-old-artifacts.sh b/object_store/dev/release/remove-old-artifacts.sh
index bbbbe0c36..0d730522e 100755
--- a/object_store/dev/release/remove-old-artifacts.sh
+++ b/object_store/dev/release/remove-old-artifacts.sh
@@ -40,7 +40,7 @@ old_rcs=$(
 )
 for old_rc in $old_rcs; do
   echo "Remove RC: ${old_rc}"
-  svn \
+  echo svn \
     delete \
     -m "Remove old Apache Arrow Rust Object Store RC: ${old_rc}" \
     ${dev_base_url}/${old_rc}
@@ -56,7 +56,7 @@ old_releases=$(
 )
 for old_release_version in $old_releases; do
   echo "Remove old release: ${old_release_version}"
-  svn \
+  echo svn \
     delete \
     -m "Remove Apache Arrow Rust Object Store release: ${old_release_version}" \
     ${release_base_url}/${old_release_version}
arrow-rs
$ dev/release/remove-old-artifacts.sh
Remove all RCs
Remove RC: apache-arrow-rs-21.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-21.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-21.0.0-rc1/
Remove RC: apache-arrow-rs-21.0.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-21.0.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-21.0.0-rc2/
Remove RC: apache-arrow-rs-22.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-22.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-22.0.0-rc1/
Remove RC: apache-arrow-rs-23.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-23.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-23.0.0-rc1/
Remove RC: apache-arrow-rs-23.0.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-23.0.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-23.0.0-rc2/
Remove RC: apache-arrow-rs-24.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-24.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-24.0.0-rc1/
Remove RC: apache-arrow-rs-25.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-25.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-25.0.0-rc1/
Remove RC: apache-arrow-rs-26.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-26.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-26.0.0-rc1/
Remove RC: apache-arrow-rs-26.0.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-26.0.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-26.0.0-rc2/
Remove RC: apache-arrow-rs-27.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-27.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-27.0.0-rc1/
Remove RC: apache-arrow-rs-28.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-28.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-28.0.0-rc1/
Remove RC: apache-arrow-rs-29.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-29.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-29.0.0-rc1/
Remove RC: apache-arrow-rs-29.0.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-29.0.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-29.0.0-rc2/
Remove RC: apache-arrow-rs-30.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-30.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-30.0.0-rc1/
Remove RC: apache-arrow-rs-30.0.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-30.0.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-30.0.0-rc2/
Remove RC: apache-arrow-rs-30.0.1-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-30.0.1-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-30.0.1-rc1/
Remove RC: apache-arrow-rs-30.0.1-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-30.0.1-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-30.0.1-rc2/
Remove RC: apache-arrow-rs-31.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-31.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-31.0.0-rc1/
Remove RC: apache-arrow-rs-32.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-32.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-32.0.0-rc1/
Remove RC: apache-arrow-rs-33.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-33.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-33.0.0-rc1/
Remove RC: apache-arrow-rs-34.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-34.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-34.0.0-rc1/
Remove RC: apache-arrow-rs-35.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-35.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-35.0.0-rc1/
Remove RC: apache-arrow-rs-36.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-36.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-36.0.0-rc1/
Remove RC: apache-arrow-rs-37.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-37.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-37.0.0-rc1/
Remove RC: apache-arrow-rs-37.0.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-37.0.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-37.0.0-rc2/
Remove RC: apache-arrow-rs-38.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-38.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-38.0.0-rc1/
Remove RC: apache-arrow-rs-39.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-39.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-39.0.0-rc1/
Remove RC: apache-arrow-rs-40.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-40.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-40.0.0-rc1/
Remove RC: apache-arrow-rs-41.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-41.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-41.0.0-rc1/
Remove RC: apache-arrow-rs-42.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-42.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-42.0.0-rc1/
Remove RC: apache-arrow-rs-43.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-43.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-43.0.0-rc1/
Remove RC: apache-arrow-rs-44.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-44.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-44.0.0-rc1/
Remove RC: apache-arrow-rs-45.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-45.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-45.0.0-rc1/
Remove RC: apache-arrow-rs-46.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-46.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-46.0.0-rc1/
Remove RC: apache-arrow-rs-47.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-47.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-47.0.0-rc1/
Remove RC: apache-arrow-rs-48.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-48.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-48.0.0-rc1/
Remove RC: apache-arrow-rs-48.0.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-48.0.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-48.0.0-rc2/
Remove RC: apache-arrow-rs-48.0.1-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-48.0.1-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-48.0.1-rc1/
Remove RC: apache-arrow-rs-49.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-49.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-49.0.0-rc1/
Remove RC: apache-arrow-rs-50.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-50.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-50.0.0-rc1/
Remove RC: apache-arrow-rs-51.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-51.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-51.0.0-rc1/
Remove RC: apache-arrow-rs-52.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-52.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-52.0.0-rc1/
Remove RC: apache-arrow-rs-52.1.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-52.1.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-52.1.0-rc1/
Remove RC: apache-arrow-rs-52.2.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-52.2.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-52.2.0-rc1/
Remove RC: apache-arrow-rs-53.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-53.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-53.0.0-rc1/
Remove RC: apache-arrow-rs-53.0.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-53.0.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-53.0.0-rc2/
Remove RC: apache-arrow-rs-53.1.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-53.1.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-53.1.0-rc1/
Remove RC: apache-arrow-rs-53.2.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-53.2.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-53.2.0-rc1/
Remove RC: apache-arrow-rs-53.3.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-53.3.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-53.3.0-rc1/
Remove RC: apache-arrow-rs-53.4.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-53.4.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-53.4.0-rc1/
Remove RC: apache-arrow-rs-53.4.0-rc2/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-53.4.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-53.4.0-rc2/
Remove RC: apache-arrow-rs-54.0.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-54.0.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-54.0.0-rc1/
Remove RC: apache-arrow-rs-54.1.0-rc1/
svn delete -m Remove old Apache Arrow Rust RC: apache-arrow-rs-54.1.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-54.1.0-rc1/
Remove all but the most recent version
Remove old release: arrow-rs-53.4.0/
svn delete -m Remove Apache Arrow Rust release: arrow-rs-53.4.0/ https://dist.apache.org/repos/dist/release/arrow/arrow-rs-53.4.0/
object_store
$ object_store/dev/release/remove-old-artifacts.sh
Remove all RCs
Remove RC: apache-arrow-object-store-rs-0.5.0-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.0-rc1/
Remove RC: apache-arrow-object-store-rs-0.5.0-rc2/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.0-rc2/
Remove RC: apache-arrow-object-store-rs-0.5.1-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.1-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.1-rc1/
Remove RC: apache-arrow-object-store-rs-0.5.2-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.2-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.2-rc1/
Remove RC: apache-arrow-object-store-rs-0.5.3-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.3-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.3-rc1/
Remove RC: apache-arrow-object-store-rs-0.5.4-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.4-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.4-rc1/
Remove RC: apache-arrow-object-store-rs-0.5.5-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.5-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.5-rc1/
Remove RC: apache-arrow-object-store-rs-0.5.6-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.6-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.6-rc1/
Remove RC: apache-arrow-object-store-rs-0.5.6-rc2/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.5.6-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.5.6-rc2/
Remove RC: apache-arrow-object-store-rs-0.6.0-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.6.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.6.0-rc1/
Remove RC: apache-arrow-object-store-rs-0.6.1-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.6.1-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.6.1-rc1/
Remove RC: apache-arrow-object-store-rs-0.7.0-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.7.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.7.0-rc1/
Remove RC: apache-arrow-object-store-rs-0.7.1-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.7.1-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.7.1-rc1/
Remove RC: apache-arrow-object-store-rs-0.8.0-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.8.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.8.0-rc1/
Remove RC: apache-arrow-object-store-rs-0.9.0-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.9.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.9.0-rc1/
Remove RC: apache-arrow-object-store-rs-0.9.1-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.9.1-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.9.1-rc1/
Remove RC: apache-arrow-object-store-rs-0.10.0-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.10.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.10.0-rc1/
Remove RC: apache-arrow-object-store-rs-0.10.1-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.10.1-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.10.1-rc1/
Remove RC: apache-arrow-object-store-rs-0.10.2-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.10.2-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.10.2-rc1/
Remove RC: apache-arrow-object-store-rs-0.11.0-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.11.0-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.11.0-rc1/
Remove RC: apache-arrow-object-store-rs-0.11.0-rc2/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.11.0-rc2/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.11.0-rc2/
Remove RC: apache-arrow-object-store-rs-0.11.1-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.11.1-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.11.1-rc1/
Remove RC: apache-arrow-object-store-rs-0.11.2-rc1/
svn delete -m Remove old Apache Arrow Rust Object Store RC: apache-arrow-object-store-rs-0.11.2-rc1/ https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-object-store-rs-0.11.2-rc1/
Remove all but the most recent version

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much @kou

I think we also need to remove invoking the scripts from release_artifacts here

"${SOURCE_TOP_DIR}"/dev/release/remove-old-releases.sh

And

"${SOURCE_TOP_DIR}"/dev/release/remove-old-releases.sh

I will push a change to do so

@kou
Copy link
Member Author

kou commented Feb 1, 2025

Oh, sorry. I missed them...

It may be better that we keep calling these scripts from release-tarball.sh automatically and revert the README changes. Because we don't need to add a post-release task.

I've pushed the change. What do you think about it?

@kou kou force-pushed the release-remove-needless-rcs branch from 7624c4c to c489fd7 Compare February 1, 2025 22:10
@alamb
Copy link
Contributor

alamb commented Feb 2, 2025

I've pushed the change. What do you think about it?

I think this makes sense @kou -- thank you.

I am about to release the most recent version so I'll merge this change in, give it a try, and we'll see how it goes

@alamb alamb merged commit 43617b2 into apache:main Feb 2, 2025
13 of 14 checks passed
@alamb
Copy link
Contributor

alamb commented Feb 2, 2025

I ran the script as part of releasing and it appears to have worked well. Thanks (again) @kou

...
Clean up old artifacts from svn
Remove all RCs
Remove RC: apache-arrow-rs-21.0.0-rc1/
Committing transaction...
Committed revision 74587.
Remove RC: apache-arrow-rs-21.0.0-rc2/
Committing transaction...
Committed revision 74588.
Remove RC: apache-arrow-rs-22.0.0-rc1/
...
Remove RC: apache-arrow-rs-54.1.0-rc1/
Committing transaction...
Committed revision 74639.
Remove all but the most recent version
Remove old release: arrow-rs-54.0.0/
Committing transaction...
Committed revision 74640.
Remove old release: arrow-rs-53.4.0/
Committing transaction...
Committed revision 74641.

@kou kou deleted the release-remove-needless-rcs branch February 2, 2025 11:42
@kou
Copy link
Member Author

kou commented Feb 2, 2025

Thanks!

I also confirmed https://dist.apache.org/repos/dist/dev/arrow/ and https://dist.apache.org/repos/dist/release/arrow/ . It worked well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove all RCs after release
2 participants