diff options
author | Nicolas Vigier <boklm@mars-attacks.org> | 2013-07-15 01:56:49 +0200 |
---|---|---|
committer | Nicolas Vigier <boklm@mars-attacks.org> | 2013-07-15 01:56:49 +0200 |
commit | 70431fa509c64f4367f9d9d13ff7d578e1074858 (patch) | |
tree | 935fcc2d7dd7866d4772b249aab7e694a1454bf0 | |
parent | 231c9281c7b0027888d495146d407adbb17efded (diff) | |
download | mgagit-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)
-rw-r--r-- | tmpl/soft_repo.gl | 3 |
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 -%] |