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

Issue 2480873003: Revert of Remove self-DEPS from chrome/variations/DEPS. (Closed)

Created:
4 years, 1 month ago by Mathieu
Modified:
4 years, 1 month ago
Reviewers:
gab, jwd
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, asvitkine+watch_chromium.org, droger+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Remove self-DEPS from chrome/variations/DEPS. (patchset #1 id:1 of https://codereview.chromium.org/2473023002/ ) Reason for revert: Broke checkdeps: https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/48559 Original issue's description: > Remove self-DEPS from chrome/variations/DEPS. > > BUG=None > > Committed: https://crrev.com/e89fc14086f099160141dc92d8eb94a5c2dd0873 > Cr-Commit-Position: refs/heads/master@{#430120} TBR=jwd@chromium.org,gab@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=None Committed: https://crrev.com/e3c657e06340261825f8d52f1dede637be4aa5e8 Cr-Commit-Position: refs/heads/master@{#430143}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M components/variations/DEPS View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
Mathieu
Created Revert of Remove self-DEPS from chrome/variations/DEPS.
4 years, 1 month ago (2016-11-05 03:34:33 UTC) #2
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/2480873003/1
4 years, 1 month ago (2016-11-05 03:34:45 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-05 03:36:16 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e3c657e06340261825f8d52f1dede637be4aa5e8 Cr-Commit-Position: refs/heads/master@{#430143}
4 years, 1 month ago (2016-11-05 03:40:07 UTC) #7
gab
Ah interesting, FTR: the self DEPS is necessary to counterbalance the "-components" in the same ...
4 years, 1 month ago (2016-11-07 15:25:12 UTC) #8
blundell
On 2016/11/07 15:25:12, gab wrote: > Ah interesting, FTR: the self DEPS is necessary to ...
4 years, 1 month ago (2016-11-07 15:27:12 UTC) #9
chromium-reviews
Maybe CQ doesn't check DEPS? Sounds like a bug with CQ - where it's not ...
4 years, 1 month ago (2016-11-07 15:28:14 UTC) #10
blundell
Oh I know why it passed CQ: the presubmit check only runs checkdeps *on files ...
4 years, 1 month ago (2016-11-07 15:33:27 UTC) #11
Mathieu
On 2016/11/07 15:33:27, blundell wrote: > Oh I know why it passed CQ: the presubmit ...
4 years, 1 month ago (2016-11-07 15:34:58 UTC) #12
blundell
On 2016/11/07 15:34:58, Mathieu Perreault wrote: > On 2016/11/07 15:33:27, blundell wrote: > > Oh ...
4 years, 1 month ago (2016-11-07 15:38:15 UTC) #13
gab
On 2016/11/07 15:27:12, blundell wrote: > On 2016/11/07 15:25:12, gab wrote: > > Ah interesting, ...
4 years, 1 month ago (2016-11-07 15:44:42 UTC) #14
blundell
On 2016/11/07 15:44:42, gab wrote: > On 2016/11/07 15:27:12, blundell wrote: > > On 2016/11/07 ...
4 years, 1 month ago (2016-11-07 15:48:36 UTC) #15
gab
4 years, 1 month ago (2016-11-07 15:54:47 UTC) #16
Message was sent while issue was closed.
On 2016/11/07 15:48:36, blundell wrote:
> On 2016/11/07 15:44:42, gab wrote:
> > On 2016/11/07 15:27:12, blundell wrote:
> > > On 2016/11/07 15:25:12, gab wrote:
> > > > Ah interesting, FTR: the self DEPS is necessary to counterbalance the
> > > > "-components" in the same DEPS file. It's kind of weird to have to be
> > explicit
> > > > about including self but I guess it's a rare enough case to a have to
> > > explicitly
> > > > set DEPS on set per explicitly blocking a path under self. But I'm not
> going
> > > to
> > > > chase this as I was merely doing a drive-by cleanup and don't really
care.
> > > > 
> > > > PS: Weird that it passed CQ though?! I guess this DEPS "bug" only
applies
> in
> > > > some corner cases..?
> > > 
> > > FWIW, The -components in the same file itself seems redundant since it's
in
> > > //components/DEPS (i.e., *no* component can blindly depend on //components
> by
> > > design).
> > 
> > I had the same thought but before making this change I checked whether other
> > components were also self-including and the few I checked weren't... maybe
the
> > DEPS check bug is that it requires explicit self-include when there's an
> > explicit broader self-exclude in the *same* DEPS file?
> 
> Yes, I think the the hierarchy goes like this, with higher overriding lower:
> 
> - deps set explicitly in the current DEPS file
> - implicit allowance on current directory
> - deps inherited from ancestors' DEPS files
> 
> So if -components was removed from //components/variations, there would be no
> need for +components/variations and also no change in what's allowed within
> //components/variations.

I see, well I'll let the components/variations/OWNERS fix it if they care, like
I said I was mostly just doing a drive-by fix in a split second but don't have
the intention to drive this further (but would like to be CC'ed out of curiosity
if someone does this).

Powered by Google App Engine
This is Rietveld 408576698