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

Issue 5069001: Move sanity checks for missing directories until after checkout happens. (Closed)

Created:
10 years, 1 month ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
scottz, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Move sanity checks for missing directories until after checkout happens. Preflight clean needs to wait until after the checkout happens before it asserts that all of our overlays exist. BUG=chromium-os:9197 TEST=Ran cbuildbot.py with missing chromiumos-overlay dir Change-Id: If66574f01d1e85741e971919a9fa2da34f85872d Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=77f281a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Alternative approach. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M bin/cbuildbot.py View 1 2 chunks +6 lines, -4 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
davidjames
10 years, 1 month ago (2010-11-16 02:25:10 UTC) #1
sosa
http://codereview.chromium.org/5069001/diff/1/bin/cbuildbot.py File bin/cbuildbot.py (right): http://codereview.chromium.org/5069001/diff/1/bin/cbuildbot.py#newcode264 bin/cbuildbot.py:264: _GitCleanup(buildroot, board, tracking_branch) Does this break git cleanup of ...
10 years, 1 month ago (2010-11-16 02:37:43 UTC) #2
davidjames
http://codereview.chromium.org/5069001/diff/1/bin/cbuildbot.py File bin/cbuildbot.py (right): http://codereview.chromium.org/5069001/diff/1/bin/cbuildbot.py#newcode264 bin/cbuildbot.py:264: _GitCleanup(buildroot, board, tracking_branch) On 2010/11/16 02:37:44, sosa wrote: > ...
10 years, 1 month ago (2010-11-16 02:55:41 UTC) #3
sosa
LGTM
10 years, 1 month ago (2010-11-16 03:15:26 UTC) #4
scottz
10 years, 1 month ago (2010-11-16 03:45:42 UTC) #5
LGTM, 

I am not sure about the asserts we are adding to this code here though. I don't
understand why we are using asserts to test for them and I also do not
understand the danger of these "creeping" in. It seems to be that if : are
sneaking in we have other problems.

http://codereview.chromium.org/5069001/diff/5001/bin/cbuildbot.py
File bin/cbuildbot.py (right):

http://codereview.chromium.org/5069001/diff/5001/bin/cbuildbot.py#newcode537
bin/cbuildbot.py:537: assert ':' not in path, 'Overlay must not contain colons:
%s' % path
Why are we putting asserts in here still? From your last comment it sounded like
this wasn't really necessary.

Powered by Google App Engine
This is Rietveld 408576698