aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-08-20 00:52:59 +0100
committerColin Guthrie <colin@mageia.org>2013-08-20 00:53:40 +0100
commit5a3958c37a1d28589b48249404f8965589cd8f40 (patch)
tree8a63db07a5d067f936ef3f6ab8e64a3da3fe3211
parent448f3abc6de98329a4850018ac0e2ef4293fae69 (diff)
downloadmgagit-5a3958c37a1d28589b48249404f8965589cd8f40.tar
mgagit-5a3958c37a1d28589b48249404f8965589cd8f40.tar.gz
mgagit-5a3958c37a1d28589b48249404f8965589cd8f40.tar.bz2
mgagit-5a3958c37a1d28589b48249404f8965589cd8f40.tar.xz
mgagit-5a3958c37a1d28589b48249404f8965589cd8f40.zip
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.
-rw-r--r--NEWS2
-rw-r--r--tmpl/soft_repo.gl8
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 -%]