Skip to content

controllers::krate::publish: Move reading of tarball up from uploader to publish #4096

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

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

nipunn1313
Copy link
Contributor

Pull upward hex_cksum and verify_tarball to publish
to the point before readme rendering - so that readme
can leverage information from tarball.

Additionally, it will avoid rendering readme for failure cases where
the tarball doesn't verify.

Will be useful to access cargo_vcs_info earlier on (for #3484)

… to publish

Pull upward hex_cksum and verify_tarball to publish
to the point before readme rendering - so that readme
can leverage information from tarball.

Additionally, it will avoid rendering readme for failure cases where
the tarball doesn't verify.
@nipunn1313
Copy link
Contributor Author

Pull number is a power of 2! (2^12)

Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Turbo87 Turbo87 added A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear labels Oct 28, 2021
@Turbo87
Copy link
Member

Turbo87 commented Oct 28, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Oct 28, 2021

📌 Commit 5da5717 has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Oct 28, 2021

⌛ Testing commit 5da5717 with merge fd1ab6a...

@bors
Copy link
Contributor

bors commented Oct 28, 2021

☀️ Test successful - checks-actions
Approved by: Turbo87
Pushing fd1ab6a to master...

@bors bors merged commit fd1ab6a into rust-lang:master Oct 28, 2021
bors added a commit that referenced this pull request Oct 28, 2021
Add a test for verify_tarball

Depends on #4096.

(Because of community/community#4477 - it doesn't render the diff against #4096 - so you have to go to commits tab to see appropriate diff).
@nipunn1313 nipunn1313 deleted the tarball_up branch October 30, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants