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

Issue 3389013: cros_workon: modify regen_manifest_and_sync to use loman (Closed)

Created:
10 years, 3 months ago by Mandeep Singh Baines
Modified:
9 years, 7 months ago
Reviewers:
kliegs, anush
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

cros_workon: modify regen_manifest_and_sync to use loman This fixes a bug where user added local_manifest.xml entries get clobbered. BUG=5787 TEST=Verified start of various packages works correctly. Change-Id: I2348dfb1be098b81ede5928426192c655160564d

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -49 lines) Patch
M cros_workon View 1 1 chunk +9 lines, -49 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mandeep Singh Baines
10 years, 3 months ago (2010-09-16 16:58:52 UTC) #1
anush
LGTM. Please update the TEST= with the fact that it didn't clobber existing local_manifest.xml. As ...
10 years, 3 months ago (2010-09-16 17:31:50 UTC) #2
kliegs
LGTM with nit Also would like to see more details on the TEST in the ...
10 years, 3 months ago (2010-09-16 17:44:02 UTC) #3
Mandeep Singh Baines
10 years, 3 months ago (2010-09-16 17:58:56 UTC) #4
Fixed nit. Retested. Committed.

kliegs@chromium.org (kliegs@chromium.org) wrote:
> LGTM with nit
> 
> Also would like to see more details on the TEST in the future. As example:
> 
> Ran cros_workon for a repo that already existed in local_manifest
> Ran cros_workon for a repo that didn't
> Ran cros_workon against an empty local_manifest
> Ran cros_workon against a local_manifest that contained other
> remotes defined
> Ran cros_workon against a local_manifest with comments
> Ran cros_workon against a local_manifest which wasn't valid XML
> 
> Although I think most of this testing was done in testing loman itself so
> referencing those tests should be fine.
> 
> 
> http://codereview.chromium.org/3389013/diff/1/2
> File cros_workon (right):
> 
> http://codereview.chromium.org/3389013/diff/1/2#newcode160
> cros_workon:160: local path=${srcdir#$(readlink -f
> ${CHROOT_TRUNK_DIR})/}
> Using path here can cause confusion with the environment variable PATH.
> I'd prefer to see a different name
> 
> http://codereview.chromium.org/3389013/show

Powered by Google App Engine
This is Rietveld 408576698