Re: [RFC] Configuring (future) committags support in gitweb

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Francis Galiegue
Date: Saturday, November 8, 2008 - 4:27 pm

Le Saturday 08 November 2008 23:35:48 Jakub Narebski, vous avez écrit :


OK, good one.


Well, this would also mean to update gitweb.css, wouldn't it?


OK, you lost me somewhat.

What I understand is that right now, the SHA1 links are "pre-processed" by 
gitweb so that the 'a' parameter is correct, right?

Out of curiosity, I just went to the kernel git repository (I don't know the 
git version that git.kernel.org uses offhand) and altered the 'a' parameter 
to something which is not even an 'a' command at all: 500...

However, if I try a VALID 'a' command with an "irrelevant" 'h' parameter, it 
acts quite funny: it just looks like it wants to try the closest match, but 
takes some time figuring it out... Sometimes to something relevant, sometimes 
to nothing really relevant. See for instance [1], in which 'a' was 
originally "commit".

Ow.

 [1]
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=tag;h=788a5f3f70...


Hmmm, so this means you'd want to make styles customizable somewhat (signoff). 
In fact, what you really want is span for CSS! Then why not, just, making a 
document to say "This is what you can do with CSS for gitweb", and say "these 
are the available CSS tags", and then be done with it?

I mean, when comes the day that someone will WANT other spans to be defined, 
badly, it's not like it will be unheard of, won't it? 


I still don't get it. Can you give an example?

[personal thoughts: it would be really, really nice if, somewhat, gitweb.perl 
were splitted somewhat into different modules, and ideally use more 
of "what's out there on CPAN". I'm convinced that some CPAN modules would be 
of GREAT help to gitweb, as well as I'm convinced that not many people out 
there use Windows to run gitweb anyway :p]

-- 
fge
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Configuring (future) committags support in gitweb, Jakub Narebski, (Sat Nov 8, 12:07 pm)
Re: [RFC] Configuring (future) committags support in gitweb, Francis Galiegue, (Sat Nov 8, 1:02 pm)
Re: [RFC] Configuring (future) committags support in gitweb, Francis Galiegue, (Sat Nov 8, 4:27 pm)
Re: [PATCH RFC 1/2] gitweb: Fix warnings with override per ..., Giuseppe Bilotta, (Wed Feb 18, 12:41 am)
Addresses with full names in patch emails, Marcel M. Cary, (Tue Feb 24, 8:38 am)
Re: Addresses with full names in patch emails, Jakub Narebski, (Tue Feb 24, 8:58 am)
[RFC PATCH 0/6] Second round of committag series, Marcel M. Cary, (Tue Nov 17, 11:22 pm)
Re: [RFC PATCH 0/6] Second round of committag series, Jakub Narebski, (Fri Nov 20, 4:24 pm)