diff options
author | Raman Tenneti <rtenneti@google.com> | 2021-01-07 16:50:45 -0800 |
---|---|---|
committer | Raman Tenneti <rtenneti@google.com> | 2021-01-08 19:49:52 +0000 |
commit | 1bb4fb222d831ed384d6fdef7402d36c19e91b2e (patch) | |
tree | b915dfcb1352d29ce1fdd9b364d591be3e3ee289 /project.py | |
parent | b64bec6acc0e2a835f427d8424af89dfcddaf08f (diff) | |
download | git-repo-1bb4fb222d831ed384d6fdef7402d36c19e91b2e.tar.gz |
manifest_xml: initial support for <superproject>
At most one superproject may be specified. It will be used
to specify the URL of superproject.
It would have 3 attributes: remote, name, and default.
Only "name" is required while the others have reasonable defaults.
<remote name="superproject-url" review="<url>" />
<superproject remote="superproject-url" name="platform/superproject"/>
TODO: This CL only implements the parsing logic and further work
will be in followup CLs.
Tested the code with the following commands.
$ ./run_tests tests/test_manifest_xml.py
$ ./run_tests -v
Bug: https://crbug.com/gerrit/13709
Tested-by: Raman Tenneti <rtenneti@google.com>
Change-Id: I5b4bba02c8b59601c754cf6b5e4d07a1e16ce167
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/292982
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'project.py')
0 files changed, 0 insertions, 0 deletions