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

149 Коммитов

Автор SHA1 Сообщение Дата
Brad Fitzpatrick 3f1c27906a app/appengine: sort subrepo tables by date: master, Go 1.12, Go 1.11
It was previously master, Go 1.11, then Go 1.12, which puts Go 1.11 in
the middle of two things that came after it.

Change-Id: I5c67bff7f0ab4269f1db3d4c7e8197df36dc12cb
Reviewed-on: https://go-review.googlesource.com/c/build/+/170779
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-04-05 04:55:52 +00:00
Brad Fitzpatrick d636fbf4cd app/appengine: show all builder columns, even if they don't have results
Fixes golang/go#19930

Change-Id: Ia6018a2e93bea123b684d2708d858adcca7bb4e4
Reviewed-on: https://go-review.googlesource.com/c/build/+/170443
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-04-02 21:52:14 +00:00
Brad Fitzpatrick f0bdfa832f app/appengine: remove gccgo, show little dot for untested x builder cells
And misc dead code & comment cleanups.

Change-Id: I52308376df8eb1bd1bf919365bd9c7b7848741a9
Reviewed-on: https://go-review.googlesource.com/c/build/+/167198
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-12 21:07:29 +00:00
Brad Fitzpatrick 4563a73db1 app/appengine: add row to disambiguate GOOS-GOARCH-ambiguous x/foo repos too
I forgot the sub-repo sub-heading in CL 160657. This adds it.

Change-Id: I5cab4fe978ae662a9150e34acc802caff61de54a
Reviewed-on: https://go-review.googlesource.com/c/164677
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-03-01 18:34:34 +00:00
Brad Fitzpatrick d0344b2c1e app/appengine: remove Go 1.10 from the dashboard now that Go 1.12 is out
Per policy, we only support and test the past two releases
(currently Go 1.11 and Go 1.12).

Previously:

https://golang.org/cl/133895 removed Go 1.9.
https://golang.org/cl/95555 removed Go 1.8.
https://golang.org/cl/77931 removed Go 1.7.
https://golang.org/cl/37466 removed Go 1.6.
https://golang.org/cl/31767 removed Go 1.5.
https://golang.org/cl/20843 removed Go 1.4.

Change-Id: I39c6db4c4fc3e0ffcc481884a9d2aa0e8183b6f3
Reviewed-on: https://go-review.googlesource.com/c/164218
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-02-27 20:22:25 +00:00
Brad Fitzpatrick cfd41133b8 app/appengine: add new row to disambiguate GOOS-GOARCH-ambiguous builders
So people can see linux-amd64-nocgo vs linux-amd64-noopt, etc.
Currently it only works on mouseover on desktop, and few people know that.
Add a new row to make it explicit.

While at it:

* remove some dead code
* make this testable locally, detecting dev_appserver mode and populating some
  fake data
* remove the s/amd64/x86/ in the subheadings. that's just confusion and we don't
  do that to other longer fields like arm64 or ppc64le, etc

Change-Id: Id3de9406f383c93202be2e298f07d5c4fef8ae85
Reviewed-on: https://go-review.googlesource.com/c/160657
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-01-31 19:21:01 +00:00
Brad Fitzpatrick c8cc47ff55 app/appengine: remove the security branches from the build dashboard
They're causing unnecessary work and clutter on the build.golang.org page.

Fixes golang/go#29513

Change-Id: Ieb9bbe4caf0041dd2a2f0e34b4d52a283de56224
Reviewed-on: https://go-review.googlesource.com/c/157817
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-01-14 22:33:50 +00:00
Dmitri Shuralyov 9e0b3a09e0 app/appengine: hide and stop testing release-branch.go1.9
Per policy, we only support and test the past two releases
(currently Go 1.11 and Go 1.10).

Previously:

-	https://golang.org/cl/95555 removed Go 1.8.
-	https://golang.org/cl/77931 removed Go 1.7.
-	https://golang.org/cl/37466 removed Go 1.6.
-	https://golang.org/cl/31767 removed Go 1.5.
-	https://golang.org/cl/20843 removed Go 1.4.

Fixes golang/go#27541.

Change-Id: Ia42e9caae2bd6737ded22d871eeb24d00a06fa4a
Reviewed-on: https://go-review.googlesource.com/133895
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-09-06 20:14:24 +00:00
Brad Fitzpatrick b64fecba50 app/appengine: update to Go 1.9 so we can use std context
Go 1.9 is the latest offered on App Engine, which at least is new
enough to get us type aliases.

Fixes golang/go#26115

