You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "dannycjones (via GitHub)" <gi...@apache.org> on 2026/06/05 16:49:18 UTC
[PR] chore(ci): migrate to trusted publishing [iceberg-rust]
dannycjones opened a new pull request, #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593
## Which issue does this PR close?
This implements trusted publishing with crates.io, which addresses #1539. I'd propose to close that issue after the first successful release.
## What changes are included in this PR?
This simply migrates the release workflow to use credentials obtained using trusted publishing.
This is the guide followed for the change: https://crates.io/docs/trusted-publishing
This change does not include the required changes on crates.io, which will need a committer to perform. I will add the remaining steps to #1539.
## Are these changes tested?
No. The changes will be verified with the first public release.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] chore(ci): migrate to trusted publishing [iceberg-rust]
Posted by "dannycjones (via GitHub)" <gi...@apache.org>.
dannycjones commented on PR #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593#issuecomment-4706403432
> I've finished crates.io side changes, let's see if it works.
I'd recommend we create a GH team for the Apache Iceberg committers, as the team can be added to all the crates. You do still need an active committer as the owner, as team members cannot change crate ownership themselves, but it would make it easier to grant permissions across the broad list of crates.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] chore(ci): migrate to trusted publishing [iceberg-rust]
Posted by "blackmwk (via GitHub)" <gi...@apache.org>.
blackmwk commented on code in PR #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593#discussion_r3411608131
##########
.github/workflows/publish.yml:
##########
@@ -26,13 +26,13 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
workflow_dispatch:
-permissions:
- contents: read
-
Review Comment:
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] chore(ci): migrate to trusted publishing [iceberg-rust]
Posted by "blackmwk (via GitHub)" <gi...@apache.org>.
blackmwk commented on PR #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593#issuecomment-4705487870
I've finished crates.io side changes, let's see if it works.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] chore(ci): migrate to trusted publishing [iceberg-rust]
Posted by "blackmwk (via GitHub)" <gi...@apache.org>.
blackmwk commented on PR #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593#issuecomment-4714097329
> > I've finished crates.io side changes, let's see if it works.
>
> I'd recommend we create a GH team for the Apache Iceberg committers, as the team can be added to all the crates. You do still need an active committer as the owner, as team members cannot change crate ownership themselves, but it would make it easier to grant permissions across the broad list of crates.
Thanks, that's a valuable suggestion. I've raised a discussion in private list about this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] chore(ci): migrate to trusted publishing [iceberg-rust]
Posted by "dannycjones (via GitHub)" <gi...@apache.org>.
dannycjones commented on PR #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593#issuecomment-4706433638
Thanks both, updated to restore the default `content: read` permission.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] chore(ci): migrate to trusted publishing [iceberg-rust]
Posted by "blackmwk (via GitHub)" <gi...@apache.org>.
blackmwk merged PR #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] chore(ci): migrate to trusted publishing [iceberg-rust]
Posted by "dannycjones (via GitHub)" <gi...@apache.org>.
dannycjones commented on code in PR #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593#discussion_r3412380098
##########
.github/workflows/publish.yml:
##########
@@ -26,13 +26,13 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
workflow_dispatch:
-permissions:
- contents: read
-
Review Comment:
I'll restore for now.
I think the other thing we could consider is `permissions: {}` such that every job must have its list of permissions required.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] chore(ci): migrate to trusted publishing [iceberg-rust]
Posted by "kevinjqliu (via GitHub)" <gi...@apache.org>.
kevinjqliu commented on code in PR #2593:
URL: https://github.com/apache/iceberg-rust/pull/2593#discussion_r3408385928
##########
.github/workflows/publish.yml:
##########
@@ -26,13 +26,13 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
workflow_dispatch:
-permissions:
- contents: read
-
Review Comment:
nit: could we keep this? it looks redundant but it sets the default permission for all the blocks.
we can add more permissions by explicitly overriding each job
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org