From 884a387ecae6ce0aa3739771eecfcc0cd376cf61 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Thu, 12 Jun 2014 14:57:29 -0700 Subject: Add extend-project tag to support adding groups to an existing project Currently, if a local manifest wants to add groups to an existing project, it must use remove-project and then re-add the project with the new groups. This makes the local manifest more fragile, requiring updates to the local manifest if the original manifest changes. Add a new extend-project tag, which supports adding groups to an existing project. Change-Id: Ib4d1352efd722a65dd263d02644b9ea5ab6ed400 --- docs/manifest-format.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs') diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index f187bfaf..65cd70bc 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt @@ -26,6 +26,7 @@ following DTD: manifest-server?, remove-project*, project*, + extend-project*, repo-hooks?)> @@ -67,6 +68,11 @@ following DTD: + + + + + @@ -252,6 +258,22 @@ rather than the `name` attribute. This attribute only applies to the local mirrors syncing, it will be ignored when syncing the projects in a client working directory. +Element extend-project +---------------------- + +Modify the attributes of the named project. + +This element is mostly useful in a local manifest file, to modify the +attributes of an existing project without completely replacing the +existing project definition. This makes the local manifest more robust +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 `groups`: List of additional groups to which this project +belongs. Same syntax as the corresponding element of `project`. + Element annotation ------------------ -- cgit v1.2.3-54-g00ecf