From 7df98889ca5f97d47fa0c14e995f909687b476e7 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 5 Nov 2009 03:51:48 +0100 Subject: [PATCH] gitweb/gitweb_config.perl: Move up all tweakable options --- gitweb/gitweb_config.perl | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/gitweb/gitweb_config.perl b/gitweb/gitweb_config.perl index 651c924..1f34876 100644 --- a/gitweb/gitweb_config.perl +++ b/gitweb/gitweb_config.perl @@ -6,6 +6,27 @@ use Girocco::Config; ## see git.git/gitweb/gitweb.perl file beginning (git.git/gitweb/README ## may miss some custom patches, in theory). +# Whether to include project list on the gitweb front page; 0 means yes, +# 1 means no list but show tag cloud if enabled (all projects still need +# to be scanned, unless the info is cached), 2 means no list and no tag cloud +# (very fast) +our $frontpage_no_project_list = 1; + +## projects list cache for busy sites with many projects; +## if you set this to non-zero, it will be used as the cached +## index lifetime in minutes +our $projlist_cache_lifetime = 10; + +# Comment out to disable ctags +$feature{ctags}{default}=["$Girocco::Config::webadmurl/tagproj.cgi"]; + +$feature{blame}{default}=[1]; + +$feature{'snapshot'}{'default'} = ['tgz', 'zip']; + + +### You probably don't really want to tweak anything below. + # Base web path our $my_uri = $Girocco::Config::gitweburl; @@ -49,22 +70,8 @@ $Girocco::Config::httppullurl and push @git_base_url_list, $Girocco::Config::htt # our $git_push_url = $Girocco::Config::pushurl; -# Whether to include project list on the gitweb front page; 0 means yes, -# 1 means no list but show tag cloud if enabled (all projects still need -# to be scanned, unless the info is cached), 2 means no list and no tag cloud -# (very fast) -our $frontpage_no_project_list = 1; -# -## projects list cache for busy sites with many projects; -## if you set this to non-zero, it will be used as the cached -## index lifetime in minutes -our $projlist_cache_lifetime = 10; our $cache_grpshared = 1; -$feature{blame}{default}=[1]; - -$feature{'snapshot'}{'default'} = ['tgz', 'zip']; - $feature{pathinfo}{default}=[1]; $feature{forks}{default}=[1]; @@ -74,5 +81,3 @@ $feature{actions}{default}=[ ('edit', "$Girocco::Config::webadmurl/editproj.cgi?name=%n", 'tree'), ('fork', "$Girocco::Config::webadmurl/regproj.cgi?fork=%n", 'edit') ]; - -$feature{ctags}{default}=["$Girocco::Config::webadmurl/tagproj.cgi"]; -- 2.11.4.GIT