summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 7a4eb1e8..fa3e1034 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -36,6 +36,8 @@ LOCAL_MANIFESTS_DIR_NAME = 'local_manifests'
36SUBMANIFEST_DIR = 'submanifests' 36SUBMANIFEST_DIR = 'submanifests'
37# Limit submanifests to an arbitrary depth for loop detection. 37# Limit submanifests to an arbitrary depth for loop detection.
38MAX_SUBMANIFEST_DEPTH = 8 38MAX_SUBMANIFEST_DEPTH = 8
39# Add all projects from sub manifest into a group.
40SUBMANIFEST_GROUP_PREFIX = 'submanifest:'
39 41
40# Add all projects from local manifest into a group. 42# Add all projects from local manifest into a group.
41LOCAL_MANIFEST_GROUP_PREFIX = 'local:' 43LOCAL_MANIFEST_GROUP_PREFIX = 'local:'
@@ -990,6 +992,8 @@ https://gerrit.googlesource.com/git-repo/+/HEAD/docs/manifest-format.md
990 self.branch = b 992 self.branch = b
991 993
992 parent_groups = self.parent_groups 994 parent_groups = self.parent_groups
995 if self.path_prefix:
996 parent_groups = f'{SUBMANIFEST_GROUP_PREFIX}:path:{self.path_prefix},{parent_groups}'
993 997
994 # The manifestFile was specified by the user which is why we allow include 998 # The manifestFile was specified by the user which is why we allow include
995 # paths to point anywhere. 999 # paths to point anywhere.