File tree 3 files changed +35
-16
lines changed
3 files changed +35
-16
lines changed Original file line number Diff line number Diff line change 2
2
sig-api-machinery-leads:
3
3
- deads2k
4
4
- fedebongio
5
- - deads2k
6
5
- lavalamp
7
6
sig-apps-leads:
8
7
- janetkuo
@@ -14,31 +13,29 @@ aliases:
14
13
- dims
15
14
- johnbelamaric
16
15
sig-auth-leads:
17
- - enj
18
- - mikedanese
19
- - tallclair
20
16
- deads2k
17
+ - enj
21
18
- liggitt
22
19
- mikedanese
20
+ - tallclair
23
21
sig-autoscaling-leads:
24
22
- mwielgus
25
23
sig-cli-leads:
26
- - seans3
27
- - soltysh
28
24
- pwittrock
25
+ - seans3
29
26
- soltysh
30
27
sig-cloud-provider-leads:
31
28
- andrewsykim
32
29
- cheftako
33
30
sig-cluster-lifecycle-leads:
31
+ - fabriziopandini
34
32
- justinsb
35
33
- neolit123
36
34
- timothysc
37
- - fabriziopandini
38
35
sig-contributor-experience-leads:
39
36
- Phillels
40
- - mrbobbytables
41
37
- cblecker
38
+ - mrbobbytables
42
39
- nikhita
43
40
sig-docs-leads:
44
41
- Bradamant3
@@ -94,9 +91,9 @@ aliases:
94
91
- vllry
95
92
sig-windows-leads:
96
93
- PatrickLang
97
- - michmike
98
94
- benmoss
99
95
- ddebroy
96
+ - michmike
100
97
wg-apply-leads:
101
98
- lavalamp
102
99
wg-component-standard-leads:
@@ -146,8 +143,10 @@ aliases:
146
143
- foxish
147
144
- liyinan926
148
145
ug-vmware-users-leads:
146
+ - brysonshepherd
149
147
- cantbewong
150
148
- mylesagray
149
+ - phenixblue
151
150
committee-code-of-conduct:
152
151
- AevaOnline
153
152
- Bradamant3
Original file line number Diff line number Diff line change 1
1
aliases:
2
2
{{- range .Sigs}}
3
3
{{.Dir}}-leads:
4
- {{- range .Leadership.Chairs}}
5
- - {{.GitHub}}
6
- {{- end}}
7
- {{- range .Leadership.TechnicalLeads}}
4
+ {{- range .Leadership.Owners}}
8
5
- {{.GitHub}}
9
6
{{- end}}
10
7
{{- end}}
11
8
{{- range .WorkingGroups}}
12
9
{{.Dir}}-leads:
13
- {{- range .Leadership.Chairs }}
10
+ {{- range .Leadership.Owners }}
14
11
- {{.GitHub}}
15
12
{{- end}}
16
13
{{- end}}
17
14
{{- range .UserGroups}}
18
15
{{.Dir}}-leads:
19
- {{- range .Leadership.Chairs }}
16
+ {{- range .Leadership.Owners }}
20
17
- {{.GitHub}}
21
18
{{- end}}
22
19
{{- end}}
23
20
{{- range .Committees}}
24
21
{{.Dir}}:
25
- {{- range .Leadership.Chairs }}
22
+ {{- range .Leadership.Owners }}
26
23
- {{.GitHub}}
27
24
{{- end}}
28
25
{{- end}}
Original file line number Diff line number Diff line change @@ -122,6 +122,29 @@ func (g *LeadershipGroup) PrefixToPersonMap() map[string][]Person {
122
122
}
123
123
}
124
124
125
+ // Owners returns a sorted and de-duped list of owners for a LeadershipGroup
126
+ func (g * LeadershipGroup ) Owners () []Person {
127
+ o := append (g .Chairs , g .TechnicalLeads ... )
128
+
129
+ // Sort
130
+ sort .Slice (o , func (i , j int ) bool {
131
+ return o [i ].GitHub < o [j ].GitHub
132
+ })
133
+
134
+ // De-dupe
135
+ seen := make (map [string ]struct {}, len (o ))
136
+ i := 0
137
+ for _ , p := range o {
138
+ if _ , ok := seen [p .GitHub ]; ok {
139
+ continue
140
+ }
141
+ seen [p .GitHub ] = struct {}{}
142
+ o [i ] = p
143
+ i ++
144
+ }
145
+ return o [:i ]
146
+ }
147
+
125
148
// Group represents either a Special Interest Group (SIG) or a Working Group (WG)
126
149
type Group struct {
127
150
Dir string
You can’t perform that action at this time.
0 commit comments