Change-Id: I4de3062cf2f7df70216536a05b7150324c1a5e91
Reviewed-on: https://go-review.googlesource.com/121418
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2018-06-28 20:39:12 +00:00
Hana Kim 094b883e10 app/appengine: add x/debug subrepo
Change-Id: I71edbdeee94e69f2acefb3a4474e558bf33a46df
Reviewed-on: https://go-review.googlesource.com/115057
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-29 16:19:08 +00:00
Brad Fitzpatrick a6dd626c4c all: use "context" instead of golang.org/x/net/context
Change-Id: I106c81a16eb5b39ff38c6f896095a27f597b3f8d
Reviewed-on: https://go-review.googlesource.com/99016
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-03-06 23:26:52 +00:00
Brad Fitzpatrick acc11e0e4c dashboard, app/appengine: disable macOS 10.8 builders, disable Go 1.8 builders
Change-Id: I84532de81c9eaaf3a989d1f855053c6104e2195d
Reviewed-on: https://go-review.googlesource.com/95555
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-02-20 20:04:00 +00:00
Brad Fitzpatrick f4148b59b4 app: return the name of the Go branch in the JSON state of subrepos
We want to pass this down to the coordinator so each
dashboard.BuildConfig can have its own policy on which branches to
build. For example, we'll have NetBSD skip building subrepos for Go
versions that are too old.

Updates golang/go#23102

Change-Id: I40d35c9c5a6d4455772430c169dbea054929545e
Reviewed-on: https://go-review.googlesource.com/83536
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2017-12-12 21:02:07 +00:00
Brad Fitzpatrick 6114c7b9e7 app: hide and stop testing release-branch.go1.7
Per policy, we only support & test the past two releases (currently Go
1.8 and Go 1.9).

Change-Id: I3d35d47c9053ffc34a0d175815b7227532579aad
Reviewed-on: https://go-review.googlesource.com/77931
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2017-11-15 18:43:30 +00:00
Andrew Bonventre bd4a55cdea app: modernize the App Engine code
+ Renames build/ to appengine/ as it contains the main entry point
  for the app.
+ Moves app.yaml files to the appengine/ folder as gcloud app deploy
  will complain if it can’t find any go files to build in the same
  directory as the app.yaml file (previously I think it recursively
  looked for them in the directory tree).
+ Update deploy steps in app.yaml.
+ Remove application and version fields in app.yaml as gcloud deploy
  doesn’t allow them anymore.
+ Update to use go1.8, including using the context package as
  appropriate. In some cases the x/net/context package must be
  used to match the function types specified by GAE.

Change-Id: Ib38563ba7245f37de1a2f8d7f034f02c0cd77863
Reviewed-on: https://go-review.googlesource.com/70410
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2017-10-13 17:07:12 +00:00
Andrew Bonventre a831b5e920 app: link to Gerrit changes instead of GitHub commits
Fixes golang/go#22217

Change-Id: I5e04ff2009013636f1ca49c1f32896dbba7dd931
Reviewed-on: https://go-review.googlesource.com/70170
Reviewed-by: Sarah Adams <shadams@google.com>
2017-10-12 01:20:12 +00:00
Brad Fitzpatrick 3b550cd671 app: fix XSS
build.golang.org does't use any cookies or allow any non-read actions,
but fix anyway.

Change-Id: Ib9002753de268083d7e16ce41cd7ff950f7f28a4
Reviewed-on: https://go-review.googlesource.com/47091
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2017-06-28 22:58:17 +00:00
Quentin Smith ebd58f58c0 app/build: add benchmarks subrepo
Change-Id: Id426d245365ffd4da632944f1f1835fd96f15a78
Reviewed-on: https://go-review.googlesource.com/38810
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-03-29 20:44:17 +00:00
Brad Fitzpatrick 760758efa1 build: stop testing release-branch.go1.6
Go policy is to support the past two released Go version, which is
currently Go 1.7 and Go 1.8. Most of the Go repos are broken for Go 1.6 now
because everybody is using subtests and contexts.

Previously:
  https://golang.org/cl/31767 removed Go 1.5.
  https://golang.org/cl/20843 removed Go 1.4.

Change-Id: I64b4af609a8be79a0f25a855430b73ba4d442ae0
Reviewed-on: https://go-review.googlesource.com/37466
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-02-26 05:30:09 +00:00
Quentin Smith b2b5c61511 app/build: allow specific commits to be shown
This is particularly useful for mode=json; this way, you can fetch
specific commits instead of having to page through results.

Change-Id: I756315e08665ba5b84a212384b01bdad26a6824d
Reviewed-on: https://go-review.googlesource.com/35790
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-01-26 16:41:55 +00:00
Russ Cox f3411686b1 app/build: add perf subrepo
For golang/go#14304.

