diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-04-20 21:11:57 -0700 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-04-20 21:11:57 -0700 |
commit | babfac96492ef68d51110f6dd5f74eb7362070b8 (patch) | |
tree | 4888591e850e5f29fd143f51032cb448d0404954 /libpiny/lib/Piny/Config.pm | |
parent | da6e245112270694be287e0aa019fc44d3486f7f (diff) | |
download | piny-code-babfac96492ef68d51110f6dd5f74eb7362070b8.tar.gz piny-code-babfac96492ef68d51110f6dd5f74eb7362070b8.zip |
Backend support for user configs.
Diffstat (limited to 'libpiny/lib/Piny/Config.pm')
-rw-r--r-- | libpiny/lib/Piny/Config.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpiny/lib/Piny/Config.pm b/libpiny/lib/Piny/Config.pm index 7ba1fd5..535df33 100644 --- a/libpiny/lib/Piny/Config.pm +++ b/libpiny/lib/Piny/Config.pm @@ -208,6 +208,7 @@ sub tweakable { # The tweakables +# Repo-specific tweakables, in the repos' .git/config files. tweakable "piny_ikiwikidestdir" => "/srv/www/piny.be/", 'PathDir'; tweakable "piny_ikiwikisrcdir" => "/srv/ikiwiki/", 'PathDir'; tweakable "piny_ikiwikiurl" => "http://piny.be/", 'HttpUrl'; @@ -215,6 +216,9 @@ tweakable "piny_ikiwikisecureurl" => "https://secure.piny.be/", 'HttpsUrl' tweakable "piny_ikiwikisecurepath" => "/srv/www/secure.piny.be/", 'PathDir'; tweakable "receive_denynonfastforwards" => "true", 'GitBool'; +# User-specific tweakables, in the users' ~/.gitconfig files. +tweakable "user_email" => undef, 'Maybe[Str]'; + # Moose boilerplate __PACKAGE__->meta->make_immutable; |