Stream: t-compiler/wg-meta

Topic: github team setup


nikomatsakis (Sep 03 2019 at 20:17, on Zulip):

So @Pietro Albini I encountered an annoyance with the github team setup. I wanted to add compiler-contributors to the list of owners for the polonius crate, but I got this error:

> cargo owner -a github:rust-lang:compiler-contributors
    Updating crates.io index
error: failed to invite owners to crate polonius-engine: api errors (status 200 OK): only members of a team can add it as an owner
nikomatsakis (Sep 03 2019 at 20:18, on Zulip):

maybe this is just a cargo bug, in that owners or admins of the org ought to be allowed

Pietro Albini (Sep 03 2019 at 20:32, on Zulip):

well, technically you aren't a member of compiler-contributors so the error is correct

nikomatsakis (Sep 03 2019 at 20:32, on Zulip):

yes, the error is correct...

nikomatsakis (Sep 03 2019 at 20:32, on Zulip):

...just annoying ;)

Pietro Albini (Sep 03 2019 at 20:32, on Zulip):

I guess it would be nice to fix it in crates.io

nikomatsakis (Sep 03 2019 at 20:32, on Zulip):

I feel like we will want to be able to have compiler-contributors be able to publish packages

nikomatsakis (Sep 03 2019 at 20:33, on Zulip):

for now though I can add individuals I guess

Pietro Albini (Sep 03 2019 at 20:33, on Zulip):

I can probably add a

[github]
extra-teams = ["compiler"]

tomorrow, so that on github compiler-contributors also include compiler

Pietro Albini (Sep 03 2019 at 20:34, on Zulip):

(that would also "fix" mentions)

Pietro Albini (Sep 03 2019 at 20:36, on Zulip):

just using nested teams probably won't work, as github doesn't return nested team members from the api unless you explicitly ask it to do so

Pietro Albini (Sep 03 2019 at 20:36, on Zulip):

and a rg on the crates.io source doesn't show that

Pietro Albini (Sep 03 2019 at 20:36, on Zulip):

you might want to open an issue on crates.io / ask on discord for the crates.io side of the issue

Pietro Albini (Sep 04 2019 at 16:30, on Zulip):

here you go: https://github.com/rust-lang/team/pull/108

Last update: Nov 11 2019 at 22:00UTC