Change-Id: I4b9737716bdb9de74fd9ca5e855f853494651b77
Reviewed-on: https://go-review.googlesource.com/34614
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-12-20 20:11:53 +00:00
Brad Fitzpatrick 9a45b14cf9 build: stop testing release-branch.go1.5
Normal Go policy is to support the past two released Go version, which
is currently Go 1.6 and Go 1.7.

Change-Id: I8db9495582d40e82ceb4ccf52ea22ec3969f6ae5
Reviewed-on: https://go-review.googlesource.com/31767
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-10-24 20:22:21 +00:00
Chris Broadfoot a485648640 app/build: make the favicon smaller
The favicon is hotlinked from golang.org/favicon.ico, which is now
larger.

Resize it to 16x16.

Fixes golang/go#17022.

Change-Id: Id74eb3bd8c855a042d033664359f04089d7857ff
Reviewed-on: https://go-review.googlesource.com/28770
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-08 00:43:54 +00:00
Quentin Smith b0892397e0 devapp: GAE app for serving release dashboards
This uses the godash command/library to serve release dashboards, on a
new app to be hosted at dev.golang.org.

The dashboards are automatically updated by a cron job every 30 minutes.

Change-Id: I2e1e6a270e26fd93a9c767b0168e2c8c520e8ace
Reviewed-on: https://go-review.googlesource.com/23210
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2016-05-24 00:01:02 +00:00
Andrew Gerrand 4a8e4fe220 app: set Strict-Transport-Security header
Change-Id: I1f8827a69060f29fbdbd32711869c2080746d275
Reviewed-on: https://go-review.googlesource.com/22704
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-02 17:43:52 +00:00
Andrew Gerrand 04c53475f9 app: use app.yaml directive to redirect to HTTPS
Change-Id: I31988e47ade8a84780fc1c978cb3ce9fdb734207
Reviewed-on: https://go-review.googlesource.com/22449
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-27 01:12:33 +00:00
Andrew Gerrand eb0920e9bb app: redirect from HTTP to HTTPS
Change-Id: Id23820cb19f509824c63cb4aeba7a7cd276b4bdf
Reviewed-on: https://go-review.googlesource.com/22368
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-22 04:17:36 +00:00
Andrew Gerrand f7f4528954 all: refer to build.golang.org by HTTPS URLs only
Most of these are documentation fixes.

Change-Id: If100cc2ef0ee0b8b47a1e96e4c51a2be8caf5842
Reviewed-on: https://go-review.googlesource.com/22366
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-22 02:40:25 +00:00
Andrew Gerrand 5683700b6d app/build: hide release-branch.go1.4 from the dashboard
Change-Id: I3f0d0691b56fb8a134a5c7ef83da681a9a6068d0
Reviewed-on: https://go-review.googlesource.com/20843
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-03-21 20:48:31 +00:00
Andrew Gerrand 4713e09c38 app/build: add oauth2 to build dashboard
Fixes golang/go#12775

Change-Id: I9ac3870bb27b8dc715fcd0628993965086642b4d
Reviewed-on: https://go-review.googlesource.com/19879
Reviewed-by: Burcu Dogan <jbd@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-02-29 01:49:32 +00:00
Andrew Gerrand 50f88b3042 app/build: add tour repo to the build dashboard
Change-Id: I56b72b2717ab7d0c65234e9c9f9246f72110de9e
Reviewed-on: https://go-review.googlesource.com/18556
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-01-13 08:57:54 +00:00
Christian Couder c274d96d25 app/build/handler: error out telling which version we got
Change-Id: I789d420279fbc1c27fec02ef4c7556b2f9997b1c
Reviewed-on: https://go-review.googlesource.com/17290
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-12-02 02:22:28 +00:00
Christian Couder aa651b9984 app/build: fix version in test.go
Change-Id: Ifa2cdf4a80926d505d36612938759bcce4a75771
Reviewed-on: https://go-review.googlesource.com/17228
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-11-30 20:54:55 +00:00
Christian Couder 3cf29a7f2d app/build/dash: remove special case for gccgoDash
Change-Id: I98d53f38c88b77445d4d6b892c8471dd0918000d
Reviewed-on: https://go-review.googlesource.com/17224
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-11-26 19:16:02 +00:00
Andrew Gerrand 0d62d3c603 app/build, cmd/pushback: add term repo
Update golang/go#13104

Change-Id: I62ae7ebb97ebcf578d3e322bbf6f536e288a603b
Reviewed-on: https://go-review.googlesource.com/17019
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-11-18 04:35:11 +00:00
Austin Clements cf97336113 app/build: expand JSON format output
This expands the JSON dashboard output to include everything that's
visible on the HTML dashboard (which includes all of the obviously
meaningful fields from the Commit objects).

