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

Issue 3607014: Update all ebuilds to point to a branch or tag. (Closed)

Created:
10 years, 2 months ago by David James
Modified:
9 years, 7 months ago
Reviewers:
aluri, anush, scottz, djmm, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, sosa
Visibility:
Public.

Description

Update all ebuilds to point to a branch or tag. Mark all ebuilds in chromiumos-overlay and chromeos-overlay as stable and point them at the current version we have checked out. This is useful in case we want to verify that all ebuilds are pointing at the right commit hash when we are doing a build on a branch. It is intended to be used prior to tagging and can be used instead of a preflight queue. It is an alternative to cros_mark_all_as_stable that does not require a chroot and does not increase the revision number on ebuilds. Unlike cros_mark_all_as_stable, which only updates the latest stable ebuild for a given board, this script updates all stable ebuilds for all boards, including unused stable ebuilds. We do this for the sake of simplicity because it's hard to know in advance which ebuilds are truly unused, and it shouldn't hurt to update unused ebuilds. This script does not support cros_mark_as_stable_blacklist. If there are any packages in the blacklist, this script exits with an error message. TEST=Ran this script to point power_manager at branch and tested that we built power_manager from the branch. BUG=chromium-os:7218, chromium-os:6429 Change-Id: Ib2308806c5a4db979b1245a90407fd5b6353e4fd Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=807d018

Patch Set 1 #

Patch Set 2 : Check start of line #

Patch Set 3 : Cleanup comments #

Total comments: 1

Patch Set 4 : Review feedback, more comments. #

Patch Set 5 : Update stable ebuilds with latest changes from 9999 ebuild #

Patch Set 6 : Add print statement. #

Patch Set 7 : Cleanup diagnostic message #

Patch Set 8 : Cleanup quoting #

Total comments: 6

Patch Set 9 : Use commit hashes instead, per feedback from Anush #

Patch Set 10 : Minor tweaks #

Patch Set 11 : More cleanup per feedback from djmm #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -0 lines) Patch
A cros_mark_branch_as_stable View 1 2 3 4 5 6 7 8 9 10 1 chunk +98 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
davidjames
10 years, 2 months ago (2010-10-08 21:51:22 UTC) #1
sosa
I would try not to mention specific roles that script might be of interest to ...
10 years, 2 months ago (2010-10-08 22:03:10 UTC) #2
djmm
LGTM
10 years, 2 months ago (2010-10-08 22:29:25 UTC) #3
David James
PTAL. I've updated the script to also copy changes from the 9999 ebuild to the ...
10 years, 2 months ago (2010-10-11 15:09:30 UTC) #4
sosa
As a side note, maybe we should just remove the blacklist functionality from cros_mark_all? What ...
10 years, 2 months ago (2010-10-11 17:05:08 UTC) #5
David James
Per feedback from Anush, I've updated to use commit hashes everywhere. This makes the script ...
10 years, 2 months ago (2010-10-11 21:15:36 UTC) #6
sosa
LGTM
10 years, 2 months ago (2010-10-11 21:21:01 UTC) #7
djmm
LGTM http://codereview.chromium.org/3607014/diff/25001/26001 File cros_mark_branch_as_stable (right): http://codereview.chromium.org/3607014/diff/25001/26001#newcode49 cros_mark_branch_as_stable:49: eval $(grep -E '^CROS_WORKON' $ebuild) Bash's elegant simplicity. ...
10 years, 2 months ago (2010-10-11 22:02:50 UTC) #8
anush
10 years, 2 months ago (2010-10-11 22:03:33 UTC) #9
LGTM

On 2010/10/11 22:02:50, djmm wrote:
> LGTM
> 
> http://codereview.chromium.org/3607014/diff/25001/26001
> File cros_mark_branch_as_stable (right):
> 
> http://codereview.chromium.org/3607014/diff/25001/26001#newcode49
> cros_mark_branch_as_stable:49: eval $(grep -E '^CROS_WORKON' $ebuild)
> Bash's elegant simplicity. :)

Powered by Google App Engine
This is Rietveld 408576698