-
Notifications
You must be signed in to change notification settings - Fork 238
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
REQUEST: GitHub team for publishing OpenTelemetry Rust crates #2369
Comments
+1 to option 2, given it avoids the inconsistency part and has no other downside I can think of. |
@lalitb let me know when you all are decided and I can create the new team |
Second option 2 👍 |
+1 on option 2 |
Thanks all. @trask can you help with creating the new team - |
@open-telemetry/rust-publishers created I added |
Does it mean that |
ok, I have updated please check and confirm this is the setup you want, thanks |
Thanks @trask, this should be good. |
Just a drive by comment since I did some research for that for my day job: a practice we implemented for cisco-open is that all packages are owned by a service account (e.g. https://github.com/opentelemetrybot or a dedicated one), and credentials for that account are stored in a 1password, that way even if all maintainers leave, there is someone with full privileges. This is especially important because only non-team owners have permissions to add/remove other owners, see https://doc.rust-lang.org/cargo/reference/publishing.html#cargo-owner (emphasis is mine):
Note, that this seems to be practice across other orgs as well:
We also made the service account the sole non-team owner of the crates, but this is due to the given governance structure. This is something the rust maintainers need to decide on themselves, since doing that has both upsides and downsides |
The @open-telemetry/rust-maintainers GitHub team has been the owner of OpenTelemetry-related Rust crates on crates.io (https://crates.io/teams/github:open-telemetry:rust-maintainers), allowing package publishing.
Due to the accidental deletion (#2356), and subsequent recreation of various teams under the OpenTelemetry organization, this team can no longer be used as the crates.io owner. This is caused by a known bug in crates.io: rust-lang/crates.io#6949, specifically prohibiting the reuse of a recreated GitHub team with the same name as a crate owner.
We need to decide on a solution soon as the publishing of new crates is blocked now. Options I can see for now:
Rename the
rust-maintainers
team: to (say)otel-rust-maintainers
Drawback: Inconsistent with existing maintainer group naming conventions
Create a new publishing team under OpenTelemetry Org: e.g.,
rust-publishers
withrust-maintainers
as the sole memberAdvantage: Allows future flexibility to grant publish rights to non-maintainers
Add the existing maintainers as the individual owner members of the Otel crates.
Drawback: This would be difficult to manage, scale, and keep things organized in the long term, with 20+ crates in the main and contrib repo.
@open-telemetry/rust-maintainers please comment if there are better suggestions. Option 1 and 2 would need help from the TC/GC, and I would prefer to go with Option 2.
The text was updated successfully, but these errors were encountered: