-
Notifications
You must be signed in to change notification settings - Fork 287
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
Permit subteams to have subteams #1046
Conversation
I'm not super familiar with the intricate details of our infra and don't know 100% which tools and services depend on the team repo. As I've said I've only tested the website (of course, you can check this for yourself in case I've overlooked something). Please let me know if I should double-check anything else. |
47a4ce6
to
c71b888
Compare
Alrighty, website support for subsubteams (etc.) has been merged (rust-lang/www.rust-lang.org#1857). I've updated the crate to handle cycles gracefully and to flag them as errors during validation.
I still disallow non-teams (working groups, project groups, etc.) to be “subteams” of subteams, |
@rylev, do the changes in this PR look good to you? (Website with the new changes has now been deployed, rust-lang/www.rust-lang.org#1859) |
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.
I've got a small concern about an error message, but otherwise I agree this is ready to merge.
alpha ↦ beta, beta ↦ gamma, gamma ↦ alpha now errors with:
Edit: If you would like me to, I can deduplicate error messages by cycle in order to only show a single message in the case above. Not sure if it's worth it though. |
Once this is merged, could you kick off a CI run for #1040 and also merge the latter once it's green (only if you deem the PR sufficiently approved ofc)? Thanks a lot! :) |
Thanks a bunch for working on this! |
This would allow us to create the team rustdoc-contributors (#1040).
Let me know if I should add a test anywhere.
Should we enforce a depth limit?
Outdated information
According to #1040 (comment), nothing should be negatively affected except for the website. I've built its server locally with a patched
rust_team_data
package (part of this repo) and a patchedrust_team_data
static API (that contains the new team) and the only consequence is that rustdoc-contributors doesn't show up anywhere on the website (it doesn't crash the server or anything like that). Therefore, updating the website is not a hard blocker.I've opened rust-lang/www.rust-lang.org#1854 proposing to add proper website support for subsubteams (etc.). I plan on implementing it (or GuillaumeGomez will).