Skip to content

Transform tarball filenames before uploading to the mirror#994

Merged
zsol merged 1 commit intomainfrom
zsol/jj-ytklmnlwluyx
Mar 3, 2026
Merged

Transform tarball filenames before uploading to the mirror#994
zsol merged 1 commit intomainfrom
zsol/jj-ytklmnlwluyx

Conversation

@zsol
Copy link
Copy Markdown
Member

@zsol zsol commented Mar 3, 2026

Instead of naively calling aws s3 cp on the dist folder, this PR moves the upload logic into the rust code as a new command. This command does the relevant filename transformations before uploading to R2.

Test plan

Output of

cargo run --release -- upload-mirror-distributions --dist dist --datetime 20260303T0839 --tag 20260303 --bucket release-assets --prefix github/python-build-standalone/releases/download/20260303 -n

https://gist.github.com/zsol/dd3949e89475463f062ab611add78760

@zsol zsol added the ci:skip label Mar 3, 2026
@zsol zsol force-pushed the zsol/jj-ytklmnlwluyx branch from cc2226a to c0fc5d0 Compare March 3, 2026 17:53
@zsol zsol force-pushed the zsol/jj-ytklmnlwluyx branch from c0fc5d0 to 883110d Compare March 3, 2026 17:57
@zsol zsol marked this pull request as ready for review March 3, 2026 18:47
@zsol zsol merged commit 8f77b0b into main Mar 3, 2026
13 checks passed
@zsol zsol deleted the zsol/jj-ytklmnlwluyx branch March 3, 2026 20:16
@zsol zsol linked an issue Mar 16, 2026 that may be closed by this pull request
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fetch release assets from releases.astral.sh first

2 participants