On Tue, Mar 19, 2024 at 1:27 PM Ashish Kumar <ashis...@gmail.com> wrote:Hi,I have Gerrit top level project repo where I have defined access rights, I've some odd 15 repositories which inherit rights from top level project.
I want to define Unit-test label in 10 sub repos and excluding 5 repos at the top level project. I don't want to go in each repos and define the label in the project.config file rather want to define at top level project repo but how can i exclude those 5 repos that are also inheriting from top level project?Appreciate any kind of help.The depth of the project hierarchy in Gerrit is not limited to 2.
On Tuesday, March 19, 2024 at 9:01:24 PM UTC+8 Matthias Sohn wrote:
On Tue, Mar 19, 2024 at 1:27 PM Ashish Kumar <ashis...@gmail.com> wrote:
I have Gerrit top level project repo where I have defined access rights, I've some odd 15 repositories which inherit rights from top level project.
I want to define Unit-test label in 10 sub repos and excluding 5 repos at the top level project. I don't want to go in each repos and define the label in the project.config file rather want to define at top level project repo but how can i exclude those 5 repos that are also inheriting from top level project?
...
The depth of the project hierarchy in Gerrit is not limited to 2.
Oh, could you give a link about the inherit limitation?
-Martin
On Thursday, March 21, 2024 at 12:20:34 AM UTC+8 Martin Fick wrote:On Wed, Mar 20, 2024 at 3:07 AM Yingchun Li <sword.l...@gmail.com> wrote:On Tuesday, March 19, 2024 at 9:01:24 PM UTC+8 Matthias Sohn wrote:On Tue, Mar 19, 2024 at 1:27 PM Ashish Kumar <ashis...@gmail.com> wrote:I have Gerrit top level project repo where I have defined access rights, I've some odd 15 repositories which inherit rights from top level project.
I want to define Unit-test label in 10 sub repos and excluding 5 repos at the top level project. I don't want to go in each repos and define the label in the project.config file rather want to define at top level project repo but how can i exclude those 5 repos that are also inheriting from top level project?...The depth of the project hierarchy in Gerrit is not limited to 2.Oh, could you give a link about the inherit limitation?Thank you Martin,But I still can not find the depth limitation of inheritance, as the doc says:
Projects in Gerrit are organized hierarchically as a tree with the All-Projects project as root from which all projects inherit. Each project can have only a single parent project, multi-inheritance is not supported
IMO,All-Projects/ \/ \A B\ /\ /\ /Cis not allowed, but how about B inherit All-Projects, and C inherit B, and D inherit C...All-Projects|B|C|D
-Martin