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

Issue 16782003: rebaseline.py: if rebaselining all platforms (not listing them explicitly), allow missing platforms (Closed)

Created:
7 years, 6 months ago by epoger
Modified:
7 years, 6 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

rebaseline.py: if rebaselining all platforms (not listing them explicitly), allow missing platforms TBR=any-reviewer Committed: https://code.google.com/p/skia/source/detail?r=9506

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M tools/rebaseline.py View 3 chunks +18 lines, -1 line 4 comments Download

Messages

Total messages: 4 (0 generated)
epoger
https://codereview.chromium.org/16782003/diff/1/tools/rebaseline.py File tools/rebaseline.py (right): https://codereview.chromium.org/16782003/diff/1/tools/rebaseline.py#newcode1 tools/rebaseline.py:1: #!/usr/bin/python Apologies for the "TBR" commit, but I have ...
7 years, 6 months ago (2013-06-11 16:15:33 UTC) #1
epoger
Committed patchset #1 manually as r9506 (presubmit successful).
7 years, 6 months ago (2013-06-11 16:16:04 UTC) #2
Stephen White
LGTM https://codereview.chromium.org/16782003/diff/1/tools/rebaseline.py File tools/rebaseline.py (right): https://codereview.chromium.org/16782003/diff/1/tools/rebaseline.py#newcode140 tools/rebaseline.py:140: return urllib2.urlopen(url).read() Oooh, I missed the change where ...
7 years, 6 months ago (2013-06-11 16:40:47 UTC) #3
epoger
7 years, 6 months ago (2013-06-11 16:47:19 UTC) #4
On 2013/06/11 16:40:47, Stephen White wrote:
> LGTM
> 
> https://codereview.chromium.org/16782003/diff/1/tools/rebaseline.py
> File tools/rebaseline.py (right):
> 
> https://codereview.chromium.org/16782003/diff/1/tools/rebaseline.py#newcode140
> tools/rebaseline.py:140: return urllib2.urlopen(url).read()
> Oooh, I missed the change where we switched to python-native URL fetching.
This
> is great (something I meant to do for a while).

So far, we only do python-native URL fetching for the JSON file, not the
individual image files. See
https://code.google.com/p/skia/source/browse/trunk/tools/rebaseline.py?r=9507...
:

        # TODO(epoger): Replace calls to "curl"/"mv" (which will only work on
        # Unix) with a Python HTTP library (which should work cross-platform)
        self._Call([ 'curl', '--fail', '--silent', source_url,
                     '--output', temp_filename ])
        self._Call([ 'mv', temp_filename, dest_filename ])

Powered by Google App Engine
This is Rietveld 408576698