/[adm]/puppet/modules/gitweb/templates/gitweb.conf
ViewVC logotype

Contents of /puppet/modules/gitweb/templates/gitweb.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1856 - (show annotations) (download)
Tue Jul 19 20:12:32 2011 UTC (12 years, 9 months ago) by misc
File size: 4736 byte(s)
add a prototype of a working gitweb module
1 # default config file (in perl syntax)
2
3 # absolute fs-path which will be prepended to the project path
4 our $projectroot = "/git";
5
6 # target of the home link on top of all pages
7 our $home_link = "/";
8
9 # string of the home link on top of all pages
10 #our $home_link_str = "projects";
11
12 # name of your site or organization to appear in page titles
13 # replace this with something more descriptive for clearer bookmarks
14 our $site_name = "Mageia Git";
15
16 # filename of html text to include at top of each page
17 #our $site_header = "";
18 # html text to include at home page
19 #our $home_text = "indextext.html";
20 # filename of html text to include at bottom of each page
21 #our $site_footer = "";
22
23 # URI of stylesheets
24 #our @stylesheets = ("gitweb.css");
25 # URI of a single stylesheet
26 #our $stylesheet = undef;
27 # URI of GIT logo (72x27 size)
28 #our $logo = "git-logo.png";
29 # URI of GIT favicon, assumed to be image/png type
30 #our $favicon = "git-favicon.png";
31
32 # URI and label (title) of GIT logo link
33 #our $logo_url = "http://git.or.cz/";
34 #our $logo_label = "git homepage";
35
36 # source of projects list
37 #our $projects_list = "";
38
39 # default order of projects list
40 # valid values are none, project, descr, owner, and age
41 #our $default_projects_order = "project";
42
43 # show repository only if this file exists
44 # (only effective if this variable evaluates to true)
45 #our $export_ok = "";
46
47 # only allow viewing of repositories also shown on the overview page
48 #our $strict_export = "";
49
50 # list of git base URLs used for URL to where fetch project from,
51 # i.e. full URL is "$git_base_url/$project"
52 #our @git_base_url_list = grep { $_ ne '' } ("");
53
54 # Enable the 'blame' blob view, showing the last commit that modified
55 # each line in the file. This can be very CPU-intensive.
56
57 # To enable system wide have in /etc/gitweb.conf
58 # $feature{'blame'}{'default'} = [1];
59 # To have project specific config enable override in /etc/gitweb.conf
60 # $feature{'blame'}{'override'} = 1;
61 # and in project config gitweb.blame = 0|1;
62
63 # Enable the 'snapshot' link, providing a compressed tarball of any
64 # tree. This can potentially generate high traffic if you have large
65 # project.
66
67 # To disable system wide have in /etc/gitweb.conf
68 # $feature{'snapshot'}{'default'} = [undef];
69 # To have project specific config enable override in /etc/gitweb.conf
70 # $feature{'snapshot'}{'override'} = 1;
71 # and in project config gitweb.snapshot = none|gzip|bzip2;
72
73 # Enable text search, which will list the commits which match author,
74 # committer or commit text to a given string. Enabled by default.
75 # Project specific override is not supported.
76
77 # Enable grep search, which will list the files in currently selected
78 # tree containing the given string. Enabled by default. This can be
79 # potentially CPU-intensive, of course.
80
81 # To enable system wide have in /etc/gitweb.conf
82 # $feature{'grep'}{'default'} = [1];
83 # To have project specific config enable override in /etc/gitweb.conf
84 # $feature{'grep'}{'override'} = 1;
85 # and in project config gitweb.grep = 0|1;
86
87 # Enable the pickaxe search, which will list the commits that modified
88 # a given string in a file. This can be practical and quite faster
89 # alternative to 'blame', but still potentially CPU-intensive.
90
91 # To enable system wide have in /etc/gitweb.conf
92 # $feature{'pickaxe'}{'default'} = [1];
93 # To have project specific config enable override in /etc/gitweb.conf
94 # $feature{'pickaxe'}{'override'} = 1;
95 # and in project config gitweb.pickaxe = 0|1;
96
97 # Make gitweb use an alternative format of the URLs which can be
98 # more readable and natural-looking: project name is embedded
99 # directly in the path and the query string contains other
100 # auxiliary information. All gitweb installations recognize
101 # URL in either format; this configures in which formats gitweb
102 # generates links.
103
104 # To enable system wide have in /etc/gitweb.conf
105 # $feature{'pathinfo'}{'default'} = [1];
106 # Project specific override is not supported.
107
108 # Note that you will need to change the default location of CSS,
109 # favicon, logo and possibly other files to an absolute URL. Also,
110 # if gitweb.cgi serves as your indexfile, you will need to force
111 # $my_uri to contain the script name in your /etc/gitweb.conf.
112
113 # Make gitweb consider projects in project root subdirectories
114 # to be forks of existing projects. Given project $projname.git,
115 # projects matching $projname/*.git will not be shown in the main
116 # projects list, instead a '+' mark will be added to $projname
117 # there and a 'forks' view will be enabled for the project, listing
118 # all the forks. If project list is taken from a file, forks have
119 # to be listed after the main project.
120
121 # To enable system wide have in /etc/gitweb.conf
122 # $feature{'forks'}{'default'} = [1];
123 # Project specific override is not supported.
124
125

  ViewVC Help
Powered by ViewVC 1.1.30