aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gitweb/templates/gitweb.conf
blob: 5216077cc7f5d26ebb586afbfb8054b0ef027578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# default config file (in perl syntax)

# absolute fs-path which will be prepended to the project path
our $projectroot = "/git";

# target of the home link on top of all pages
our $home_link = "/";

# string of the home link on top of all pages
#our $home_link_str = "projects";

# name of your site or organization to appear in page titles
# replace this with something more descriptive for clearer bookmarks
our $site_name = "Mageia Git";

# filename of html text to include at top of each page
#our $site_header = "";
# html text to include at home page
#our $home_text = "indextext.html";
# filename of html text to include at bottom of each page
#our $site_footer = "";

# URI of stylesheets
#our @stylesheets = ("gitweb.css");
# URI of a single stylesheet
#our $stylesheet = undef;
# URI of GIT logo (72x27 size)
#our $logo = "git-logo.png";
# URI of GIT favicon, assumed to be image/png type
#our $favicon = "git-favicon.png";

# URI and label (title) of GIT logo link
#our $logo_url = "http://git.or.cz/";
#our $logo_label = "git homepage";

# source of projects list
#our $projects_list = "";

# default order of projects list
# valid values are none, project, descr, owner, and age
#our $default_projects_order = "project";

# show repository only if this file exists
# (only effective if this variable evaluates to true)
#our $export_ok = "";

# only allow viewing of repositories also shown on the overview page
#our $strict_export = "";

# list of git base URLs used for URL to where fetch project from,
# i.e. full URL is "$git_base_url/$project"
#our @git_base_url_list = grep { $_ ne '' } ("");

# Enable the 'blame' blob view, showing the last commit that modified
# each line in the file. This can be very CPU-intensive.

# To enable system wide have in /etc/gitweb.conf
# $feature{'blame'}{'default'} = [1];
# To have project specific config enable override in /etc/gitweb.conf
# $feature{'blame'}{'override'} = 1;
# and in project config gitweb.blame = 0|1;

# Enable the 'snapshot' link, providing a compressed tarball of any
# tree. This can potentially generate high traffic if you have large
# project.

# To disable system wide have in  /etc/gitweb.conf
# $feature{'snapshot'}{'default'} = [undef];
# To have project specific config enable override in  /etc/gitweb.conf
# $feature{'snapshot'}{'override'} = 1;
# and in project config gitweb.snapshot = none|gzip|bzip2;

# Enable text search, which will list the commits which match author,
# committer or commit text to a given string.  Enabled by default.
# Project specific override is not supported.

# Enable grep search, which will list the files in currently selected
# tree containing the given string. Enabled by default. This can be
# potentially CPU-intensive, of course.

# To enable system wide have in /etc/gitweb.conf
# $feature{'grep'}{'default'} = [1];
# To have project specific config enable override in /etc/gitweb.conf
# $feature{'grep'}{'override'} = 1;
# and in project config gitweb.grep = 0|1;

# Enable the pickaxe search, which will list the commits that modified
# a given string in a file. This can be practical and quite faster
# alternative to 'blame', but still potentially CPU-intensive.

# To enable system wide have in /etc/gitweb.conf
# $feature{'pickaxe'}{'default'} = [1];
# To have project specific config enable override in /etc/gitweb.conf
# $feature{'pickaxe'}{'override'} = 1;
# and in project config gitweb.pickaxe = 0|1;

# Make gitweb use an alternative format of the URLs which can be
# more readable and natural-looking: project name is embedded
# directly in the path and the query string contains other
# auxiliary information. All gitweb installations recognize
# URL in either format; this configures in which formats gitweb
# generates links.

# To enable system wide have in /etc/gitweb.conf
# $feature{'pathinfo'}{'default'} = [1];
# Project specific override is not supported.

# Note that you will need to change the default location of CSS,
# favicon, logo and possibly other files to an absolute URL. Also,
# if gitweb.cgi serves as your indexfile, you will need to force
# $my_uri to contain the script name in your /etc/gitweb.conf.

# Make gitweb consider projects in project root subdirectories
# to be forks of existing projects. Given project $projname.git,
# projects matching $projname/*.git will not be shown in the main
# projects list, instead a '+' mark will be added to $projname
# there and a 'forks' view will be enabled for the project, listing
# all the forks. If project list is taken from a file, forks have
# to be listed after the main project.

# To enable system wide have in /etc/gitweb.conf
# $feature{'forks'}{'default'} = [1];
# Project specific override is not supported.