summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Kelly <mkelly@arista.com>2020-06-13 02:10:40 -0700
committerMichael Kelly <mkelly@arista.com>2021-09-28 20:12:00 +0000
commit37c21c268badc2602a827d2236027e235fff95e0 (patch)
treed2d8c1b751e38036acb6a530bea9b6dae121147b /docs
parentb12c369e0bce29914a50aca258271b25893d2857 (diff)
downloadgit-repo-37c21c268badc2602a827d2236027e235fff95e0.tar.gz
git-repo-37c21c268badc2602a827d2236027e235fff95e0.zip
Add 'dest-path' to extend-project to support changing path
This allows us to move the repository to a new location in the source tree without having to remove-project + add a new project tag. Change-Id: I4dba6151842e57f6f2b8fe60cda260ecea68b7b4 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/310962 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Michael Kelly <mkelly@arista.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manifest-format.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md
index ed297ae7c..8e0049b3a 100644
--- a/docs/manifest-format.md
+++ b/docs/manifest-format.md
@@ -90,6 +90,7 @@ following DTD:
<!ELEMENT extend-project EMPTY>
<!ATTLIST extend-project name CDATA #REQUIRED>
<!ATTLIST extend-project path CDATA #IMPLIED>
+ <!ATTLIST extend-project dest-path CDATA #IMPLIED>
<!ATTLIST extend-project groups CDATA #IMPLIED>
<!ATTLIST extend-project revision CDATA #IMPLIED>
<!ATTLIST extend-project remote CDATA #IMPLIED>
@@ -337,6 +338,11 @@ against changes to the original manifest.
Attribute `path`: If specified, limit the change to projects checked out
at the specified path, rather than all projects with the given name.
+Attribute `dest-path`: If specified, a path relative to the top directory
+of the repo client where the Git working directory for this project
+should be placed. This is used to move a project in the checkout by
+overriding the existing `path` setting.
+
Attribute `groups`: List of additional groups to which this project
belongs. Same syntax as the corresponding element of `project`.