|meta/config and groups||Peter Niederlag||3/13/12 4:34 AM|
i added a group via the ssh gerrit create-group.
now I'd like to use this group to assign a permission to it via editing
remote: error: project.config: group "TYPO3v4/Extensions/recycler" not
I have noticed other projects got a file group in meta/config that was
Do I have to create this file? If so how can I figure out the proper UUID?
Thx and Greets,
P.S: we want to automate permission setup
|Re: meta/config and groups||Edwin Kempin||3/13/12 4:53 AM|
I think you need to create this file manually.
The group UUI is shown in the Gerrit WebUI when you are on the group sreeen (tab 'General')
2012/3/13 Peter Niederlag <peter.n...@googlemail.com>
|Re: meta/config and groups||Mohamed Mansour||3/13/12 5:41 AM|
You would need to create a "groups" file in the same location of "project.config" file in refs/config.
The groups file is basically a two column text of UUID and Group Name separated by a tab. To get the Group UUIDs for a group name, you can use gsql to fetch it:
SELECT name, group_uuid FROM account_groups WHERE name in ('FOO', 'Some Group A', 'Some Group B')
Then you create a file called "groups" in meta/config where each line is formatted like "UUID\tGROUP_NAME\n"
Then you can create your project.conf where the groups in that config map to the groups file. Just remember that the keys in project.conf are case sensitive :)
|Re: meta/config and groups||Peter Niederlag||3/14/12 2:08 AM|
big thanx for all of your valuable feedback.
but what do I have to do if I need to rename my groups?
would I have to update all project.conf and groups files by hand, or is
We would like to bulk rename our current groups into xyz/Member and add
Thx and Greets,
|Re: meta/config and groups||Edwin Kempin||3/14/12 2:44 AM|
There is an SSH command to rename groups  and rename is also possible in the WebUI (group screen, tab 'General').
Setting a new owner for a group is only possible in the WebUI (group screen, tab 'General').
2012/3/14 Peter Niederlag <peter.n...@googlemail.com>
|Re: meta/config and groups||Shawn Pearce||3/14/12 7:12 AM|
On Wed, Mar 14, 2012 at 02:08, Peter Niederlag
The group names in project.config and groups file are only used to
When you view a stale project.config in the Project > Admin > Access
> would I have to update all project.conf and groups files by hand, or is
As Edwin said, if you rename these groups using the server's tools