Skip to content

migrate source-tarball-unpacking to library, use in registry api - #3496

Merged
syphar merged 1 commit into
rust-lang:mainfrom
syphar:unpack-tarball
Sep 3, 2026
Merged

migrate source-tarball-unpacking to library, use in registry api#3496
syphar merged 1 commit into
rust-lang:mainfrom
syphar:unpack-tarball

Conversation

@syphar

@syphar syphar commented Sep 3, 2026

Copy link
Copy Markdown
Member

for my docs_rs_build CLI (to test your crate builds in CI), I need to unpack the source tarball that I generated with cargo package. Since I don't want to duplicate that functionality, I now

  • move just the source tarball logic into a separate new crate docs_rs_crate_archive
  • add download_and_extract_source to the registry API, including the extension to TestRegistry to mock the download response.
  • make the import_release CLI use that download_and_extract_source API.

Later I can then just use docs_rs_crate_archive functionality to unpack the cargo package output.

@syphar syphar self-assigned this Sep 3, 2026
@github-actions github-actions Bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Sep 3, 2026
@syphar syphar changed the title add lib for unpacking source tarball, use in registry api migrate source-tarball-unpacking to library, use in registry api Sep 3, 2026
@syphar
syphar marked this pull request as ready for review September 3, 2026 14:38
@syphar
syphar requested a review from a team as a code owner September 3, 2026 14:38
@syphar

syphar commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

r? @GuillaumeGomez

@rustbot rustbot assigned GuillaumeGomez and unassigned syphar Sep 3, 2026
@syphar
syphar merged commit d84935a into rust-lang:main Sep 3, 2026
11 checks passed
@syphar
syphar deleted the unpack-tarball branch September 3, 2026 14:58
@github-actions github-actions Bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants