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

Issue 1230293003: Add a GN auto-roller script. (Closed)

Created:
5 years, 5 months ago by Dirk Pranke
Modified:
5 years, 5 months ago
Reviewers:
brettw, Nico, scottmg
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a GN auto-roller script. This CL adds a script in //tools/gn/bin/roll_gn.py that, given no arguments, will post three CLs and three tryjobs in order to: * build a new GN binary at tip-of-tree * update the buildtools repo to the newly built binaries * and then update DEPS to point to the leatest buildtools The script must be run on Linux by someone with commit access to both src/ and buildtools/. One can also run the steps independently for testing purposes. It can only be run in a clean chromium checkout; it should error out in most cases if something bad happens, but the error checking isn't yet foolproof. R=brettw@chromium.org, scottmg@chromium.org, thakis@chromium.org Committed: https://crrev.com/97ec9ac8703dc10eaef5e60984bb3ecdfad344bd Cr-Commit-Position: refs/heads/master@{#339191}

Patch Set 1 #

Patch Set 2 : fix depot_tools_path #

Total comments: 13

Patch Set 3 : update w/ review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -0 lines) Patch
A tools/gn/bin/roll_gn.py View 1 2 1 chunk +384 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Dirk Pranke
5 years, 5 months ago (2015-07-15 01:38:17 UTC) #1
brettw
I only skimmed the code. LGTM with the additions below. https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py File tools/gn/bin/roll_gn.py (right): https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py#newcode1 ...
5 years, 5 months ago (2015-07-15 01:59:05 UTC) #2
Dirk Pranke
https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py File tools/gn/bin/roll_gn.py (right): https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py#newcode1 tools/gn/bin/roll_gn.py:1: #!/usr/bin/python On 2015/07/15 01:59:05, brettw wrote: > Needs copyright. ...
5 years, 5 months ago (2015-07-15 02:40:32 UTC) #3
brettw
https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py File tools/gn/bin/roll_gn.py (right): https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py#newcode15 tools/gn/bin/roll_gn.py:15: depot_tools_path = None Correct, you can be assured I ...
5 years, 5 months ago (2015-07-15 02:43:37 UTC) #4
Nico
neat! a few minor comments, all optional https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py File tools/gn/bin/roll_gn.py (right): https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py#newcode24 tools/gn/bin/roll_gn.py:24: sys.path.append(depot_tools_path) nit: ...
5 years, 5 months ago (2015-07-15 20:24:25 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py File tools/gn/bin/roll_gn.py (right): https://codereview.chromium.org/1230293003/diff/20001/tools/gn/bin/roll_gn.py#newcode24 tools/gn/bin/roll_gn.py:24: sys.path.append(depot_tools_path) On 2015/07/15 20:24:25, Nico wrote: > nit: always ...
5 years, 5 months ago (2015-07-15 20:35:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230293003/40001
5 years, 5 months ago (2015-07-17 00:36:06 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-17 00:45:50 UTC) #10
commit-bot: I haz the power
5 years, 5 months ago (2015-07-17 00:46:37 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/97ec9ac8703dc10eaef5e60984bb3ecdfad344bd
Cr-Commit-Position: refs/heads/master@{#339191}

Powered by Google App Engine
This is Rietveld 408576698