jobs/gitwebcache.sh: Introduce for proactive cache regeneration; git.git: Add grpshar...
[girocco/radio.git] / gitweb / gitweb_config.perl
blob651c924bebcfcf104d674c0b944092025d502047
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 # Base web path
10 our $my_uri = $Girocco::Config::gitweburl;
12 ## core git executable to use
13 ## this can just be "git" if your webserver has a sensible PATH
14 our $GIT = $Girocco::Config::git_bin;
16 ## absolute fs-path which will be prepended to the project path
17 our $projectroot = $Girocco::Config::reporoot;
18 # source of projects list
19 our $projects_list = $Girocco::Config::chroot."/etc/gitweb.list";
21 ## target of the home link on top of all pages
22 our $home_link = $Girocco::Config::gitweburl;
24 ## string of the home link on top of all pages
25 our $home_link_str = $Girocco::Config::name;
27 ## name of your site or organization to appear in page titles
28 ## replace this with something more descriptive for clearer bookmarks
29 our $site_name = $Girocco::Config::title;
30 ## html text to include at home page
31 our $home_text = "$Girocco::Config::webroot/indextext.html";
33 ## URI of stylesheets
34 our @stylesheets = ("$Girocco::Config::gitwebfiles/gitweb.css");
35 ## URI of GIT logo (72x27 size)
36 our $logo = "$Girocco::Config::gitwebfiles/git-logo.png";
37 ## URI of GIT favicon, assumed to be image/png type
38 our $favicon = "$Girocco::Config::gitwebfiles/git-favicon.png";
39 ## URI of blame.js
40 our $blamejs = "$Girocco::Config::gitwebfiles/blame.js";
41 ## URI of gitweb.js
42 our $gitwebjs = "$Girocco::Config::gitwebfiles/gitweb.js";
44 ## list of git base URLs used for URL to where fetch project from,
45 ## i.e. full URL is "$git_base_url/$project"
46 our @git_base_url_list = ();
47 $Girocco::Config::gitpullurl and push @git_base_url_list, $Girocco::Config::gitpullurl;
48 $Girocco::Config::httppullurl and push @git_base_url_list, $Girocco::Config::httppullurl;
50 our $git_push_url = $Girocco::Config::pushurl;
52 # Whether to include project list on the gitweb front page; 0 means yes,
53 # 1 means no list but show tag cloud if enabled (all projects still need
54 # to be scanned, unless the info is cached), 2 means no list and no tag cloud
55 # (very fast)
56 our $frontpage_no_project_list = 1;
58 ## projects list cache for busy sites with many projects;
59 ## if you set this to non-zero, it will be used as the cached
60 ## index lifetime in minutes
61 our $projlist_cache_lifetime = 10;
62 our $cache_grpshared = 1;
64 $feature{blame}{default}=[1];
66 $feature{'snapshot'}{'default'} = ['tgz', 'zip'];
68 $feature{pathinfo}{default}=[1];
70 $feature{forks}{default}=[1];
72 $feature{actions}{default}=[
73 ('graphiclog', "$Girocco::Config::gitwebfiles/git-browser/by-commit.html?r=%n", 'log'),
74 ('edit', "$Girocco::Config::webadmurl/editproj.cgi?name=%n", 'tree'),
75 ('fork', "$Girocco::Config::webadmurl/regproj.cgi?fork=%n", 'edit')
78 $feature{ctags}{default}=["$Girocco::Config::webadmurl/tagproj.cgi"];