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

Issue 3148016: Make sync_build_test and build_autotest support workon. (Closed)

Created:
10 years, 4 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
zbehan, ericli, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Base URL:
ssh://git@chromiumos-git//crosutils.git
Visibility:
Public.

Description

Make sync_build_test and build_autotest support workon. BUG=5766

Patch Set 1 #

Patch Set 2 : Autodetect workon #

Total comments: 9

Patch Set 3 : Respond to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -30 lines) Patch
M build_autotest.sh View 1 1 chunk +14 lines, -1 line 0 comments Download
M sync_build_test.sh View 1 2 9 chunks +68 lines, -29 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
kmixter1
10 years, 4 months ago (2010-08-17 22:02:01 UTC) #1
zbehan
On 2010/08/17 22:02:01, kmixter1 wrote: > Cool! So now I know where do you build ...
10 years, 4 months ago (2010-08-17 23:11:05 UTC) #2
kmixter1
Alas no, though I thought it was. It used to be called by build_packages, but ...
10 years, 4 months ago (2010-08-18 00:34:34 UTC) #3
zbehan
I see. Well, I'd expect there to be one place that everybody calls. Otherwise we'll ...
10 years, 4 months ago (2010-08-18 00:40:26 UTC) #4
kmixter1
I am. The related review is http://codereview.chromium.org/3180011 which calls build_autotest directly and appropriately builds the ...
10 years, 4 months ago (2010-08-18 02:54:54 UTC) #5
sosa
http://codereview.chromium.org/3148016/diff/5001/6002 File sync_build_test.sh (right): http://codereview.chromium.org/3148016/diff/5001/6002#newcode123 sync_build_test.sh:123: if [[ -d "${FLAGS_top}" ]]; then Why do you ...
10 years, 4 months ago (2010-08-18 18:44:17 UTC) #6
kmixter1
PTAL. http://codereview.chromium.org/3148016/diff/5001/6002 File sync_build_test.sh (right): http://codereview.chromium.org/3148016/diff/5001/6002#newcode123 sync_build_test.sh:123: if [[ -d "${FLAGS_top}" ]]; then On 2010/08/18 ...
10 years, 4 months ago (2010-08-18 18:55:28 UTC) #7
sosa
http://codereview.chromium.org/3148016/diff/5001/6002 File sync_build_test.sh (right): http://codereview.chromium.org/3148016/diff/5001/6002#newcode123 sync_build_test.sh:123: if [[ -d "${FLAGS_top}" ]]; then Oh I would ...
10 years, 4 months ago (2010-08-18 19:26:42 UTC) #8
sosa
10 years, 4 months ago (2010-08-18 20:55:38 UTC) #9
After convo LGTM

On Wed, Aug 18, 2010 at 12:26 PM,  <sosa@chromium.org> wrote:
>
> http://codereview.chromium.org/3148016/diff/5001/6002
> File sync_build_test.sh (right):
>
> http://codereview.chromium.org/3148016/diff/5001/6002#newcode123
> sync_build_test.sh:123: if [[ -d "${FLAGS_top}" ]]; then
> Oh I would think you would want to either detect this automatically or
> pass in a flag.  It seems strange to pass in a flag and also
> automatically modify prev-mentioned flag.   If you automatically detect
> this and don't want to worry about it, why not just remove it from being
> a flag?
>
> In the case you do remove the flag, you should also probably just set
> the variable to true if you're missing the dev directory (since you
> would always have it in the old workflow)
>
> On 2010/08/18 18:55:29, kmixter1 wrote:
>>
>> On 2010/08/18 18:44:18, sosa wrote:
>> > Why do you want to auto-detect this?
>
>> Just makes it be one less parameter to pass to sync_build_test, when
>
> it can be
>>
>> auto-detected.  There's never a point to switching the workflow for a
>
> given
>>
>> checkout, right?  So I'd either want to give an error if it
>
> mismatched, or just
>>
>> do the right thing.  This is the latter.  The parameter still is
>
> useful to
>>
>> expose though because sync_build_test can also check out/build/test
>
> brand new
>>
>> checkouts.  Is that what you were asking?
>
> http://codereview.chromium.org/3148016/diff/5001/6002#newcode430
> sync_build_test.sh:430: git cl config
> "file://$(pwd)/../../../codereview.settings"
> It is necessary, I just didn't realize you were using this as your dev
> workflow.
>
> On 2010/08/18 18:55:29, kmixter1 wrote:
>>
>> On 2010/08/18 18:44:18, sosa wrote:
>> > Why do you need git cl config here and below?  Are you
>
> uploading/committing
>>
>> > changes?
>
>> Is it no longer necessary to run git cl config once before doing a git
>
> cl upload
>>
>> in a checkout?  And yes, I would be - this script is generally part of
>
> my
>>
>> development workflow.  I believe others' as well.
>
> http://codereview.chromium.org/3148016/show
>

Powered by Google App Engine
This is Rietveld 408576698