Merge branch 'master' into rorcz
[girocco.git] / gitweb / gitweb_config.perl
blob8f2dea2651c8ccbf76586f98fc71454ce2882c30
1 # Pull Girocco config
2 use lib ".";
3 use Girocco::Config;
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
12 # (very fast)
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'];
29 $feature{'snapshot'}{'override'} = 1;
32 ### You probably don't really want to tweak anything below.
34 # Base web path
35 our $my_uri = $Girocco::Config::gitweburl;
37 # https hint html inserted right after any https push URL (undef for none)
38 # e.g. "<a href="https_push_instructions.html">https push instructions</a>"
39 our $https_hint_html = undef;
41 ## core git executable to use
42 ## this can just be "git" if your webserver has a sensible PATH
43 our $GIT = $Girocco::Config::git_bin;
45 ## absolute fs-path which will be prepended to the project path
46 our $projectroot = $Girocco::Config::reporoot;
47 # source of projects list
48 our $projects_list = $Girocco::Config::chroot."/etc/gitweb.list";
50 ## target of the home link on top of all pages
51 our $home_link = $Girocco::Config::gitweburl;
53 ## string of the home link on top of all pages
54 our $home_link_str = $Girocco::Config::name;
56 ## name of your site or organization to appear in page titles
57 ## replace this with something more descriptive for clearer bookmarks
58 our $site_name = $Girocco::Config::title;
59 ## html text to include at home page
60 our $home_text = "$Girocco::Config::webroot/indextext.html";
62 ## URI of stylesheets
63 our @stylesheets = ("$Girocco::Config::gitwebfiles/gitweb.css");
64 ## URI of GIT logo (72x27 size)
65 our $logo = "$Girocco::Config::gitwebfiles/git-logo.png";
66 ## URI of GIT favicon, assumed to be image/png type
67 our $favicon = "$Girocco::Config::gitwebfiles/git-favicon.png";
68 ## URI of blame.js
69 our $blamejs = "$Girocco::Config::gitwebfiles/blame.js";
70 ## URI of gitweb.js
71 our $gitwebjs = "$Girocco::Config::gitwebfiles/gitweb.js";
73 ## list of git base URLs used for URL to fetch project from,
74 ## i.e. full URL is "$git_base_url/$project"
75 our @git_base_url_list = ();
76 $Girocco::Config::gitpullurl and push @git_base_url_list, $Girocco::Config::gitpullurl;
77 $Girocco::Config::httppullurl and push @git_base_url_list, $Girocco::Config::httppullurl;
79 ## list of git base URLs used for URL to push project to,
80 ## i.e. full URL is "$git_base_push_url/$project"
81 our @git_base_push_urls = ();
82 $Girocco::Config::pushurl and push @git_base_push_urls, $Girocco::Config::pushurl;
83 $Girocco::Config::httpspushurl and push @git_base_push_urls, $Girocco::Config::httpspushurl;
85 our $cache_grpshared = 1;
87 $feature{pathinfo}{default}=[1];
89 $feature{forks}{default}=[1];
91 $feature{actions}{default}=[
92 ('graphiclog', "$Girocco::Config::gitwebfiles/git-browser/by-commit.html?r=%n", 'log'),
93 ('edit', "$Girocco::Config::webadmurl/editproj.cgi?name=%n", 'tree'),
94 ('fork', "$Girocco::Config::webadmurl/regproj.cgi?fork=%n", 'edit')