Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/teams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,16 @@ impl Data {
.filter_map(|team| Some((team.name.clone(), team.subteam_of.clone()?)))
.collect();

// Phased out T-compiler Working Groups
let phased_out_compiler_wgs = [
"wg-meta".to_string(),
"wg-nll".to_string(),
"wg-polymorphization".to_string(),
"wg-prioritization".to_string(),
"wg-self-profile".to_string(),
"wg-traits".to_string(),
];

self.teams
.into_iter()
.filter(|team| team.website_data.is_some())
Expand All @@ -140,7 +150,11 @@ impl Data {
})
.for_each(|team| match team.kind {
TeamKind::Team => raw_subteams.push(team),
TeamKind::WorkingGroup => wgs.push(team),
TeamKind::WorkingGroup => {
if !phased_out_compiler_wgs.contains(&team.name) {
wgs.push(team)
}
}
TeamKind::ProjectGroup => project_groups.push(team),
_ => {}
});
Expand Down