aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/group_owned_repo.gl
blob: 14431d6c9e495f41775193632eb3974cebfd52e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[% SET maintainer = r.repos.$repo.maintainer %]
repo [% repo %]
   RW+ master$    = [% maintainer %]
   RW+ distro/    = [% maintainer %]
   RW+ topic/     = [% maintainer %]
   RW+ refs/tags/ = [% maintainer %]
[% IF r.repos.$repo.lockdown != 'yes' -%]
   RW  master$    = @mga-<%= @group %>
   RW  distro/    = @mga-<%= @group %>
   RW+ topic/     = @mga-<%= @group %>
   RW  refs/tags/ = @mga-<%= @group %>
   RW  master$    = @mga-i18n-committers
   RW  distro/    = @mga-i18n-committers
   RW  topic/     = @mga-i18n-committers
[% END -%]
   RW+ master$    = @mga-sysadmin
   RW+ distro/    = @mga-sysadmin
   RW+ topic/     = @mga-sysadmin
   RW+ refs/tags/ = @mga-sysadmin
   RW+ user/USER/ = @all
   R              = @all
[% IF r.repos.$repo.noemail -%]
   config multimailhook.mailingList = ""
[% ELSE -%]
[% IF r.repos.$repo.mailingList -%]
   config multimailhook.mailingList = "[% r.repos.$repo.mailingList %]"
[% ELSE -%]
   config multimailhook.mailingList = "<%= @ml %>-commits@ml.mageia.org"
[% END -%]
[% END -%]
   config multimailhook.emailDomain = "mageia.org"
   config multimailhook.envelopeSender = "root@mageia.org"
   config gitweb.description = "[% r.repos.$repo.description %]"
[% IF r.users.$maintainer -%]
   config gitweb.owner = "[% r.users.$maintainer.cn.0 %] [[% maintainer %]]"
[% END -%]