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

Issue 25322002: Add support in gclient for pre-DEPS hooks (Closed)

Created:
7 years, 2 months ago by borenet
Modified:
7 years, 1 month ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org, robertphillips, djsollen, reed1
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Add support in gclient for pre-DEPS hooks These are run for a given dependency after it has been synced but before its DEPS have been synced. This will help to switch Chromium to depend on Skia's git repository (skia:1638). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=228651

Patch Set 1 #

Patch Set 2 : Add asserts, tests #

Total comments: 2

Patch Set 3 : Add --noprehooks flag #

Total comments: 2

Patch Set 4 : Add default for --noprehooks #

Patch Set 5 : Only run pre-DEPS hooks on "sync" and "revert" #

Patch Set 6 : Revert "Add support in gclient for pre-DEPS hooks" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -184 lines) Patch
M gclient.py View 1 2 3 4 5 11 chunks +1 line, -57 lines 0 comments Download
M testing_support/fake_repos.py View 1 2 3 4 5 3 chunks +2 lines, -51 lines 0 comments Download
M tests/gclient_smoketest.py View 1 2 3 4 5 1 chunk +0 lines, -76 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
borenet
Uploading a first pass. This will allow us to switch and sync Skia from skia.googlesource.com/skia.git ...
7 years, 2 months ago (2013-09-30 18:23:14 UTC) #1
borenet
On 2013/09/30 18:23:14, borenet wrote: > Uploading a first pass. This will allow us to ...
7 years, 2 months ago (2013-10-01 19:55:47 UTC) #2
cmp
> Ping. What are chrome-infra's thoughts on this? Anytime you add a new hook to ...
7 years, 2 months ago (2013-10-01 20:01:23 UTC) #3
iannucci
This change generally seems good to me, though it does create a rather large affordance ...
7 years, 2 months ago (2013-10-02 21:44:14 UTC) #4
borenet
Thanks guys. I expected a lot of push back on this one, so I wanted ...
7 years, 2 months ago (2013-10-03 19:06:30 UTC) #5
borenet
On 2013/10/03 19:06:30, borenet wrote: > Thanks guys. I expected a lot of push back ...
7 years, 2 months ago (2013-10-07 19:19:22 UTC) #6
iannucci
wdyt about an alternate flag? I don't think gclient has enough options... https://codereview.chromium.org/25322002/diff/6001/gclient.py File gclient.py ...
7 years, 2 months ago (2013-10-07 22:40:08 UTC) #7
borenet
https://codereview.chromium.org/25322002/diff/6001/gclient.py File gclient.py (right): https://codereview.chromium.org/25322002/diff/6001/gclient.py#newcode660 gclient.py:660: self.RunPreDepsHooks() On 2013/10/07 22:40:09, iannucci wrote: > So, the ...
7 years, 2 months ago (2013-10-08 13:53:18 UTC) #8
iannucci
On 2013/10/08 13:53:18, borenet wrote: > https://codereview.chromium.org/25322002/diff/6001/gclient.py > File gclient.py (right): > > https://codereview.chromium.org/25322002/diff/6001/gclient.py#newcode660 > ...
7 years, 2 months ago (2013-10-08 17:50:10 UTC) #9
borenet
On 2013/10/08 17:50:10, iannucci wrote: > On 2013/10/08 13:53:18, borenet wrote: > > https://codereview.chromium.org/25322002/diff/6001/gclient.py > ...
7 years, 2 months ago (2013-10-09 15:27:55 UTC) #10
iannucci
What about just setting it to something like 3 months? Or 6 months? or a ...
7 years, 2 months ago (2013-10-09 16:41:23 UTC) #11
borenet
Uploaded patch set 4. I'm hesitant to mess with expiration dates in automation, unless we're ...
7 years, 2 months ago (2013-10-10 18:24:29 UTC) #12
iannucci
On 2013/10/10 18:24:29, borenet wrote: > Uploaded patch set 4. I'm hesitant to mess with ...
7 years, 2 months ago (2013-10-10 18:47:15 UTC) #13
borenet
> > > > I'm actually not sure that I have the default behavior right ...
7 years, 2 months ago (2013-10-10 18:55:14 UTC) #14
iannucci
On 2013/10/10 18:55:14, borenet wrote: > > > > > > I'm actually not sure ...
7 years, 2 months ago (2013-10-10 20:00:31 UTC) #15
iannucci
On 2013/10/10 20:00:31, iannucci wrote: > On 2013/10/10 18:55:14, borenet wrote: > > > > ...
7 years, 2 months ago (2013-10-10 20:01:12 UTC) #16
borenet
On 2013/10/10 20:01:12, iannucci wrote: > On 2013/10/10 20:00:31, iannucci wrote: > > On 2013/10/10 ...
7 years, 2 months ago (2013-10-10 20:42:28 UTC) #17
iannucci
On 2013/10/10 20:42:28, borenet wrote: > On 2013/10/10 20:01:12, iannucci wrote: > > On 2013/10/10 ...
7 years, 2 months ago (2013-10-10 21:16:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/borenet@google.com/25322002/27001
7 years, 2 months ago (2013-10-15 08:11:31 UTC) #19
commit-bot: I haz the power
7 years, 2 months ago (2013-10-15 08:13:17 UTC) #20
Message was sent while issue was closed.
Change committed as 228651

Powered by Google App Engine
This is Rietveld 408576698