Skip to contentSkip to conversation

gitweb.cgi in C

DISCUSSION Majkls 9 participants 12 messages Jun 15, 2016

lore
Share & tools
lore

Majkls

author
#0 lore raw

What do you think about gitweb.cgi in C?

Signature · 1 line
Miloslav "Majkls" Semler
#1 lore raw
Quoted 1 line · Majkls

What do you think about gitweb.cgi in C?

It's horribly stupid, I think. :)

Kay

#2 lore raw

Hi,

Quoted 4 lines · Kay Sievers
Quoted 1 line · Majkls

What do you think about gitweb.cgi in C?

It's horribly stupid, I think. :)

It is as stupid as you make it :-)

Ciao,
Dscho

#3 lore raw
In reply to Majkls
Quoted 1 line · Majkls

What do you think about gitweb.cgi in C?

I've seen CGI programs in C before.

I don't recommend it. I think it will give most security people nightmares, heh.

Signature · 2 lines
Ryan Anderson
  sometimes Pug Majere
#4 lore raw
In reply to Majkls

Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter where Majkls <[email protected]> said that...

Quoted 1 line

What do you think about gitweb.cgi in C?

To add to the collective dismay - why bother?

Signature · 4 lines
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
#5 lore raw
Quoted 5 lines · Petr Baudis

Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter where Majkls <[email protected]> said that...

Quoted 1 line

What do you think about gitweb.cgi in C?

To add to the collective dismay - why bother?

It _might_ make sense to do gitweb using libified git Smurf is working on, in order to reduce forks and execs, but that is mostly independent of rewriting that in C.

#6 lore raw

Dear diary, on Thu, Dec 08, 2005 at 11:35:09PM CET, I got a letter where Junio C Hamano <[email protected]> said that...

Quoted 11 lines
Quoted 5 lines · Petr Baudis

Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter where Majkls <[email protected]> said that...

Quoted 1 line

What do you think about gitweb.cgi in C?

To add to the collective dismay - why bother?

It _might_ make sense to do gitweb using libified git Smurf is working on, in order to reduce forks and execs, but that is mostly independent of rewriting that in C.

I'd see having Perl XS for libgit as something much more sensible. And you could do cute porcelain stuff with that as well.

Signature · 4 lines
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
#7 lore raw
Quoted 6 lines · Petr Baudis
Quoted 3 lines

It _might_ make sense to do gitweb using libified git Smurf is working on, in order to reduce forks and execs, but that is mostly independent of rewriting that in C.

I'd see having Perl XS for libgit as something much more sensible. And you could do cute porcelain stuff with that as well.

Yes, that is exactly what I meant by what Smurf is working on -- libified git with Pyrex.

#8 lore raw
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Junio" == Junio C Hamano <[email protected]> writes:

I'd see having Perl XS for libgit as something much more sensible. And you could do cute porcelain stuff with that as well.

Junio> Yes, that is exactly what I meant by what Smurf is working on -- Junio> libified git with Pyrex.

Pyrex? not XS? I'd like to see Perl "use Git;". :)

Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
#9 lore raw
Quoted 6 lines · [email protected] (Randal L. Schwartz) writes:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Junio" == Junio C Hamano <[email protected]> writes:

Junio> Yes, that is exactly what I meant by what Smurf is working on -- Junio> libified git with Pyrex.

Pyrex? not XS? I'd like to see Perl "use Git;". :)

OK, for the record I should mention that I first suggested using Swig, to be neutral across perl/python/tcl. BTW, this list is merely alphabetical not suggesting the order of my preference ;-).

#10 lore raw
In reply to Junio C Hamano
Quoted 6 lines · Junio C Hamano
Quoted 3 lines · Petr Baudis

Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter where Majkls <[email protected]> said that...

Quoted 9 lines
Quoted 3 lines
Quoted 1 line

What do you think about gitweb.cgi in C?

To add to the collective dismay - why bother?

It _might_ make sense to do gitweb using libified git Smurf is working on, in order to reduce forks and execs, but that is mostly independent of rewriting that in C.

In that case it would be better and way cooler to have mod_git for Apache.

Signature · 3 lines
Andreas Ericsson                   [email protected]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
#11 lore raw
In reply to Majkls
Quoted 1 line · Majkls

What do you think about gitweb.cgi in C?

I guess you could implement and benchmark it and see how much faster it is.

-hpa