-
Notifications
You must be signed in to change notification settings - Fork 63
Add Edge-specific DEPS file pinning lib/modules to c637015f #1502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # | ||
|
|
||
| use_relative_paths = True | ||
|
|
||
| git_dependencies = 'DEPS' | ||
|
|
||
| vars = { | ||
| 'edge_git': 'https://microsoft.visualstudio.com/edge/_git', | ||
| 'edge_git_suffix': '', | ||
| 'oneds_modules_revision': 'c637015fbbe904ed556d27e3b9072f6f2a5ee401', | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This pins |
||
| } | ||
|
|
||
|
bmehta001 marked this conversation as resolved.
|
||
| deps = { | ||
| 'lib/modules': { | ||
| 'url': Var('edge_git') + '/microsoft.cpp_client_telemetry_modules' + Var('edge_git_suffix') + '@' + Var('oneds_modules_revision'), | ||
| 'condition': 'checkout_ms_src_internal' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Net effect: any gclient consumer that does not define this var will try to clone Fix — give it a vars = {
'edge_git': '...',
'edge_git_suffix': '',
'oneds_modules_revision': 'c637015f...',
'checkout_ms_src_internal': False, # Edge sets this True via custom_vars
} |
||
| }, | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git_dependencies = 'DEPS'declares DEPS authoritative over git submodules for this repo. For a gclient consumer that recurses into this DEPS, thelib/modulessubmodule won''t be synced; combined with the condition-gated dep (once theFalsedefault above is added), a non-Edge gclient consumer would then fetchlib/modulesfrom neither path. Harmless today (no other gclient consumers of this repo) and completely inert for non-gclient users, but worth a comment so the interaction is intentional.