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

Issue 404463003: Move commit list and builder latest revisions up to ct-unexpected-failures (Closed)

Created:
6 years, 5 months ago by ojan
Modified:
6 years, 5 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Move commit list and builder latest revisions up to ct-unexpected-failures Create a model directory for model classes. We should never be using dumb objects as our model (even in tests!). Having explicit classes makes more clear the types of the objects a component takes in. Also, it gives a clear location for putting logic related to that bit of the model. Moving the commit list and the builder revisions up is a step in the direction of enabling https://codereview.chromium.org/402603007. NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178582

Patch Set 1 #

Total comments: 31

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -142 lines) Patch
A Tools/GardeningServer/model/ct-commit.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
A Tools/GardeningServer/model/ct-commit-log.html View 1 1 chunk +36 lines, -0 lines 0 comments Download
A Tools/GardeningServer/model/ct-commit-log-mock.html View 1 chunk +22 lines, -0 lines 0 comments Download
A Tools/GardeningServer/model/ct-commit-log-tests.html View 1 chunk +44 lines, -0 lines 0 comments Download
A Tools/GardeningServer/model/ct-commit-mock.html View 1 chunk +28 lines, -0 lines 0 comments Download
M Tools/GardeningServer/run-unittests.html View 1 1 chunk +2 lines, -1 line 0 comments Download
M Tools/GardeningServer/ui/ct-builder-grid.html View 1 4 chunks +22 lines, -13 lines 0 comments Download
M Tools/GardeningServer/ui/ct-builder-grid-tests.html View 1 chunk +32 lines, -32 lines 0 comments Download
M Tools/GardeningServer/ui/ct-commit.html View 1 chunk +1 line, -0 lines 0 comments Download
D Tools/GardeningServer/ui/ct-commit-data.html View 1 chunk +0 lines, -27 lines 0 comments Download
D Tools/GardeningServer/ui/ct-commit-data-tests.html View 1 chunk +0 lines, -42 lines 0 comments Download
M Tools/GardeningServer/ui/ct-commit-list.html View 1 chunk +27 lines, -5 lines 0 comments Download
A Tools/GardeningServer/ui/ct-commit-list-tests.html View 1 chunk +33 lines, -0 lines 0 comments Download
M Tools/GardeningServer/ui/ct-commit-tests.html View 1 chunk +5 lines, -14 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-analyzer.html View 3 chunks +12 lines, -1 line 0 comments Download
M Tools/GardeningServer/ui/ct-failure-card.html View 1 2 chunks +6 lines, -3 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-stream.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Tools/GardeningServer/ui/ct-unexpected-failures.html View 1 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ojan
esprehn and I chatted on Wednesday about data models, core-ajax, testing, etc. He convinced me ...
6 years, 5 months ago (2014-07-19 02:02:58 UTC) #1
abarth-chromium
https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log-mock.html File Tools/GardeningServer/model/ct-commit-log-mock.html (right): https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log-mock.html#newcode9 Tools/GardeningServer/model/ct-commit-log-mock.html:9: <link rel='import' href='ct-commit-mock.html'> can we drop the ct prefix?
6 years, 5 months ago (2014-07-19 02:40:04 UTC) #2
ojan
https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log-mock.html File Tools/GardeningServer/model/ct-commit-log-mock.html (right): https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log-mock.html#newcode9 Tools/GardeningServer/model/ct-commit-log-mock.html:9: <link rel='import' href='ct-commit-mock.html'> On 2014/07/19 02:40:04, abarth wrote: > ...
6 years, 5 months ago (2014-07-19 02:44:22 UTC) #3
abarth-chromium
LGTM https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log.html File Tools/GardeningServer/model/ct-commit-log.html (right): https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log.html#newcode28 Tools/GardeningServer/model/ct-commit-log.html:28: CTCommitLog.prototype._processXml = function(xml) { _processXml -> _processXML ? ...
6 years, 5 months ago (2014-07-21 06:36:27 UTC) #4
michaelpg
https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log-mock.html File Tools/GardeningServer/model/ct-commit-log-mock.html (right): https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log-mock.html#newcode9 Tools/GardeningServer/model/ct-commit-log-mock.html:9: <link rel='import' href='ct-commit-mock.html'> On 2014/07/19 02:44:22, ojan-only-code-yellow-reviews wrote: > ...
6 years, 5 months ago (2014-07-21 07:28:48 UTC) #5
ojan
https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log-mock.html File Tools/GardeningServer/model/ct-commit-log-mock.html (right): https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/ct-commit-log-mock.html#newcode9 Tools/GardeningServer/model/ct-commit-log-mock.html:9: <link rel='import' href='ct-commit-mock.html'> ct == chromium-tools. In a future ...
6 years, 5 months ago (2014-07-21 19:58:05 UTC) #6
ojan
The CQ bit was checked by ojan@chromium.org
6 years, 5 months ago (2014-07-21 19:58:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/404463003/20001
6 years, 5 months ago (2014-07-21 19:59:42 UTC) #8
commit-bot: I haz the power
Change committed as 178582
6 years, 5 months ago (2014-07-21 20:02:20 UTC) #9
esprehn
https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/ui/ct-commit-list.html File Tools/GardeningServer/ui/ct-commit-list.html (right): https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/ui/ct-commit-list.html#newcode40 Tools/GardeningServer/ui/ct-commit-list.html:40: this._revisions.push(i); On 2014/07/21 19:58:04, ojan-only-code-yellow-reviews wrote: > Heh. I ...
6 years, 5 months ago (2014-07-21 20:11:07 UTC) #10
ojan
On 2014/07/21 at 20:11:07, esprehn wrote: > https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/ui/ct-commit-list.html > File Tools/GardeningServer/ui/ct-commit-list.html (right): > > https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/ui/ct-commit-list.html#newcode40 ...
6 years, 5 months ago (2014-07-21 20:14:02 UTC) #11
michaelpg
6 years, 5 months ago (2014-07-22 05:47:37 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/...
File Tools/GardeningServer/model/ct-commit-log-mock.html (right):

https://codereview.chromium.org/404463003/diff/1/Tools/GardeningServer/model/...
Tools/GardeningServer/model/ct-commit-log-mock.html:9: <link rel='import'
href='ct-commit-mock.html'>
On 2014/07/21 19:58:04, ojan-only-code-yellow-reviews wrote:
> ct == chromium-tools. In a future world in which we share code between tools,
> we'll move some of these to a shared base library. Really we should be
> distinguishing between ct and sm (sheriff-o-matic) already, but we can make
that
> change when we actually start putting the shared code in a shared place.
> 
> As to the naming, I don't feel strongly. There is no DOM in the model
directory.
> So, there's:
> CTCommit == model
> <ct-commit> == ui
> 
> We could rename the file to include model in the filename, but that seemed
> redundant, e.g. model/ct-model-commit.html, model/ct-model-commit-log.html,
etc.

Oops, I didn't realize that there actually was a ct-commit UI element as opposed
to it just holding data. In that case, this is great.

Powered by Google App Engine
This is Rietveld 408576698