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

Issue 6348010: Update prebuilt to use cros_overlay_list as the definitive answer for which overlay to modify. (Closed)

Created:
9 years, 11 months ago by scottz
Modified:
9 years, 7 months ago
Reviewers:
robotboy, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Base URL:
ssh://git@gitrw.chromium.org:9222/crosutils@master
Visibility:
Public.

Description

Update prebuilt to use cros_overlay_list as the definitive answer for which overlay to modify. The last entry from the commands output will always be the one that we want. By using this we also avoid having to tack on -private and hope that people who created the overlay conformed to that naming convention. BUG=NA TEST=prebuilt_unittest updated and run Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=2c11e0d

Patch Set 1 #

Total comments: 14

Patch Set 2 : Updated unittests with respect to feedback provided #

Total comments: 2

Patch Set 3 : Remove extra slash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -47 lines) Patch
M prebuilt.py View 3 chunks +31 lines, -18 lines 0 comments Download
M prebuilt_unittest.py View 1 2 1 chunk +60 lines, -29 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scottz
9 years, 11 months ago (2011-01-19 20:56:13 UTC) #1
robotboy
LGTM on the main change. Not comfortable LGTMing the unit test because I have no ...
9 years, 11 months ago (2011-01-19 21:32:55 UTC) #2
sosa
http://codereview.chromium.org/6348010/diff/1/prebuilt.py File prebuilt.py (right): http://codereview.chromium.org/6348010/diff/1/prebuilt.py#newcode337 prebuilt.py:337: if re.match('.*?_.*', target): is this true? It looks like ...
9 years, 11 months ago (2011-01-19 21:51:15 UTC) #3
scottz
PTAL http://codereview.chromium.org/6348010/diff/1/prebuilt.py File prebuilt.py (right): http://codereview.chromium.org/6348010/diff/1/prebuilt.py#newcode337 prebuilt.py:337: if re.match('.*?_.*', target): Not in this script, in ...
9 years, 11 months ago (2011-01-19 22:11:06 UTC) #4
sosa
LGTM + nit http://codereview.chromium.org/6348010/diff/7001/prebuilt_unittest.py File prebuilt_unittest.py (right): http://codereview.chromium.org/6348010/diff/7001/prebuilt_unittest.py#newcode218 prebuilt_unittest.py:218: x86_out = ('%(private_overlay_path)s//chromeos-overlay\n' Dbl slash?
9 years, 11 months ago (2011-01-19 22:16:52 UTC) #5
scottz
9 years, 11 months ago (2011-01-19 22:21:24 UTC) #6
Fixed, submitting :) 

Thanks for the quick turnaround!

http://codereview.chromium.org/6348010/diff/7001/prebuilt_unittest.py
File prebuilt_unittest.py (right):

http://codereview.chromium.org/6348010/diff/7001/prebuilt_unittest.py#newcode218
prebuilt_unittest.py:218: x86_out =
('%(private_overlay_path)s//chromeos-overlay\n'
Oh snap :) thanks

On 2011/01/19 22:16:52, sosa wrote:
> Dbl slash?

Powered by Google App Engine
This is Rietveld 408576698