Change-Id: Ib0437bec276a78ca9efd57fcc16041e40ccd3d4c
Reviewed-on: https://go-review.googlesource.com/16632
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-11-05 16:39:53 +00:00
Andrew Gerrand 4154d4f503 app/build, cmd/pushback: add time sub-repo
Fixes golang/go#13022

Change-Id: Ie3f3da3ae8d878949f0440610dccc22aefe1accc
Reviewed-on: https://go-review.googlesource.com/16587
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-11-03 06:57:38 +00:00
Andrew Gerrand 476aff75c5 app/build, cmd/pushback: add sync repo
Update issue golang/go#13058

Change-Id: I24e136b955e7556af2c24c25b10f6d4abb630dbd
Reviewed-on: https://go-review.googlesource.com/16506
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-10-30 04:29:42 +00:00
Andrew Gerrand adfbb38661 app/cache: store memcache values as gzipped gobs
We're running up against the 1MB value limit when serving the dashboard
front page. Rather than shard keys, just store a more compact
representation of the data.

Change-Id: Ib5a4db4b0b78ddfe711ecbb58dcf1eff18e1fd53
Reviewed-on: https://go-review.googlesource.com/14630
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-15 22:02:28 +00:00
Alex Brainman 95f317bf56 app/build: remove Test, Perf and Graphs buttons
Perf and Graphs buttons lead to pages with no useful information.

Change-Id: I455a3f43b5f0d14ea19319d8af9d3f1ad7243481
Reviewed-on: https://go-review.googlesource.com/14488
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-11 04:42:23 +00:00
Andrew Gerrand 4c7245d4fd app/build: add x/arch repo to list
Fixes golang/go#12393

Change-Id: Iecffc79e7c04e3e11596f81d5157ccd0f820c9ee
Reviewed-on: https://go-review.googlesource.com/14146
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-09-01 03:06:42 +00:00
Andrew Gerrand 78126804a0 app: show go hashes in each row on sub-repo pages
Change-Id: I5c9ed4e588e9f8319cc39dbca8ca8c1c4a7e39ed
Reviewed-on: https://go-review.googlesource.com/13058
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-04 01:08:10 +00:00
Andrew Gerrand c03daae2cb app: fix caching of todo handler
Change-Id: I440ae3f20124b59b4679958bc623f00cca94f640
Reviewed-on: https://go-review.googlesource.com/11328
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2015-06-23 01:26:38 +00:00
Andrew Gerrand 3121d292a8 app: fix caching
Also link commits to github (nicer diff view).
Also remove some old Mercurial cruft.

Change-Id: I717900cd9cac9c6b5d08b0594d5adf29ed56eeb7
Reviewed-on: https://go-review.googlesource.com/11327
Reviewed-by: Chris Broadfoot <cbro@google.com>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-06-23 00:36:41 +00:00
Andrew Gerrand cc63cd0d5b app: show sub-repo results for stable releases
The coordinator will automatically start building sub-repos against
the stable releases once this dashboard is rolled out.

Fixes golang/go#11197

Change-Id: I6f0735f842431a1c072d748f9073120812a03309
Reviewed-on: https://go-review.googlesource.com/11112
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-06-15 20:01:03 +00:00
Andrew Gerrand a3c7de9d12 app: add branch dropdown, show only master branch by default
Fixes golang/go#9572

Change-Id: I763905327d03cea84dde43bba544d3d54886fce5
Reviewed-on: https://go-review.googlesource.com/11096
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-06-15 02:14:00 +00:00
Andrew Gerrand a1f99d90bf app: remove hg dashboard
It's time.

Fixes golang/go#11152

Change-Id: I9211e2cac5e73870f613fbc13d825df426ee11e6
Reviewed-on: https://go-review.googlesource.com/10917
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-06-11 18:13:31 +00:00
Andrew Gerrand 4d2f2c9628 app: move commit information to left side of page and condense it
Change-Id: I5dc557e4dcc3aa1d34c259951674c98f93075d81
Reviewed-on: https://go-review.googlesource.com/10890
Reviewed-by: Russ Cox <rsc@golang.org>
2015-06-10 17:28:34 +00:00
Andrew Gerrand aee97806db app: and (finally) populate the fields in the commits
Change-Id: I94283ef9824bb39b80f7422d9ea81987012496f1
Reviewed-on: https://go-review.googlesource.com/10877
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-06-10 17:06:37 +00:00
Andrew Gerrand 8d855ce567 app: show building url in sub-repo template
Change-Id: I0a7e684e95c9a01fbfb32e806af418f00ebd29f4
Reviewed-on: https://go-review.googlesource.com/10876
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-06-10 16:59:55 +00:00