Chromium Code Reviews

Issue 642253002: Don't run deps2git if the repo doesn't have a .DEPS.git. (Closed)

Created:
6 years, 2 months ago by szager1
Modified:
6 years, 2 months ago
Reviewers:
hinoka, Michael Moss, zty, Michael Achenbach
CC:
chromium-reviews, pgervais+watch_chromium.org, kjellander-cc_chromium.org, cmp-cc_chromium.org, stip+watch_chromium.org
Project:
tools
Visibility:
Public.

Description

Don't run deps2git if the repo doesn't have a .DEPS.git. Also, get rid of obsolete FLAG_DAY global variable. And fix the tests. R=hinoka@chromium.org,machenbach@chromium.org,mmoss@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=292406

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Stats (+9 lines, -26 lines)
M scripts/slave/bot_update.py View 8 chunks +6 lines, -22 lines 5 comments
M tests/bot_update_test.py View 4 chunks +3 lines, -4 lines 1 comment

Messages

Total messages: 10 (2 generated)
szager1
6 years, 2 months ago (2014-10-10 07:10:11 UTC) #1
Michael Achenbach
lgtm https://codereview.chromium.org/642253002/diff/1/tests/bot_update_test.py File tests/bot_update_test.py (right): https://codereview.chromium.org/642253002/diff/1/tests/bot_update_test.py#newcode515 tests/bot_update_test.py:515: 'properties': {'got_revision': self.template_dict['top_revision_0']}, Can't say much about this...
6 years, 2 months ago (2014-10-10 07:31:39 UTC) #2
Michael Moss
lgtm
6 years, 2 months ago (2014-10-10 15:36:55 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/642253002/1
6 years, 2 months ago (2014-10-10 16:16:56 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as 292406
6 years, 2 months ago (2014-10-10 16:19:07 UTC) #6
zty
https://codereview.chromium.org/642253002/diff/1/scripts/slave/bot_update.py File scripts/slave/bot_update.py (right): https://codereview.chromium.org/642253002/diff/1/scripts/slave/bot_update.py#newcode285 scripts/slave/bot_update.py:285: GIT_MASTERS += internal_data.get('GIT_MASTERS', []) Delete this ? https://codereview.chromium.org/642253002/diff/1/scripts/slave/bot_update.py#newcode549 scripts/slave/bot_update.py:549: ...
6 years, 2 months ago (2014-10-10 18:11:28 UTC) #8
szager1
https://codereview.chromium.org/642253002/diff/1/scripts/slave/bot_update.py File scripts/slave/bot_update.py (right): https://codereview.chromium.org/642253002/diff/1/scripts/slave/bot_update.py#newcode549 scripts/slave/bot_update.py:549: if not buildspec: On 2014/10/10 18:11:28, zty wrote: > ...
6 years, 2 months ago (2014-10-10 18:18:10 UTC) #9
agable
6 years, 2 months ago (2014-10-13 09:30:01 UTC) #10
Message was sent while issue was closed.
On 2014/10/10 18:18:10, szager1 wrote:
> https://codereview.chromium.org/642253002/diff/1/scripts/slave/bot_update.py
> File scripts/slave/bot_update.py (right):
> 
>
https://codereview.chromium.org/642253002/diff/1/scripts/slave/bot_update.py#...
> scripts/slave/bot_update.py:549: if not buildspec:
> On 2014/10/10 18:11:28, zty wrote:
> > this if block should be deleted if FLAG_DAY is True
> 
> No, it's still needed.  We still sometimes do builds from buildspecs instead
of
> DEPS.
> 
>
https://codereview.chromium.org/642253002/diff/1/scripts/slave/bot_update.py#...
> scripts/slave/bot_update.py:1556: use_svn_rev = master not in GIT_MASTERS
> On 2014/10/10 18:11:28, zty wrote:
> > This should be deleted if FLAG_DAY is True. use_svn_rev should always be
> False.
> 
> Hmm, I have to think about that.  There may still be non-chromium cases that
> need this.  hinoka would know better than I.

This CL has claimed its first victim: the webrtc.DEPS directory doesn't have a
.DEPS.git file committed to it, so we are no longer generating a .DEPS.git file
since we think we don't have to.

Rather than reverting this, I'm working to convert their DEPS file to git.

Follow along here: https://code.google.com/p/chromium/issues/detail?id=422864

Powered by Google App Engine