git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Gitweb
@ 2008-09-12 12:48 delux
  2008-09-12 13:27 ` Gitweb Jakub Narebski
  0 siblings, 1 reply; 8+ messages in thread
From: delux @ 2008-09-12 12:48 UTC (permalink / raw)
  To: git


I posted on another subject before and thanks to all who replied to that, Now
I want to put gitweb on my server and have read everything to do it but cant
seem to find the files. I know that it is supposed to be bundled with git
but I am not the one who installed git, so is there anywhere I can get the
gitweb files? 
-- 
View this message in context: http://www.nabble.com/Gitweb-tp19455112p19455112.html
Sent from the git mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* gitweb
@ 2012-10-28 23:56 rh
  2012-10-29  5:28 ` gitweb Jeff King
  0 siblings, 1 reply; 8+ messages in thread
From: rh @ 2012-10-28 23:56 UTC (permalink / raw)
  To: git

I'm not using gitweb I was thinking about using it and was looking at the 
cgi and saw this in this file:
https://github.com/git/git/blob/master/gitweb/gitweb.perl

I think I understand the intention but the outcome is wrong.

our %highlight_ext = (
	# main extensions, defining name of syntax;
	# see files in /usr/share/highlight/langDefs/ directory
	map { $_ => $_ }
	qw(py c cpp rb java css php sh pl js tex bib xml awk bat ini spec tcl sql make),
	# alternate extensions, see /etc/highlight/filetypes.conf
	'h' => 'c',
	map { $_ => 'sh' } qw(bash zsh ksh),
	map { $_ => 'cpp' } qw(cxx c++ cc),
	map { $_ => 'php' } qw(php3 php4 php5 phps),
	map { $_ => 'pl' } qw(perl pm), # perhaps also 'cgi'
	map { $_ => 'make'} qw(mak mk),
	map { $_ => 'xml' } qw(xhtml html htm),
);

I think the intent is better met with this, (the print is for show)

our %he = ();
$he{'h'} = 'c';
$he{$_} = $_     for (qw(py c cpp rb java css php sh pl js tex bib xml awk bat ini spec tcl sql make));
$he{$_} = 'cpp'  for (qw(cxx c++ cc));
$he{$_} = 'php'  for (qw(php3 php4 php5 phps));
$he{$_} = 'pl'   for (qw(cgi perl pm));
$he{$_} = 'make' for (qw(mak mk));
$he{$_} = 'xml'  for (qw(xhtml html htm));
$he{$_} = 'sh'   for (qw(bash zsh ksh));

print "$he{$_} $_\n" for(sort {$he{$a} cmp $he{$b}} keys %he);

But then again maybe I misunderstood the intent.  And maybe everyone's happy
with it as-is.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* gitweb
@ 2005-10-15 19:31 Nico -telmich- Schottelius
  2005-10-15 19:37 ` gitweb Nico -telmich- Schottelius
  0 siblings, 1 reply; 8+ messages in thread
From: Nico -telmich- Schottelius @ 2005-10-15 19:31 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

1. problems getting gitweb

[21:26] creme:build% cg-clone http://www.kernel.org/pub/scm/git/gitweb.cgi
defaulting to local storage area
http://www.kernel.org/pub/scm/git/gitweb.cgi/HEAD:
21:27:01 FEHLER 404: Not Found.
cg-fetch: unable to get the HEAD branch
cg-clone: fetch failed

2. mysterious commit

http://www.kernel.org/git/?p=git/gitweb.git;a=commitdiff;h=0c3eb45fa414326564cb1a9692c7a22319939fc0;hp=d8f1c5c2f37433ef9ce56847d81314ea2798ac3c

Not many changes for a new release imho ;-)

[well, perhaps the release change was for the head<->branches change before]

Nico

-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-29  7:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12 12:48 Gitweb delux
2008-09-12 13:27 ` Gitweb Jakub Narebski
  -- strict thread matches above, loose matches on Subject: below --
2012-10-28 23:56 gitweb rh
2012-10-29  5:28 ` gitweb Jeff King
2012-10-29  7:12   ` gitweb Jakub Narębski
2012-10-29  7:14     ` gitweb Jeff King
2005-10-15 19:31 gitweb Nico -telmich- Schottelius
2005-10-15 19:37 ` gitweb Nico -telmich- Schottelius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).