Skip to content

WIP: Trusted Publishing #11056

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

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Apr 24, 2025

This pull request should eventually implement the backend API part of the "Trusted Publishing" RFC (see #10247 and rust-lang/rfcs#3691).

It is currently very much work in progress and only opened to simplify reviews for some of the early architectural decisions. Yes, the publish endpoint is very messy. It is not the final state of the proposed changes 😉

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels Apr 24, 2025
/// 3. Generate a new OIDC token and exchange it for a temporary access token.
/// 4. Publish a new version of the crate using the temporary access token.
#[tokio::test(flavor = "multi_thread")]
async fn test_full_flow() -> anyhow::Result<()> {
Copy link
Member Author

Choose a reason for hiding this comment

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

if you want to start your review somewhere, this is probably the right place for a high level overview :)

@Turbo87 Turbo87 force-pushed the trusted-publishing branch 4 times, most recently from 94638c8 to 19e6e04 Compare April 28, 2025 13:28
@Turbo87 Turbo87 force-pushed the trusted-publishing branch from 19e6e04 to 9f5267e Compare April 28, 2025 15:25
@Turbo87 Turbo87 force-pushed the trusted-publishing branch from 9f5267e to 607a12a Compare April 28, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant