From 587d65b1474e7731e088b5812393c87e068fd623 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Tue, 14 Nov 2017 11:05:17 -0800 Subject: [PATCH] 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 --- project.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6