repos: add golang.org/x/pkgsite repository
For golang/go#36747.
Change-Id: I1fdf70248fc0ba4643b56a6d3f7fb3b690a549a5
Reviewed-on: https://go-review.googlesource.com/c/build/+/222737
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/repos/repos.go b/repos/repos.go
index 2436b8a..16f9f60 100644
--- a/repos/repos.go
+++ b/repos/repos.go
@@ -73,6 +73,7 @@
x("net", desc("additional networking packages"))
x("oauth2")
x("perf", desc("packages and tools for performance measurement, storage, and analysis"))
+ x("pkgsite", desc("home of the pkg.go.dev website"), noBuildAndNoDash)
x("playground", noDash)
x("review", desc("a tool for working with Gerrit code reviews"))
x("scratch", noDash)
@@ -111,6 +112,8 @@
// the https://build.golang.org/ dashboard.
func noDash(r *Repo) { r.showOnDashboard = false }
+func noBuildAndNoDash(r *Repo) { r.CoordinatorCanBuild, r.showOnDashboard = false, false }
+
func coordinatorCanBuild(r *Repo) { r.CoordinatorCanBuild = true }
func importPath(v string) modifyRepo { return func(r *Repo) { r.ImportPath = v } }