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

Issue 3015033: Create a PRESUBMIT which verifies that 9999 and stable are in sync (Closed)

Created:
10 years, 5 months ago by Mandeep Singh Baines
Modified:
9 years, 7 months ago
Reviewers:
Chris Masone, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, tedbo, awong, adlr, anush
Base URL:
http://src.chromium.org/git/chromiumos-overlay.git
Visibility:
Public.

Description

Create a PRESUBMIT which verifies that 9999 and stable are in sync BUG=4993 TEST=Verified that there is no error when in sync. Verified that an error is reported when 9999 does not exist. Verified that an error is reported when not in sync. Change-Id: I734ba8bd4e83cc3eebc514bdf9ec7c73d9cbb65b

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -0 lines) Patch
A PRESUBMIT.py View 1 chunk +69 lines, -0 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
Mandeep Singh Baines
10 years, 5 months ago (2010-07-26 22:15:01 UTC) #1
Chris Masone
http://codereview.chromium.org/3015033/diff/1/2 File PRESUBMIT.py (right): http://codereview.chromium.org/3015033/diff/1/2#newcode34 PRESUBMIT.py:34: devebuild_path = os.path.join(dir, ebuild + '-9999.ebuild') will this work ...
10 years, 5 months ago (2010-07-26 22:23:33 UTC) #2
Mandeep Singh Baines
cmasone@chromium.org (cmasone@chromium.org) wrote: > > http://codereview.chromium.org/3015033/diff/1/2 > File PRESUBMIT.py (right): > > http://codereview.chromium.org/3015033/diff/1/2#newcode34 > PRESUBMIT.py:34: ...
10 years, 5 months ago (2010-07-26 22:35:21 UTC) #3
Chris Masone
How? I don't understand what strips off the other version number? On Mon, Jul 26, ...
10 years, 5 months ago (2010-07-26 22:37:47 UTC) #4
Mandeep Singh Baines
Chris Masone (cmasone@chromium.org) wrote: > How? I don't understand what strips off the other version ...
10 years, 5 months ago (2010-07-26 23:01:10 UTC) #5
Chris Masone
cool lgtm On Mon, Jul 26, 2010 at 3:59 PM, Mandeep Singh Baines <msb@chromium.org> wrote: ...
10 years, 5 months ago (2010-07-26 23:06:30 UTC) #6
sosa
I know this is late but can you answer this? http://codereview.chromium.org/3015033/diff/1/2 File PRESUBMIT.py (right): http://codereview.chromium.org/3015033/diff/1/2#newcode19 ...
10 years, 5 months ago (2010-07-27 00:30:38 UTC) #7
Mandeep Singh Baines
10 years, 5 months ago (2010-07-27 01:13:46 UTC) #8
sosa@chromium.org (sosa@chromium.org) wrote:
> I know this is late but can you answer this?
>

Sorry was P0 so wanted to get in ASAP.

>
> http://codereview.chromium.org/3015033/diff/1/2
> File PRESUBMIT.py (right):
>
> http://codereview.chromium.org/3015033/diff/1/2#newcode19
> PRESUBMIT.py:19: return ebuild_contents.count('inherit cros-workon') > 0
> What happens if an ebuild contains "inherit something_else cros-workon"?
>

Good point. I mistakenly confused our python coding convention with our
ebuild one and thought that wasn't allowed. But that's not correct.

I'll send a follow-up CL to make the search more permissive.

> http://codereview.chromium.org/3015033/show

Powered by Google App Engine
This is Rietveld 408576698