Browse Source

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
pull/3/head
Mike Frysinger 8 years ago
committed by Mike Frysinger
parent
commit
00f2105de8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      default.xml

+ 1
- 1
default.xml View File

@ -539,7 +539,7 @@
<project path="tools/idea" name="platform/tools/idea" groups="notdefault,tools" /> <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/loganalysis" name="platform/tools/loganalysis" groups="notdefault,tradefed" />
<project path="tools/motodev" name="platform/tools/motodev" groups="notdefault,motodev" /> <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/studio/cloud" name="platform/tools/studio/cloud" groups="notdefault,tools" />
<project path="tools/swt" name="platform/tools/swt" 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" /> <project path="tools/test/connectivity" name="platform/tools/test/connectivity" groups="pdk" />


Loading…
Cancel
Save