summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-08-29 16:41:22 -0400
committerMike Frysinger <vapier@google.com>2016-08-30 13:58:33 -0400
commit00f2105de85cd650532316e56f2db925ee497123 (patch)
tree8d74947bd6db2eddec1f493f0a928f803561940d
parent75963ab2c7cf392c7dcc18c8e71ac09b6e010f67 (diff)
downloadmanifest-00f2105de85cd650532316e56f2db925ee497123.tar.gz
add repohooks to all groups
Using the --groups option with repo init will restrict which repos are downloaded to only the specified ones. Unfortunately, the <repohooks> logic will always fire regardless of the selected group (and cannot be restricted), which means you'll get an error when trying to upload like: ERROR: Couldn't find repo hook: ".../tools/repohooks/pre-upload.py" Add the repohooks repo to every major active group so that it gets synced/checked out too. Hopefully this should cover most teams. Bug: 28295071 Test: `repo init -g adt-infra && repo sync` pulled down the repohooks repo Change-Id: If0295d7bbdd2840625fa79a76a5ecf11792a601a
-rw-r--r--default.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.xml b/default.xml
index c9579ee84..6b1c60b9e 100644
--- a/default.xml
+++ b/default.xml
@@ -539,7 +539,7 @@
<project path="tools/idea" name="platform/tools/idea" groups="notdefault,tools" />
<project path="tools/loganalysis" name="platform/tools/loganalysis" groups="notdefault,tradefed" />
<project path="tools/motodev" name="platform/tools/motodev" groups="notdefault,motodev" />
- <project path="tools/repohooks" name="platform/tools/repohooks" />
+ <project path="tools/repohooks" name="platform/tools/repohooks" groups="adt-infra,cts,eclipse,motodev,pdk,tools,tradefed" />
<project path="tools/studio/cloud" name="platform/tools/studio/cloud" groups="notdefault,tools" />
<project path="tools/swt" name="platform/tools/swt" groups="notdefault,tools" />
<project path="tools/test/connectivity" name="platform/tools/test/connectivity" groups="pdk" />