Skip to content

Commit 881cd89

Browse files
committed
Remove from governance page retired T-compiler WGs
1 parent fca73cb commit 881cd89

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/teams.rs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@ impl Data {
119119
.filter_map(|team| Some((team.name.clone(), team.subteam_of.clone()?)))
120120
.collect();
121121

122+
// Phased out T-compiler Working Groups
123+
let phased_out_compiler_wgs = [
124+
"wg-meta".to_string(),
125+
"wg-nll".to_string(),
126+
"wg-polymorphization".to_string(),
127+
"wg-prioritization".to_string(),
128+
"wg-self-profile".to_string(),
129+
"wg-traits".to_string(),
130+
];
131+
122132
self.teams
123133
.into_iter()
124134
.filter(|team| team.website_data.is_some())
@@ -140,7 +150,11 @@ impl Data {
140150
})
141151
.for_each(|team| match team.kind {
142152
TeamKind::Team => raw_subteams.push(team),
143-
TeamKind::WorkingGroup => wgs.push(team),
153+
TeamKind::WorkingGroup => {
154+
if !phased_out_compiler_wgs.contains(&team.name) {
155+
wgs.push(team)
156+
}
157+
}
144158
TeamKind::ProjectGroup => project_groups.push(team),
145159
_ => {}
146160
});

0 commit comments

Comments
 (0)