aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mars-attacks.org>2013-07-15 01:56:49 +0200
committerNicolas Vigier <boklm@mars-attacks.org>2013-07-15 01:56:49 +0200
commit70431fa509c64f4367f9d9d13ff7d578e1074858 (patch)
tree935fcc2d7dd7866d4772b249aab7e694a1454bf0 /tmpl
parent231c9281c7b0027888d495146d407adbb17efded (diff)
downloadmgagit-70431fa509c64f4367f9d9d13ff7d578e1074858.tar
mgagit-70431fa509c64f4367f9d9d13ff7d578e1074858.tar.gz
mgagit-70431fa509c64f4367f9d9d13ff7d578e1074858.tar.bz2
mgagit-70431fa509c64f4367f9d9d13ff7d578e1074858.tar.xz
mgagit-70431fa509c64f4367f9d9d13ff7d578e1074858.zip
soft_repo.gl: set maintainer as gitweb.owner
(idea from Colin)
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/soft_repo.gl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmpl/soft_repo.gl b/tmpl/soft_repo.gl
index 3844ae0..549f715 100644
--- a/tmpl/soft_repo.gl
+++ b/tmpl/soft_repo.gl
@@ -11,6 +11,9 @@ repo [% repo %]
[% END -%]
config hooks.emailprefix = [% repo %]
config gitweb.description = [% r.repos.$repo.description %]
+[% IF r.users.$maintainer -%]
+ config gitweb.owner = [% r.users.$maintainer.cn.0 %] <[% maintainer %]@mageia.org>
+[% END -%]
[% IF r.repos.$repo.noemail -%]
config hooks.noemail = [% r.repos.$repo.noemail %]
[% END -%]