|
|
|
@ -68,22 +68,22 @@ def BaseConfig(USE_MIRROR=True, CACHE_DIR=None,
|
|
|
|
|
parent_got_revision_mapping = Dict(hidden=True),
|
|
|
|
|
delete_unversioned_trees = Single(bool, empty_val=True, required=False),
|
|
|
|
|
|
|
|
|
|
# Maps patch_project to (solution/path, revision).
|
|
|
|
|
# Maps canonical repo URL to (local_path, revision).
|
|
|
|
|
# - canonical gitiles repo URL is "https://<host>/<project>"
|
|
|
|
|
# where project does not have "/a/" prefix or ".git" suffix.
|
|
|
|
|
# - solution/path is then used to apply patches as patch root in
|
|
|
|
|
# bot_update.
|
|
|
|
|
# - if revision is given, it's passed verbatim to bot_update for
|
|
|
|
|
# corresponding dependency. Otherwise (ie None), the patch will be
|
|
|
|
|
# corresponding dependency. Otherwise (i.e. None), the patch will be
|
|
|
|
|
# applied on top of version pinned in DEPS.
|
|
|
|
|
# This is essentially a whitelist of which projects inside a solution
|
|
|
|
|
# can be patched automatically by bot_update based on PATCH_PROJECT
|
|
|
|
|
# property.
|
|
|
|
|
# For example, bare chromium solution has this entry in patch_projects
|
|
|
|
|
# 'angle/angle': ('src/third_party/angle', 'HEAD')
|
|
|
|
|
# This is essentially a whitelist of which repos inside a solution
|
|
|
|
|
# can be patched automatically by bot_update based on
|
|
|
|
|
# api.buildbucket.build.input.gerrit_changes[0].project
|
|
|
|
|
# For example, if bare chromium solution has this entry in repo_path_map
|
|
|
|
|
# 'https://chromium.googlesource.com/angle/angle': (
|
|
|
|
|
# 'src/third_party/angle', 'HEAD')
|
|
|
|
|
# then a patch to Angle project can be applied to a chromium src's
|
|
|
|
|
# checkout after first updating Angle's repo to its master's HEAD.
|
|
|
|
|
# TODO(nodir): remove patch_projects in favor of repo_path_map.
|
|
|
|
|
patch_projects = Dict(value_type=tuple, hidden=True),
|
|
|
|
|
# Same as the above, except the keys are full repo URLs.
|
|
|
|
|
repo_path_map = Dict(value_type=tuple, hidden=True),
|
|
|
|
|
|
|
|
|
|
# Check out refs/branch-heads.
|
|
|
|
@ -294,12 +294,6 @@ def infra(c):
|
|
|
|
|
soln.name = 'infra'
|
|
|
|
|
soln.url = 'https://chromium.googlesource.com/infra/infra.git'
|
|
|
|
|
c.got_revision_mapping['infra'] = 'got_revision'
|
|
|
|
|
|
|
|
|
|
p = c.patch_projects
|
|
|
|
|
p['infra/luci/luci-py'] = ('infra/luci', 'HEAD')
|
|
|
|
|
# TODO(phajdan.jr): remove recipes-py when it's not used for project name.
|
|
|
|
|
p['infra/luci/recipes-py'] = ('infra/recipes-py', 'HEAD')
|
|
|
|
|
p['recipe_engine'] = ('infra/recipes-py', 'HEAD')
|
|
|
|
|
c.repo_path_map.update({
|
|
|
|
|
'https://chromium.googlesource.com/infra/luci/gae': (
|
|
|
|
|
'infra/go/src/go.chromium.org/gae', 'HEAD'),
|
|
|
|
|