Skip to content

Commit 2cb4072

Browse files
committed
maintner/maintnerd: add additional GitHub projects to "go" config
Update golang/go#18517 Change-Id: Icdc131236092f15c51effafa71329e280979a0ef Reviewed-on: https://go-review.googlesource.com/93135 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent a6a9ae9 commit 2cb4072

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

maintner/maintnerd/maintnerd.go

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,39 @@ func main() {
290290
log.Fatal(<-errc)
291291
}
292292

293+
// Projects to watch when using the "go" config.
294+
var goGitHubProjects = []string{
295+
"golang/arch",
296+
"golang/benchmarks",
297+
"golang/blog",
298+
"golang/build",
299+
"golang/crypto",
300+
"golang/debug",
301+
"golang/example",
302+
"golang/exp",
303+
"golang/gddo",
304+
"golang/go",
305+
"golang/image",
306+
"golang/mobile",
307+
"golang/net",
308+
"golang/oauth2",
309+
"golang/perf",
310+
"golang/playground",
311+
"golang/proposal",
312+
"golang/review",
313+
"golang/scratch",
314+
"golang/sublime-build",
315+
"golang/sublime-config",
316+
"golang/sync",
317+
"golang/sys",
318+
"golang/talks",
319+
"golang/term",
320+
"golang/text",
321+
"golang/time",
322+
"golang/tools",
323+
"golang/tour",
324+
}
325+
293326
func setGoConfig() {
294327
if *watchGithub != "" {
295328
log.Fatalf("can't set both --config and --watch-github")
@@ -298,7 +331,7 @@ func setGoConfig() {
298331
log.Fatalf("can't set both --config and --watch-gerrit")
299332
}
300333
*pubsub = "https://pubsubhelper.golang.org"
301-
*watchGithub = "golang/go,golang/scratch"
334+
*watchGithub = strings.Join(goGitHubProjects, ",")
302335

303336
gerrc := gerrit.NewClient("https://go-review.googlesource.com/", gerrit.NoAuth)
304337
projs, err := gerrc.ListProjects(context.Background())

0 commit comments

Comments
 (0)