Skip to content

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

Merged
merged 3 commits into from
Mar 12, 2020

Conversation

RobbieClarken
Copy link
Contributor

@RobbieClarken RobbieClarken commented Mar 6, 2020

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 than github:<organisation>:<team> because I think it looks cleaner (eg rust-lang/core vs github:rust-lang:core). Happy to change it if people disagree.

Screen Shot 2020-03-06 at 5 17 50 pm

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.

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.
@rust-highfive
Copy link

r? @smarnach

(rust_highfive has picked a reviewer for you, use r? to override)

@smarnach
Copy link
Contributor

smarnach commented Mar 6, 2020

@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.

Copy link
Contributor

@locks locks left a 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!

@locks
Copy link
Contributor

locks commented Mar 12, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Mar 12, 2020

📌 Commit 12fbdb6 has been approved by locks

@bors
Copy link
Contributor

bors commented Mar 12, 2020

⌛ Testing commit 12fbdb6 with merge 436155f...

@bors
Copy link
Contributor

bors commented Mar 12, 2020

☀️ Test successful - checks-travis
Approved by: locks
Pushing 436155f to master...

@bors bors merged commit 436155f into rust-lang:master Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants