]> git.madduck.net Git - gitweb-conf.git/blobdiff - gitweb.conf

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

fix up base url
[gitweb-conf.git] / gitweb.conf
index 3dcc6517fba3d2146452be144f5f93e89afc4ac3..07e8bb0c92352a654f1ee1846531f04d4b68a3d3 100644 (file)
@@ -1,19 +1,19 @@
 $vhostdir = "madduck";
 $pubdir = "pub";
 $confroot = "/srv/git/gitweb/git.madduck.net";
 $vhostdir = "madduck";
 $pubdir = "pub";
 $confroot = "/srv/git/gitweb/git.madduck.net";
-$projectroot = "/srv/git/repos/$vhostdir/$pubdir";
+$projectroot = "/srv/git/repositories/$vhostdir/$pubdir";
 $git_temp = "/tmp";
 $site_header = "$confroot/header.html";
 $site_footer = "$confroot/footer.html";
 $git_temp = "/tmp";
 $site_header = "$confroot/header.html";
 $site_footer = "$confroot/footer.html";
-$projects_list = $projectroot;
-$default_projects_order = "project";
+$export_ok = "git-daemon-export-ok";
+$strict_export = 1;
+$omit_owner = 1;
+$base_url = $my_url;
 @git_base_url_list=("git://git.madduck.net/$vhostdir/$pubdir", "ssh://git@git.madduck.net/$vhostdir/$pubdir", "madduck:$pubdir");
 @git_base_url_list=("git://git.madduck.net/$vhostdir/$pubdir", "ssh://git@git.madduck.net/$vhostdir/$pubdir", "madduck:$pubdir");
-$logo = '/git-logo.png';
-$favicon = '/git-favicon.png';
-push @stylesheets, '/gitweb.css';
-push @stylesheets, '/local.css';
+push @stylesheets, 'local.css';
 $feature{'pathinfo'}{'default'} = [1];
 $feature{'forks'}{'default'} = [1];
 $prevent_xss = 1;
 $feature{'pathinfo'}{'default'} = [1];
 $feature{'forks'}{'default'} = [1];
 $prevent_xss = 1;
+our $version .= " with super cow powers";
 
 
-$export_auth_hook = sub { return -e "$_[0]/git-daemon-export-ok"; };
+#$export_auth_hook = sub { return -e "$_[0]/git-daemon-export-ok"; };