Skip to content

Commit

Permalink
maintner/maintnerd, cmd/gerritbot, cmd/gitmirror: add golang/website …
Browse files Browse the repository at this point in the history
…to whitelist

The website now has its own subrepo with gerrit mirroring set up.

Updates golang/go#29206

Change-Id: I6fb6fb62dfd50b48d2f78db2503641c521600ae7
Reviewed-on: https://go-review.googlesource.com/c/156217
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
  • Loading branch information
cnoellekb committed Jan 3, 2019
1 parent b67de00 commit 3bc3790
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/gerritbot/gerritbot.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ var gerritProjectWhitelist = map[string]bool{
"tools": true,
"tour": true,
"vgo": true,
"website": true,
}

type cachedPullRequest struct {
Expand Down
3 changes: 2 additions & 1 deletion cmd/gitmirror/gitmirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ func shouldMirror(name string) bool {
"time",
"tools",
"tour",
"vgo":
"vgo",
"website":
return true
}
// Else, see if it appears to be a subrepo:
Expand Down
1 change: 1 addition & 0 deletions maintner/maintnerd/maintnerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ var goGitHubProjects = []string{
"golang/tools",
"golang/tour",
"golang/vgo",
"golang/website",
}

func setGoConfig() {
Expand Down

0 comments on commit 3bc3790

Please sign in to comment.