Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1115)

Issue 4519047: code review 4519047: dashboard: fix for branches (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 12 months ago by rsc
Modified:
13 years, 12 months ago
Reviewers:
CC:
adg, dave_cheney.net, golang-dev
Visibility:
Public.

Description

dashboard: fix for branches In the new world, one builder runs gobuilder -commit which uploads information about commits to the dashboard, which then hands the work out to the builders by hash. There is no assumption anymore that the commit numbers are consistent across builders. New builders will need to be deployed. For now darwin-amd64 is running the new builder to test the code. The new JSON-based protocol for handing out work via /todo should be easy to extend if we want to add support for sending trial CLs to the builders. This code is already running on godashboard.appspot.com.

Patch Set 1 #

Patch Set 2 : diff -r f45f4ac13a29 https://go.googlecode.com/hg #

Patch Set 3 : diff -r f45f4ac13a29 https://go.googlecode.com/hg #

Patch Set 4 : diff -r f45f4ac13a29 https://go.googlecode.com/hg #

Patch Set 5 : diff -r f45f4ac13a29 https://go.googlecode.com/hg #

Patch Set 6 : diff -r f45f4ac13a29 https://go.googlecode.com/hg #

Total comments: 12

Patch Set 7 : diff -r a438f36395ee https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r 7ee7980ea06d https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -384 lines) Patch
M misc/dashboard/builder/Makefile View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M misc/dashboard/builder/doc.go View 1 3 chunks +1 line, -6 lines 0 comments Download
M misc/dashboard/builder/exec.go View 1 2 3 3 chunks +7 lines, -7 lines 0 comments Download
R misc/dashboard/builder/hg.go View 1 2 3 1 chunk +0 lines, -86 lines 0 comments Download
M misc/dashboard/builder/http.go View 1 2 3 4 5 6 2 chunks +95 lines, -63 lines 0 comments Download
M misc/dashboard/builder/main.go View 1 2 3 4 5 6 14 chunks +245 lines, -106 lines 0 comments Download
M misc/dashboard/builder/package.go View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M misc/dashboard/godashboard/app.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
M misc/dashboard/godashboard/gobuild.py View 1 2 3 4 5 6 13 chunks +153 lines, -109 lines 0 comments Download
M misc/dashboard/godashboard/index.yaml View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7
rsc
Hello adg (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
13 years, 12 months ago (2011-05-09 22:38:40 UTC) #1
rsc
Hello adg (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 12 months ago (2011-05-10 03:34:18 UTC) #2
adg
Thanks again for doing this. http://codereview.appspot.com/4519047/diff/9001/misc/dashboard/builder/http.go File misc/dashboard/builder/http.go (right): http://codereview.appspot.com/4519047/diff/9001/misc/dashboard/builder/http.go#newcode19 misc/dashboard/builder/http.go:19: // dash runs the ...
13 years, 12 months ago (2011-05-11 16:07:57 UTC) #3
rsc
Hello adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 12 months ago (2011-05-12 04:12:17 UTC) #4
dave_cheney.net
I have no comments on the code, but with this patch applied the arm5 is ...
13 years, 12 months ago (2011-05-12 05:51:25 UTC) #5
adg
LGTM
13 years, 12 months ago (2011-05-12 15:15:10 UTC) #6
rsc
13 years, 12 months ago (2011-05-12 15:21:37 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=740b18a25fcf ***

dashboard: fix for branches

In the new world, one builder runs
        gobuilder -commit
which uploads information about commits to the dashboard,
which then hands the work out to the builders by hash.
There is no assumption anymore that the commit numbers
are consistent across builders.

New builders will need to be deployed.  For now darwin-amd64
is running the new builder to test the code.

The new JSON-based protocol for handing out work via /todo
should be easy to extend if we want to add support for sending
trial CLs to the builders.

This code is already running on godashboard.appspot.com.

R=adg, dave
CC=golang-dev
http://codereview.appspot.com/4519047

http://codereview.appspot.com/4519047/diff/9001/misc/dashboard/builder/main.go
File misc/dashboard/builder/main.go (right):

http://codereview.appspot.com/4519047/diff/9001/misc/dashboard/builder/main.g...
misc/dashboard/builder/main.go:431: io.MultiReader(strings.NewReader("<top>"),
strings.NewReader(data), strings.NewReader("</top>")),
On 2011/05/11 16:07:57, adg wrote:
> Is this a bug? Shouldn't these strings.Readers be on either side of the
> &logStruct?

No, they are on either side of the input.
logStruct is the output.
Although now that you mention it,

strings.NewReader("<top>"+data+"</top>") 

would work better
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b