Commit ee63dc13 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use gitweb config file to avoid local customization of gitweb.cgi

parent 48439326
......@@ -71,37 +71,37 @@ our $GIT = "/usr/pkg/bin/git";
# absolute fs-path which will be prepended to the project path
#our $projectroot = "/pub/scm";
our $projectroot = "/repo/git";
our $projectroot = "/pub/git";
# fs traversing limit for getting project list
# the number is relative to the projectroot
our $project_maxdepth = 2007;
# string of the home link on top of all pages
our $home_link_str = "packages";
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 = "OpenLDAP Source Repositories"
our $site_name = ""
|| ($ENV{'SERVER_NAME'} || "Untitled") . " Git";
# filename of html text to include at top of each page
our $site_header = "header.html";
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 = "footer.html";
our $site_footer = "";
# URI of stylesheets
our @stylesheets = ("/icons/gitweb.css");
our @stylesheets = ("static/gitweb.css");
# URI of a single stylesheet, which can be overridden in GITWEB_CONFIG.
our $stylesheet = undef;
# URI of GIT logo (72x27 size)
our $logo = "/icons/git-logo.png";
our $logo = "static/git-logo.png";
# URI of GIT favicon, assumed to be image/png type
our $favicon = "/icons/git-favicon.png";
our $favicon = "static/git-favicon.png";
# URI of gitweb.js (JavaScript code for gitweb)
our $javascript = "/icons/gitweb.js";
our $javascript = "static/gitweb.js";
# URI and label (title) of GIT logo link
#our $logo_url = "http://www.kernel.org/pub/software/scm/git/docs/";
......@@ -4829,7 +4829,7 @@ sub git_project_list_body {
if ($check_forks) {
print "<th></th>\n";
}
print_sort_th('project', $order, 'Package');
print_sort_th('project', $order, 'Project');
print_sort_th('descr', $order, 'Description');
print_sort_th('owner', $order, 'Owner');
print_sort_th('age', $order, 'Last Change');
......
$projectroot = "/repo/git/";
$home_link_str = "packages";
$site_name = "OpenLDAP Source Repository";
$site_header = "header.html";
$site_footer = "footer.html";
@stylesheets = "/icons/gitweb.css";
$logo = "/icons/git-logo.png";
$favicon = "/icons/git-favicon.png";
$javascript = "/icons/gitweb.js";
@git_base_url_list = ( 'git://git.openldap.org' );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment