aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/group_owned_repo.gl
blob: bbaaa4910cdb091c9945aed9623f9702214dbc18 (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
[% 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 %>
[% 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 -%]