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

Issue 19289011: add reformat-json.py script (Closed)

Created:
7 years, 5 months ago by epoger
Modified:
7 years, 5 months ago
Reviewers:
borenet, rmistry
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : comments_only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -0 lines) Patch
A tools/reformat-json.py View 1 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
epoger
I used this to create https://code.google.com/p/skia/source/detail?r=10152 ('base-macmini: replace file-based GM expectations with JSON-based ones'). Any ...
7 years, 5 months ago (2013-07-18 19:03:31 UTC) #1
borenet
On 2013/07/18 19:03:31, epoger wrote: > I used this to create https://code.google.com/p/skia/source/detail?r=10152 > ('base-macmini: replace ...
7 years, 5 months ago (2013-07-18 20:18:06 UTC) #2
epoger
On 2013/07/18 20:18:06, borenet wrote: > On 2013/07/18 19:03:31, epoger wrote: > > I used ...
7 years, 5 months ago (2013-07-18 20:45:18 UTC) #3
borenet
On 2013/07/18 20:45:18, epoger wrote: > On 2013/07/18 20:18:06, borenet wrote: > > On 2013/07/18 ...
7 years, 5 months ago (2013-07-18 20:47:22 UTC) #4
epoger
Committed patchset #2 manually as r10192 (presubmit successful).
7 years, 5 months ago (2013-07-19 15:45:23 UTC) #5
epoger
7 years, 5 months ago (2013-07-19 15:52:14 UTC) #6
Message was sent while issue was closed.
On 2013/07/18 20:47:22, borenet wrote:
> > Right now, if I were to add a new platform I would probably copy over the
> > expected-results.json file from a similar platform and then run
rebaseline.py
> > after a full bot cycle to update any tests that failed.  That should
probably
> > work pretty well.
> > 
> 
> Hmm... I think it might be good to add an "add new platform by copying an
> existing platform" option to rebaseline.py so that there's no manual work
> needed.

Mmmaybe.  Given that adding a platform is a relatively rare event, I am hesitant
to make rebaseline.py any more confusing to support it.  For now, I have
documented this process suggestion within the comment section of
https://sites.google.com/site/skiadocs/developer-documentation/using-gm-golde...
; if we want to toolify it later, we can do that.

> 
> > As far as this particular script goes... I think we should keep it around,
in
> > case we ever need to reformat one of our JSON files.  Maybe if we change the
> > schema of the JSON file, or some other circumstance...
> 
> SGTM

Committed.

Powered by Google App Engine
This is Rietveld 408576698