File tree 1 file changed +34
-1
lines changed
1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,39 @@ func main() {
290
290
log .Fatal (<- errc )
291
291
}
292
292
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
+
293
326
func setGoConfig () {
294
327
if * watchGithub != "" {
295
328
log .Fatalf ("can't set both --config and --watch-github" )
@@ -298,7 +331,7 @@ func setGoConfig() {
298
331
log .Fatalf ("can't set both --config and --watch-gerrit" )
299
332
}
300
333
* pubsub = "https://pubsubhelper.golang.org"
301
- * watchGithub = "golang/go,golang/scratch"
334
+ * watchGithub = strings . Join ( goGitHubProjects , "," )
302
335
303
336
gerrc := gerrit .NewClient ("https://go-review.googlesource.com/" , gerrit .NoAuth )
304
337
projs , err := gerrc .ListProjects (context .Background ())
You can’t perform that action at this time.
0 commit comments