-
Notifications
You must be signed in to change notification settings - Fork 644
Display teams on the crate owners page #2253
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
Conversation
This change updates the crate owners page (`/crates/<crate-name>/owners`) to display teams which are set to be crate owner. It also adds a "Remove" button for each team which allows removing teams from owning the crate in the same way that user type owners can be removed. Addresses rust-lang#1617.
r? @smarnach (rust_highfive has picked a reviewer for you, use r? to override) |
@locks Could you take this review? I'm too slow at frontend reviews to find time for them at the moment. For what it's worth, in principle I'm in favour of adding this feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
@bors r+ |
📌 Commit 12fbdb6 has been approved by |
☀️ Test successful - checks-travis |
This change updates the crate owners page (
/crates/<crate-name>/owners
) to display teams which are set to be crate owner. It also adds a "Remove" button for each team which allows removing teams from owning the crate in the same way that user type owners can be removed.I have displayed the team as
<organisation>/<team>
rather thangithub:<organisation>:<team>
because I think it looks cleaner (egrust-lang/core
vsgithub:rust-lang:core
). Happy to change it if people disagree.I haven't touched adding teams via the owners page in this PR. From what I can tell, it is currently possible although the message that is returned is misleading. I think that should be tackled in a separate PR.
Addresses #1617.