Skip to content

Commit 682b3dd

Browse files
committed
cmd/updatecontrib: add golang.org/{dl,x/mod,x/pkgsite} repos
These repositories use the Go license and have a minimal CONTRIBUTORS file that points to the one in the main Go repository, so contributors to those repositories should be considered by the updatecontrib tool. For golang/go#12042. Updates golang/go#36047. Change-Id: Ia8932f37de0a58a8156f7857806a4d607ca3dd6d Reviewed-on: https://go-review.googlesource.com/c/build/+/247777 Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Julie Qiu <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
1 parent 5a0d462 commit 682b3dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cmd/updatecontrib/updatecontrib.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ func file(name string) *acFile {
255255
// updated, and used to find contributors to add to the CONTRIBUTORS file.
256256
// It includes "go", which represents the main Go repository,
257257
// and an import path corresponding to each subrepository root.
258+
//
259+
// TODO(golang.org/issue/36047): Rewrite to use x/build/repos, being
260+
// mindful whether each repo is expected to contribute to the main
261+
// Go distribution's CONTRIBUTORS file or not.
258262
var repos = []string{
259263
"go", // main repo
260264
"golang.org/x/arch",
@@ -263,14 +267,17 @@ var repos = []string{
263267
"golang.org/x/build",
264268
"golang.org/x/crypto",
265269
"golang.org/x/debug",
270+
"golang.org/dl",
266271
"golang.org/x/exp",
267272
"github.com/golang/gddo", // The canonical import path for gddo is on GitHub.
268273
"golang.org/x/image",
269274
"golang.org/x/lint",
270275
"golang.org/x/mobile",
276+
"golang.org/x/mod",
271277
"golang.org/x/net",
272278
"golang.org/x/oauth2",
273279
"golang.org/x/perf",
280+
"golang.org/x/pkgsite",
274281
"golang.org/x/playground",
275282
"go.googlesource.com/proposal.git", // It doesn't have an /x/ vanity import path.
276283
"golang.org/x/review",

0 commit comments

Comments
 (0)