Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Issue 2676503002: milo: Use struct for BuildBot properties. (Closed)

Created:
3 years, 10 months ago by dnj
Modified:
3 years, 10 months ago
Reviewers:
hinoka
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

milo: Use struct for BuildBot properties. Use a struct for BuildBot properties internally. This will Marshal/Unmarshal to the previous []interface{} construction, but internally it will make the properties more accessible. BUG=chromium:687625 TEST=unit Review-Url: https://codereview.chromium.org/2676503002 Committed: https://github.com/luci/luci-go/commit/96163a8561d90a9784ae79e12683d7440a457f04

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -14 lines) Patch
M milo/appengine/buildbot/build.go View 3 chunks +13 lines, -13 lines 0 comments Download
M milo/appengine/buildbot/structs.go View 3 chunks +46 lines, -1 line 2 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 9 (4 generated)
dnj
PTAL. This set of CLs adds a pRPC service to Milo called "BuildInfo". This service ...
3 years, 10 months ago (2017-02-02 02:57:27 UTC) #2
hinoka
lgtm https://codereview.chromium.org/2676503002/diff/1/milo/appengine/buildbot/structs.go File milo/appengine/buildbot/structs.go (right): https://codereview.chromium.org/2676503002/diff/1/milo/appengine/buildbot/structs.go#newcode81 milo/appengine/buildbot/structs.go:81: return json.Marshal([]interface{}{p.Name, p.Value, p.Source}) This works??? I am ...
3 years, 10 months ago (2017-02-03 01:06:17 UTC) #3
dnj
https://codereview.chromium.org/2676503002/diff/1/milo/appengine/buildbot/structs.go File milo/appengine/buildbot/structs.go (right): https://codereview.chromium.org/2676503002/diff/1/milo/appengine/buildbot/structs.go#newcode81 milo/appengine/buildbot/structs.go:81: return json.Marshal([]interface{}{p.Name, p.Value, p.Source}) On 2017/02/03 01:06:17, hinoka wrote: ...
3 years, 10 months ago (2017-02-03 01:30:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676503002/1
3 years, 10 months ago (2017-02-03 23:46:04 UTC) #6
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 23:51:43 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://github.com/luci/luci-go/commit/96163a8561d90a9784ae79e12683d7440a457f04

Powered by Google App Engine
This is Rietveld 408576698