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

Issue 2280213002: Delete lots of svn logic from bot_update (Closed)

Created:
4 years, 3 months ago by agable
Modified:
4 years, 3 months ago
Reviewers:
Ryan Tseng, iannucci, hinoka
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments #

Patch Set 3 : Rebase #

Total comments: 12

Patch Set 4 : Rebase #

Patch Set 5 : Respond to iannucci's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -364 lines) Patch
M recipe_modules/bot_update/resources/bot_update.py View 1 2 3 4 29 chunks +36 lines, -364 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
agable
4 years, 3 months ago (2016-08-26 21:38:03 UTC) #1
hinoka
lgtm https://codereview.chromium.org/2280213002/diff/1/recipe_modules/bot_update/resources/bot_update.py File recipe_modules/bot_update/resources/bot_update.py (left): https://codereview.chromium.org/2280213002/diff/1/recipe_modules/bot_update/resources/bot_update.py#oldcode92 recipe_modules/bot_update/resources/bot_update.py:92: BUILDSPEC_RE = (r'^/chrome-internal/trunk/tools/buildspec/' If this doesn't work / ...
4 years, 3 months ago (2016-08-26 21:59:54 UTC) #2
agable
https://codereview.chromium.org/2280213002/diff/1/recipe_modules/bot_update/resources/bot_update.py File recipe_modules/bot_update/resources/bot_update.py (left): https://codereview.chromium.org/2280213002/diff/1/recipe_modules/bot_update/resources/bot_update.py#oldcode92 recipe_modules/bot_update/resources/bot_update.py:92: BUILDSPEC_RE = (r'^/chrome-internal/trunk/tools/buildspec/' On 2016/08/26 at 21:59:54, hinoka wrote: ...
4 years, 3 months ago (2016-08-29 19:09:58 UTC) #3
agable
Oh god the official continuous builders are still using the buildspec munging logic: https://uberchromegw.corp.google.com/i/official.desktop.continuous/builders/win%20stable/builds/893/steps/bot_update/logs/stdio Trying ...
4 years, 3 months ago (2016-08-29 19:43:21 UTC) #4
agable
On 2016/08/29 at 19:43:21, agable wrote: > Oh god the official continuous builders are still ...
4 years, 3 months ago (2016-08-29 20:01:59 UTC) #5
Ryan Tseng
What's the status of this?
4 years, 3 months ago (2016-08-31 20:47:11 UTC) #7
agable
On 2016/08/31 at 20:47:11, hinoka wrote: > What's the status of this? Other CL landed, ...
4 years, 3 months ago (2016-08-31 20:49:28 UTC) #8
iannucci
lgtm https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_update/resources/bot_update.py File recipe_modules/bot_update/resources/bot_update.py (right): https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_update/resources/bot_update.py#newcode509 recipe_modules/bot_update/resources/bot_update.py:509: first_solution = True this variable is no longer ...
4 years, 3 months ago (2016-09-07 19:45:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2280213002/80001
4 years, 3 months ago (2016-09-07 23:12:13 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/082267a659f94bf7bca5cb144e203ca0913abb3a
4 years, 3 months ago (2016-09-07 23:15:09 UTC) #15
bpastene
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2320653003/ by bpastene@chromium.org. ...
4 years, 3 months ago (2016-09-07 23:47:47 UTC) #16
agable
4 years, 3 months ago (2016-09-08 00:29:17 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_upda...
File recipe_modules/bot_update/resources/bot_update.py (right):

https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_upda...
recipe_modules/bot_update/resources/bot_update.py:509: first_solution = True
On 2016/09/07 at 19:45:55, iannucci wrote:
> this variable is no longer used

Removed.

https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_upda...
recipe_modules/bot_update/resources/bot_update.py:518: print 'Warning: %s' %
('path %r not recognized' % parsed_path,)
On 2016/09/07 at 19:45:55, iannucci wrote:
> remove this entire condition... if we need it at all (we don't) this is the
wrong place to put it anyway.

Removed.

https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_upda...
recipe_modules/bot_update/resources/bot_update.py:524: if deps_value and '$$' in
deps_value:
On 2016/09/07 at 19:45:55, iannucci wrote:
> this is never used in recipes:
https://cs.chromium.org/search/?q=%22$$%22+file:.*%5C.json&sq=package:chromiu...

Removed whole conditional stanza.

https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_upda...
recipe_modules/bot_update/resources/bot_update.py:556: build_dir = os.getcwd()
On 2016/09/07 at 19:45:55, iannucci wrote:
> can we move this os.getcwd() up and re-use it in the previous line too?

Done.

https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_upda...
recipe_modules/bot_update/resources/bot_update.py:890: def
get_commit_position(git_path, revision='HEAD'):
On 2016/09/07 at 19:45:55, iannucci wrote:
> TODO; use git-footers tool for this

Added

https://codereview.chromium.org/2280213002/diff/40001/recipe_modules/bot_upda...
recipe_modules/bot_update/resources/bot_update.py:1090:
parse.add_option('--patch_url', help='DEPRECATED')
On 2016/09/07 at 19:45:55, iannucci wrote:
> I already removed this, but note that this is a resource of the bot_update
module. You should have removed this and then removed the respective invocation
from api.py (which is the sole user of this script).

Yeah good call. Rebase removed it.

Powered by Google App Engine
This is Rietveld 408576698