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

Issue 2570603003: Autoroller: Support for rolling individual DEPS entries. (Closed)

Created:
4 years ago by kjellander_webrtc
Modified:
4 years ago
Reviewers:
phoglund
CC:
webrtc-reviews_webrtc.org
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Autoroller: Support for rolling individual DEPS entries. Add functionality for automatic rolling of individual DEPS entries. This will make it possible to move away from the links created by setup_links.py to real DEPS entries. There are two kinds of such deps we intend to use: 1. Third party dependencies used by both WebRTC and Chromium: those are rolled to the same revision as the Chromium DEPS file of the revision passed to the script 2. Chromium sub-directories needed for WebRTC (mainly for //build and BUILD.gn files of third_party deps): those are rolled to the HEAD revision Notice that the latter kind could be rolled ahead of the chromium_revision, but generally these should be close (and if it passes the bots, we don't really mind). The new functionality can coexist with the old one, to enable a smooth transition (not everything needs to change at once). Some of the updating logic was inspired by https://cs.chromium.org/chromium/build/scripts/slave/recipes/v8/auto_roll_v8_deps.py Add extensive tests for the logic of figuring out deps changes, including mocking git ls-remote call to keep the tests hermetic. BUG=webrtc:5006 NOTRY=True Committed: https://crrev.com/38b6dbc7939cd8b4339592d12b21c345ae29504d Cr-Commit-Position: refs/heads/master@{#15570}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Updated after review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -50 lines) Patch
M tools/autoroller/roll_chromium_revision.py View 1 10 chunks +96 lines, -36 lines 0 comments Download
D tools/autoroller/unittests/DEPS View 1 chunk +0 lines, -6 lines 0 comments Download
M tools/autoroller/unittests/roll_chromium_revision_test.py View 5 chunks +81 lines, -8 lines 0 comments Download
A tools/autoroller/unittests/testdata/DEPS View 1 chunk +28 lines, -0 lines 0 comments Download
A tools/autoroller/unittests/testdata/DEPS.chromium.new View 1 chunk +13 lines, -0 lines 0 comments Download
A tools/autoroller/unittests/testdata/DEPS.chromium.old View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
kjellander_webrtc
4 years ago (2016-12-13 09:13:16 UTC) #3
phoglund
https://codereview.webrtc.org/2570603003/diff/20001/tools/autoroller/roll_chromium_revision.py File tools/autoroller/roll_chromium_revision.py (right): https://codereview.webrtc.org/2570603003/diff/20001/tools/autoroller/roll_chromium_revision.py#newcode23 tools/autoroller/roll_chromium_revision.py:23: # Skip these dependencies (list without solution name prefix). ...
4 years ago (2016-12-13 09:57:02 UTC) #5
kjellander_webrtc
PTAL https://codereview.webrtc.org/2570603003/diff/20001/tools/autoroller/roll_chromium_revision.py File tools/autoroller/roll_chromium_revision.py (right): https://codereview.webrtc.org/2570603003/diff/20001/tools/autoroller/roll_chromium_revision.py#newcode23 tools/autoroller/roll_chromium_revision.py:23: # Skip these dependencies (list without solution name ...
4 years ago (2016-12-13 10:25:00 UTC) #7
phoglund
lgtm
4 years ago (2016-12-13 10:40:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2570603003/40001
4 years ago (2016-12-13 11:31:59 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-12-13 11:35:26 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-13 11:35:34 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/38b6dbc7939cd8b4339592d12b21c345ae29504d
Cr-Commit-Position: refs/heads/master@{#15570}

Powered by Google App Engine
This is Rietveld 408576698