From: Trevor Bramwell Date: Tue, 14 Nov 2017 19:05:17 +0000 (-0800) Subject: Allow 1:M tracking of Submodule Branches X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F47205%2F1;p=All-Projects.git Allow 1:M tracking of Submodule Branches Use of the 'matching' config under 'allowSuperproject' only allows for a 1:1 mapping of branches[1]. This means only master of opnfvdocs can track master of another project, and stable/stream can only track stable/stream. Dovetail needs the ability to track stable/danube from opnfvdocs master branch, thus switching 'matching' to 'all' should allow this to work. There does not appear to be any reason why we this current restriction is needed and expect this was due to poor documentation on Gerrit's part. [1] https://gerrit.opnfv.org/gerrit/Documentation/user-submodules.html#acl_refspec Change-Id: I9d7149801e2fe5b59c52ff3d11570f0dc40b4866 Signed-off-by: Trevor Bramwell --- diff --git a/project.config b/project.config index d2328c9..f6cc470 100644 --- a/project.config +++ b/project.config @@ -182,7 +182,7 @@ [access "refs/for/*"] addPatchSet = group Registered Users [allowSuperproject "opnfvdocs"] - matching = refs/heads/*:refs/heads/* + all = refs/heads/*:refs/heads/* [plugin "its-jira"] branch = refs/heads/* enabled = true