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

Issue 2852019: cros_workon: initial implementation (Closed)

Created:
10 years, 6 months ago by brian d
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Base URL:
ssh://git@gitrw.chromium.org//crosutils.git
Visibility:
Public.

Description

cros_workon: initial implementation Moves ebuild(s) between stable and live states. Lists ebuilds currently under development in the testing branch. Stable ebuilds obtain and build against the last known good commit. Live ebuilds (9999) perform a 'git clone' during the src_unpack step to obtain and save the source for development and building. Example usage: Sync & build 'ibus-hangul' testing ebuild (9999) ./cros_workon start app-i18n/ibus-hangul Build 'ibus-hangul' from the last stable commit ./cros_workon stop app-i18n/ibus-hangul List of ebuilds under development ./cros_workon list Change-Id: I2ea4babd7597d5cea9ca96419a74152f9f0b23f1 Note: --board must be specified if the --default option to setup_board was not used.

Patch Set 1 #

Total comments: 17

Patch Set 2 : rename 'testing' to 'live', command-line handling cleanup, incorporate review feedback #

Patch Set 3 : Remediate my sub-standard english usage. #

Total comments: 6

Patch Set 4 : Switch to single cros-workon file (was component based), review feedback changes #

Total comments: 4

Patch Set 5 : arg reordering complete, simple is better; sed --> grep #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -0 lines) Patch
A cros_workon View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
brian d
10 years, 6 months ago (2010-06-22 19:06:13 UTC) #1
brian d
10 years, 6 months ago (2010-06-22 19:36:16 UTC) #2
sosa
Some meta-comments: I don't like using the word "testing" when talking about working on ebuilds. ...
10 years, 6 months ago (2010-06-22 20:28:24 UTC) #3
djmm
http://codereview.chromium.org/2852019/diff/1/2 File cros_workon (right): http://codereview.chromium.org/2852019/diff/1/2#newcode67 cros_workon:67: `grep "${package}" "${KEYWORDS_DIR}/${component}"` ]]; then Use $() construct (rather ...
10 years, 6 months ago (2010-06-22 21:05:05 UTC) #4
brian d
Thanks for the great feedback! Testing will be called Live... this should avoid naming collisions ...
10 years, 6 months ago (2010-06-22 21:43:57 UTC) #5
Mandeep Singh Baines
Instead of having a file in package.keywords per atom, have a single file named cros-workon. ...
10 years, 6 months ago (2010-06-22 23:34:10 UTC) #6
brian d
Updated with review and design feedback.
10 years, 6 months ago (2010-06-22 23:35:00 UTC) #7
zbehan
On 2010/06/22 21:43:57, bdaugher wrote: > Testing will be called Live... this should avoid naming ...
10 years, 6 months ago (2010-06-22 23:51:08 UTC) #8
sosa
Mostly nits. Other comments: You have a lot of echo's in this script. You may ...
10 years, 6 months ago (2010-06-23 00:12:55 UTC) #9
brian d
Updated with latest feedback.
10 years, 6 months ago (2010-06-23 16:42:16 UTC) #10
sosa
Few last comments to address then LGTM as long as other reviewers don't have other ...
10 years, 6 months ago (2010-06-23 18:20:16 UTC) #11
Mandeep Singh Baines
LGTM Tiny nit which is not necessary to address. http://codereview.chromium.org/2852019/diff/17001/18001 File cros_workon (right): http://codereview.chromium.org/2852019/diff/17001/18001#newcode85 cros_workon:85: ...
10 years, 6 months ago (2010-06-23 20:13:01 UTC) #12
Mandeep Singh Baines
10 years, 6 months ago (2010-06-23 20:44:51 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld 408576698