Skip to content

Update R2 copy script to support cross-bucket copy#14

Merged
ryanking13 merged 1 commit intomainfrom
gyeongjae/migrate-old-files
Mar 26, 2026
Merged

Update R2 copy script to support cross-bucket copy#14
ryanking13 merged 1 commit intomainfrom
gyeongjae/migrate-old-files

Conversation

@ryanking13
Copy link
Copy Markdown
Contributor

@ryanking13 ryanking13 commented Mar 25, 2026

I migrated all the python packages files in our prod bucket using #13, but I noticed that we are storing python packages for the package version 20240829.4 in our playground account, not in the prod bucket. They also needs migration.

To migrate those files as well, this PR updates the migration script to support cross-bucket copy.

Test Plan

Tested locally with my personal account:

python packages/copy_r2_bucket.py --src python-package-bucket --dest pyodide-capnp-bin --prefix python-package-bucket --src-prefix "20240829.4"

Copy link
Copy Markdown
Contributor

@dom96 dom96 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 for finding these and working through them!

@ryanking13 ryanking13 merged commit a27aac5 into main Mar 26, 2026
4 checks passed
@ryanking13 ryanking13 deleted the gyeongjae/migrate-old-files branch March 26, 2026 05:07
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