From 5a3958c37a1d28589b48249404f8965589cd8f40 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 20 Aug 2013 00:52:59 +0100 Subject: Include config values in quotes (it just feels nicer) Also enclose the maintainer nick in square brackets as gitolite is fine with these and it looks better than a hyphen as a separator. --- NEWS | 2 ++ tmpl/soft_repo.gl | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 20ab006..58bcbe6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- soft_repo.gl: Put maintainer nick in square brackets + Version 0.10 - soft_repo.gl: Simplify how the noemail option works diff --git a/tmpl/soft_repo.gl b/tmpl/soft_repo.gl index 58b73d7..c75ae83 100644 --- a/tmpl/soft_repo.gl +++ b/tmpl/soft_repo.gl @@ -16,13 +16,13 @@ repo [% repo %] config hooks.mailinglist = "" [% ELSE -%] [% IF r.repos.$repo.mailinglist -%] - config hooks.mailinglist = [% r.repos.$repo.mailinglist %] + config hooks.mailinglist = "[% r.repos.$repo.mailinglist %]" [% ELSE -%] - config hooks.mailinglist = soft-commits@ml.mageia.org + config hooks.mailinglist = "soft-commits@ml.mageia.org" [% END -%] [% END -%] config hooks.emailprefix = "[% repo %] " - config gitweb.description = [% r.repos.$repo.description %] + config gitweb.description = "[% r.repos.$repo.description %]" [% IF r.users.$maintainer -%] - config gitweb.owner = [% r.users.$maintainer.cn.0 %] - [% maintainer %] + config gitweb.owner = "[% r.users.$maintainer.cn.0 %] [[% maintainer %]]" [% END -%] -- cgit v1.2.1