-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
"cargo owner --add" doesn't seem to work with teams #11505
Comments
Sorry about that. Looks like you hit this issue. Have you tried following that steps? |
Yes, I think that ultimately was it. I had to revoke permissions, then have crates.io ask for them again after revoking them (log out then log back in, and then it asks), then make sure that nushell was in the grant for the permissions it asked for. Something that would help a lot here is to show some screenshots of the github and crates.io side. I read through the text a bunch but it didn't click what exactly was meant since I kept seeing crates.io listed in the oauth apps that had permission. It was only after the 5th read it finally hit me that it was too old to have the proper permissions granted. |
I could take over this issue if wanted :) |
@VincentWo go ahead! I guess adding one or two screenshots as what JT said under this paragraph is sufficient. You may need an org account to reproduce the error. |
Will do - thank you for the pointer. But I wonder whether it would also be a goal to improve the error message |
Oh yup. Nice suggestion! We could also provide a link to https://doc.rust-lang.org/cargo/reference/publishing.html#github-permissions in the error message. |
As discussed in #12511, I have opened a PR against crates.io here: rust-lang/crates.io#8593 |
I am actually not sure if the documentation is wrong or incomplete. Somebody with a GitHub org account should try to first login with a key without the read:org scope, and then figure out what needs to be cleaned up in order to get things working. |
Problem
We've tried a few different ways of adding a team to grant the publishing rights to Nushell's repo, but haven't been able for this to work.
Here's what we're seeing:
The team does exist on github:
Steps
Possible Solution(s)
It'd be nice to perhaps give a better error to help add a team if there's an issue with adding the specific team. Otherwise, I think this should work based on the name of the org + team.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: