Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
Dmitri Shuralyov 76897a1f00 repos: show x/playground on post-submit dashboard, update dependencies
We enabled post-submit builders for x/playground in golang/go#24823.
Stop marking it as "hidden from the dashboard".

Fixes golang/go#66001.

Change-Id: I96f581aa93ec76748e888c1ad5c50f260beffa59
Reviewed-on: https://go-review.googlesource.com/c/build/+/609140
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2024-09-03 22:38:24 +00:00
Than McIntosh a9b0249654 repos: add oscar
Change-Id: Ia32e5dd4934537b9b8a91f7f3145c363a7795703
Reviewed-on: https://go-review.googlesource.com/c/build/+/596655
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-07-03 21:43:14 +00:00
Michael Pratt 4772d0e4c0 repos: add wiki
For golang/go#61940.

Change-Id: If4f9a1bd8170459a2f4ad5a26ac2449c6dde79db
Reviewed-on: https://go-review.googlesource.com/c/build/+/532577
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-04 18:06:55 +00:00
Hana (Hyang-Ah) Kim 7c638f1306 repos: enable build of x/pkgsite
Updates golang/go#59347

Change-Id: I7760607a57b5073730ec3627f15ddde2cc15d244
Reviewed-on: https://go-review.googlesource.com/c/build/+/506875
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2023-06-28 18:49:47 +00:00
Jamal Carvalho 29d30d7cb1 repos: add telemetry
Change-Id: I1e7296e8d683aa99986f10bcfdbf3de438b2b041
Reviewed-on: https://go-review.googlesource.com/c/build/+/492755
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-05-04 20:59:28 +00:00
Carlos Amedee 47b09dd048 repos: add govulncheck-action
Change-Id: I71f3884501642514567126f2fc726892cdcb772b
Reviewed-on: https://go-review.googlesource.com/c/build/+/492736
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Carlos Amedee <carlos@golang.org>
2023-05-04 20:06:41 +00:00
Julie Qiu 7be615f6a3 repos: add pkgsite-metrics
Change-Id: I9471f16a0fa66f26561d3edf326663f7d7cd9691
Reviewed-on: https://go-review.googlesource.com/c/build/+/463455
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2023-01-25 18:58:36 +00:00
Hana (Hyang-Ah) Kim 828e85f5bc repos: enable CSR mirroring for vscode-go
For b/237436754

Change-Id: Ia6b5f962cd6f682310f0a2e4dbc3a9a3971f11e2
Reviewed-on: https://go-review.googlesource.com/c/build/+/417034
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-07-12 17:30:20 +00:00
Jonathan Amsterdam 62f0361b30 repos: change vulndb mirror project
Mirror the vulndb repo to the go-vuln project, instead of
golang-org.

Change-Id: Icaf7367d6bee37a02704ab9587a33474bf781b62
Reviewed-on: https://go-review.googlesource.com/c/build/+/377455
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2022-01-11 16:48:27 +00:00
Dmitri Shuralyov 0e19172df3 repos: don't test x/talks on build dashboard
The x/talks repository followed suit after x/blog and x/tour
and has been merged into x/website. CL 366177 removes all of
its moved content, leaving just a README.

Stop displaying it on the build dashboard and running post-submit
tests. Keep TryBots enabled in case a CL is sent with new Go code.

Change-Id: I8c13945b5ae04560d254ba679bf80696f44bed25
Reviewed-on: https://go-review.googlesource.com/c/build/+/366574
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2021-11-23 16:47:29 +00:00
Jamal Carvalho cca734575d repos: enable CSR mirroring for x/pkgsite
Change-Id: I82111c4442aa4b711bedfb9aad43c59ff663d0a9
Reviewed-on: https://go-review.googlesource.com/c/build/+/360721
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2021-11-04 20:16:09 +00:00
Jamal Carvalho 6cdc019bb7 cmd,repos: project ID is configurable for CSR mirrors
Making the project ID configurable will allow for a future CL
to mirror the x/pkgsite repo in the go-discovery project.

Change-Id: I08d61c602a709b7f3f0a1a0442c444e8bfa02b95
Reviewed-on: https://go-review.googlesource.com/c/build/+/361196
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2021-11-04 19:52:32 +00:00
Julie Qiu c046fca86e repos: add x/vuln and remove build for x/vulndb
x/vuln now contains code previously in x/vulndb, and is added to repos.

The description for x/vulndb is updated.

Change-Id: I5bbecf6b97c61c36f75fb404b8040fa1cc2fc7e5
Reviewed-on: https://go-review.googlesource.com/c/build/+/360442
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-11-02 15:50:42 +00:00
Heschi Kreinick d3f8b5267f repos: enable CSR mirroring for x/vulndb
Change-Id: Ia66bfbe23793de7f47aaf540731c06597dd86e8d
Reviewed-on: https://go-review.googlesource.com/c/build/+/337496
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
2021-07-26 22:15:46 +00:00
Heschi Kreinick c54211292b cmd/gitmirror: enable local testing, activate CSR mirroring
Allow enabling and disabling individual mirror types, and reading
secrets from a local directory rather than Secret Manager.

Register the three repos we want to mirror to CSR, guarded by the
default false value of mirror-csr.

Change-Id: I0a774c06fc5757bbfe34de9f10219170eb9d3aa4
Reviewed-on: https://go-review.googlesource.com/c/build/+/324891
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-06-04 20:32:18 +00:00
Heschi Kreinick 27cb3d8d0b cmd/gitmirror: add tests
Add integration tests. They're on the slow side, as much as a second per
test, but the coverage is pretty solid and I hope they'll be easy to
read and maintain.

The tests run a real mirror, but without the normal driver loop and with
the repositories redirected to point to the local filesystem. That costs
us coverage of things like the gerrit polling, but removes the timing
sensitivity. I think that's a reasonable tradeoff; we'd just be mocking
maintner and gerrit anyway.

Also fix a bug that the tests surfaced: we can't run clone in the
directory we want it to create.

Change-Id: I8fa319b9bd3de194e75a2fdc2ee5a5cef71ec1aa
Reviewed-on: https://go-review.googlesource.com/c/build/+/324762
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-06-04 20:24:35 +00:00
Heschi Kreinick 9477c7eb10 cmd/gitmirror: add CSR support
Add support for CSR writes, disabled for now and basically untested.
This relies on modifying the global git config, so rather than using the
user's real home directory, use a temp dir instead. This also sets us up
for testing.

Also, write remotes into $GIT_DIR/remotes rather than the config file.
Much easier.

Change-Id: If45a468ad715ee24660d927b832096a70a0ffd4f
Reviewed-on: https://go-review.googlesource.com/c/build/+/324398
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-06-04 20:24:30 +00:00
Dmitri Shuralyov 8adac88dfe repos: make blog and tour repos less prominent
The x/blog and x/tour repositories have been merged into x/website.

Stop displaying x/blog on the build dashboard, especially because
there are 0 Go packages in it, which the build dashboard shows in
red. (Keep TryBots enabled in case a CL is sent with new Go code.)

Remove their descriptions since neither is worth including in the
list at https://golang.org/pkg/#subrepo. Show x/website instead.

Change-Id: Idc2bcec17b6bed9929c3a37f2c45ae524559d37f
Reviewed-on: https://go-review.googlesource.com/c/build/+/324609
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2021-06-03 15:33:36 +00:00
Daniel Martí 58cc22bdea repos: x/lint is being deprecated and frozen
For golang/go#38968.

Change-Id: Ib99c3facbd87776d89279e05d33805ba78a8f72b
Reviewed-on: https://go-review.googlesource.com/c/build/+/318190
Trust: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-08 22:23:33 +00:00
Roland Shoemaker 4600b17185 repos,devapp/owners: add vulndb
Change-Id: Ie61903ff9ad07c284b2cc16a809654313598d913
Reviewed-on: https://go-review.googlesource.com/c/build/+/312369
Trust: Roland Shoemaker <roland@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2021-04-21 22:11:43 +00:00
Dmitri Shuralyov 96687b60ac repos: remove unused Repo.UsePkgGoDev
UsePkgGoDev was added in CL 234677 to aid with a gradual migration
on golang.org. That redirection has been completed as of CL 275195,
and UsePkgGoDev is no longer meaningful nor used. Remove it, since
it's allowed per x/build's compatibilty policy, to keep things tidy.

Updates golang/go#36106.
Updates golang/go#39150.

Change-Id: If3f9bed7f215a7c572a2d7a9f25b3184a1e5362a
Reviewed-on: https://go-review.googlesource.com/c/build/+/289700
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2021-02-04 21:19:48 +00:00
Dmitri Shuralyov cd15c8b811 repos: don't mirror to an archived GitHub repository
The github.com/golang/gddo repository was archived on GitHub as part
of redirecting godoc.org requests to pkg.go.dev¹, to make it more
visible that it doesn't accept new contributions. Mirroring to an
archived repository on GitHub fails with an error, so don't try to.

¹ https://blog.golang.org/godoc.org-redirect

Change-Id: I648bccf8edc6f034eaa2ea3b2ced6c505473c22c
Reviewed-on: https://go-review.googlesource.com/c/build/+/289699
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2021-02-04 21:19:10 +00:00
Julie Qiu a56ae9428e all: add or change GoDoc badge to pkg.go.dev with update-readmes.go
update-readmes.go is updated to add a pkg.go.dev badge instead of a
godoc.org badge.

The GoDoc badge is added or changed in all READMEs by running
update-readmes.go

For golang/go#42251

Change-Id: I0c49df26a6c695f938c98c9a7b26325d991b3cfb
Reviewed-on: https://go-review.googlesource.com/c/build/+/276032
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-15 04:52:31 +00:00
Dmitri Shuralyov 92427f67ec repos: add API for opting-in to use pkg.go.dev for documentation
The golang.org/x/pkgsite repository is the first one that needs it.

For golang/go#39150.
For golang/go#36747.
For golang/go#36106.

Change-Id: I7fa38cbe7d5d92012bb00f9c4587f60d06a94199
Reviewed-on: https://go-review.googlesource.com/c/build/+/234677
Reviewed-by: Julie Qiu <julie@golang.org>
2020-05-20 14:10:49 +00:00
Dmitri Shuralyov fd3ecdd672 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>
2020-05-19 15:37:55 +00:00
Dmitri Shuralyov 5250664e1e repos: add vscode-go repository
The source of truth for this repository is hosted on Gerrit,
with a mirror repository available on GitHub. There will not
be a golang.org/x custom import path for it.

Change-Id: I6b13412e4404cdebd8d2fa248be7ee2605044d65
Reviewed-on: https://go-review.googlesource.com/c/build/+/222305
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-03-06 20:31:12 +00:00
Dmitri Shuralyov c6b82d5631 repos: change protobuf import path to google.golang.org/protobuf
The import path of the https://go.googlesource.com/protobuf repository
is google.golang.org/protobuf, as can be seen by looking at its go.mod
file at https://go.googlesource.com/protobuf/+/refs/tags/v1.20.0/go.mod#1.

https://github.com/google/protobuf is the C++ protobuf repository.

It was unintentionally changed to an invalid import path during the
refactor in CL 208697 and CL 210461, likely due to a mix-up with a
similar-looking import path github.com/golang/protobuf used for
protobuf API v1. See https://go.googlesource.com/protobuf/#historical-legacy.

Updates golang/go#36047

Change-Id: I03046f33cda3d0c5efa7a2a6059a1cf5c71d6c34
Reviewed-on: https://go-review.googlesource.com/c/build/+/221821
Reviewed-by: Damien Neil <dneil@google.com>
2020-03-02 22:33:09 +00:00
Brad Fitzpatrick 244017376a repos: add descriptions from golang.org/pkg/#subrepo
Updates golang/go#36047

Change-Id: I94ce5537cfd37d211f24a911bd983af436c25009
Reviewed-on: https://go-review.googlesource.com/c/build/+/211318
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-12-13 17:06:58 +00:00
Brad Fitzpatrick 6e1808ab51 repos: flesh out package more, use it in maintnerd
This removes yet another list of all our repos.

(Goal is to simplify https://github.com/golang/go/wiki/CreatingSubRepository)

Most of the work was in earlier CL 208697.

Updates golang/go#36047

Change-Id: I9147b959fe6574e2f809091d08d360051b69402e
Reviewed-on: https://go-review.googlesource.com/c/build/+/210461
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-12-10 17:42:42 +00:00
Brad Fitzpatrick c1d9249edb app/appengine, cmd/gitmirror: fix things found during deployment failure
Change-Id: I6a0ba0c50fe2b51f6a3251dcf84cca8847142150
Reviewed-on: https://go-review.googlesource.com/c/build/+/210287
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-12-06 22:06:42 +00:00
Brad Fitzpatrick e2b9141ea8 app, gitmirror, maintner: use maintner for dashboard, not datastore
Historically, the build.golang.org was the entire build system, and it
maintained a parallel copy of that git history in its datastore. It
was always buggy and incomplete and things like force pushes were
scary because the datastore mirror could get out of sync. It was also
a lot of code to support that sync.

This changes build.golang.org to instead get the git history from
maintnerd, and then we can remove all the HTTP handlers around
updating it, and can remove all the gitmirror code to call it to
maintain it.

Now build.golang.org only keeps build results, keyed on the commit
hash. It's much less code, but is still an App Engine app for now.
(but it's getting small enough, that porting it to
cloud.google.com/go/datastore is looking very simple)

This also adds a new "repos" package to unify the configuration of the
various Go repos. There were incomplete & redundant copies all over
the place.

Updates golang/go#34744
Fixes golang/go#35828
Fixes golang/go#31236 (New branch=mixed support adds this when desired)
Fixes golang/go#35944

Change-Id: Ifb39417287df3dea052ba8510566d80b4bc75d51
Reviewed-on: https://go-review.googlesource.com/c/build/+/208697
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-12-06 21:18:41 +00:00