diff options
| author | Michael Kelly <mkelly@arista.com> | 2020-06-13 02:10:40 -0700 |
|---|---|---|
| committer | Michael Kelly <mkelly@arista.com> | 2021-09-28 20:12:00 +0000 |
| commit | 37c21c268badc2602a827d2236027e235fff95e0 (patch) | |
| tree | d2d8c1b751e38036acb6a530bea9b6dae121147b /docs/manifest-format.md | |
| parent | b12c369e0bce29914a50aca258271b25893d2857 (diff) | |
| download | git-repo-37c21c268badc2602a827d2236027e235fff95e0.tar.gz | |
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/manifest-format.md')
| -rw-r--r-- | docs/manifest-format.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md index ed297ae7..8e0049b3 100644 --- a/docs/manifest-format.md +++ b/docs/manifest-format.md | |||
| @@ -90,6 +90,7 @@ following DTD: | |||
| 90 | <!ELEMENT extend-project EMPTY> | 90 | <!ELEMENT extend-project EMPTY> |
| 91 | <!ATTLIST extend-project name CDATA #REQUIRED> | 91 | <!ATTLIST extend-project name CDATA #REQUIRED> |
| 92 | <!ATTLIST extend-project path CDATA #IMPLIED> | 92 | <!ATTLIST extend-project path CDATA #IMPLIED> |
| 93 | <!ATTLIST extend-project dest-path CDATA #IMPLIED> | ||
| 93 | <!ATTLIST extend-project groups CDATA #IMPLIED> | 94 | <!ATTLIST extend-project groups CDATA #IMPLIED> |
| 94 | <!ATTLIST extend-project revision CDATA #IMPLIED> | 95 | <!ATTLIST extend-project revision CDATA #IMPLIED> |
| 95 | <!ATTLIST extend-project remote CDATA #IMPLIED> | 96 | <!ATTLIST extend-project remote CDATA #IMPLIED> |
| @@ -337,6 +338,11 @@ against changes to the original manifest. | |||
| 337 | Attribute `path`: If specified, limit the change to projects checked out | 338 | Attribute `path`: If specified, limit the change to projects checked out |
| 338 | at the specified path, rather than all projects with the given name. | 339 | at the specified path, rather than all projects with the given name. |
| 339 | 340 | ||
| 341 | Attribute `dest-path`: If specified, a path relative to the top directory | ||
| 342 | of the repo client where the Git working directory for this project | ||
| 343 | should be placed. This is used to move a project in the checkout by | ||
| 344 | overriding the existing `path` setting. | ||
| 345 | |||
| 340 | Attribute `groups`: List of additional groups to which this project | 346 | Attribute `groups`: List of additional groups to which this project |
| 341 | belongs. Same syntax as the corresponding element of `project`. | 347 | belongs. Same syntax as the corresponding element of `project`. |
| 342 | 348 | ||
