aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/group_owned_repo.gl
blob: ff5e3a0282d46848023ef83a3836eb1d384292d7 (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
37
[% SET maintainer = r.repos.$repo.maintainer %]
repo [% repo %]
   RW+ master$    = @mga-sysadmin
   RW+ distro/    = @mga-sysadmin
   RW+ topic/     = @mga-sysadmin
   RW+ refs/tags/ = @mga-sysadmin
   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+ user/USER/ = @all
   R              = @all
[% IF r.repos.$repo.noemail -%]
   config hooks.mailinglist = ""
[% ELSE -%]
[% IF r.repos.$repo.mailinglist -%]
   config hooks.mailinglist = "[% r.repos.$repo.mailinglist %]"
[% ELSE -%]
   config hooks.mailinglist = "<%= @ml %>-commits@ml.mageia.org"
[% END -%]
[% END -%]
   config hooks.emailprefix = "[[% repo %]] "
   config hooks.envelopesender = "root@mageia.org"
   config hooks.showrev = "/usr/local/bin/mgagit-format-commit-email %s"
   config gitweb.description = "[% r.repos.$repo.description %]"
[% IF r.users.$maintainer -%]
   config gitweb.owner = "[% r.users.$maintainer.cn.0 %] [[% maintainer %]]"
[% END -%]