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
This commit is contained in:
Mike Frysinger 2016-08-29 16:41:22 -04:00 committed by Mike Frysinger
parent 75963ab2c7
commit 00f2105de8
1 changed files with 1 additions and 1 deletions

View File

@ -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" />