5 ## For the complete overview of available configuration options,
6 ## see git.git/gitweb/gitweb.perl file beginning (git.git/gitweb/README
7 ## may miss some custom patches, in theory).
9 # Whether to include project list on the gitweb front page; 0 means yes,
10 # 1 means no list but show tag cloud if enabled (all projects still need
11 # to be scanned, unless the info is cached), 2 means no list and no tag cloud
13 our $frontpage_no_project_list = 1;
15 ## projects list cache for busy sites with many projects;
16 ## if you set this to non-zero, it will be used as the cached
17 ## index lifetime in minutes
18 our $projlist_cache_lifetime = 10;
20 ## default charset for text/plain blob
21 our $default_text_plain_charset = 'utf-8';
23 # Comment out to disable ctags
24 $feature{ctags
}{default}=["$Girocco::Config::webadmurl/tagproj.cgi"];
26 $feature{blame
}{default}=[1];
28 $feature{'snapshot'}{'default'} = ['tgz', 'zip'];
31 ### You probably don't really want to tweak anything below.
34 our $my_uri = $Girocco::Config
::gitweburl
;
36 ## core git executable to use
37 ## this can just be "git" if your webserver has a sensible PATH
38 our $GIT = $Girocco::Config
::git_bin
;
40 ## absolute fs-path which will be prepended to the project path
41 our $projectroot = $Girocco::Config
::reporoot
;
42 # source of projects list
43 our $projects_list = $Girocco::Config
::chroot."/etc/gitweb.list";
45 ## target of the home link on top of all pages
46 our $home_link = $Girocco::Config
::gitweburl
;
48 ## string of the home link on top of all pages
49 our $home_link_str = $Girocco::Config
::name
;
51 ## name of your site or organization to appear in page titles
52 ## replace this with something more descriptive for clearer bookmarks
53 our $site_name = $Girocco::Config
::title
;
54 ## html text to include at home page
55 our $home_text = "$Girocco::Config::webroot/indextext.html";
58 our @stylesheets = ("$Girocco::Config::gitwebfiles/gitweb.css");
59 ## URI of GIT logo (72x27 size)
60 our $logo = "$Girocco::Config::gitwebfiles/git-logo.png";
61 ## URI of GIT favicon, assumed to be image/png type
62 our $favicon = "$Girocco::Config::gitwebfiles/git-favicon.png";
64 our $blamejs = "$Girocco::Config::gitwebfiles/blame.js";
66 our $gitwebjs = "$Girocco::Config::gitwebfiles/gitweb.js";
68 ## list of git base URLs used for URL to where fetch project from,
69 ## i.e. full URL is "$git_base_url/$project"
70 our @git_base_url_list = ();
71 $Girocco::Config
::gitpullurl
and push @git_base_url_list, $Girocco::Config
::gitpullurl
;
72 $Girocco::Config
::httppullurl
and push @git_base_url_list, $Girocco::Config
::httppullurl
;
74 our $git_base_push_url = $Girocco::Config
::pushurl
;
76 our $cache_grpshared = 1;
78 $feature{pathinfo
}{default}=[1];
80 $feature{forks
}{default}=[1];
82 $feature{actions
}{default}=[
83 ('graphiclog', "$Girocco::Config::gitwebfiles/git-browser/by-commit.html?r=%n", 'log'),
84 ('edit', "$Girocco::Config::webadmurl/editproj.cgi?name=%n", 'tree'),
85 ('fork', "$Girocco::Config::webadmurl/regproj.cgi?fork=%n", 'edit')