git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: gitweb.cgi in C
  2005-12-08 18:59 gitweb.cgi in C Majkls
@ 2005-12-08 18:55 ` Kay Sievers
  2005-12-08 19:51   ` Johannes Schindelin
  2005-12-08 19:46 ` Ryan Anderson
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 15+ messages in thread
From: Kay Sievers @ 2005-12-08 18:55 UTC (permalink / raw)
  To: Majkls; +Cc: git

On Thu, Dec 08, 2005 at 07:59:37PM +0100, Majkls wrote:
> What do you think about gitweb.cgi in C?

It's horribly stupid, I think. :)

Kay

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

* gitweb.cgi in C
@ 2005-12-08 18:59 Majkls
  2005-12-08 18:55 ` Kay Sievers
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Majkls @ 2005-12-08 18:59 UTC (permalink / raw)
  To: git

What do you think about gitweb.cgi in C?

-- 
Miloslav "Majkls" Semler

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

* Re: gitweb.cgi in C
  2005-12-08 18:59 gitweb.cgi in C Majkls
  2005-12-08 18:55 ` Kay Sievers
@ 2005-12-08 19:46 ` Ryan Anderson
  2005-12-08 22:27 ` Petr Baudis
  2005-12-08 22:39 ` H. Peter Anvin
  3 siblings, 0 replies; 15+ messages in thread
From: Ryan Anderson @ 2005-12-08 19:46 UTC (permalink / raw)
  To: Majkls; +Cc: git

On Thu, Dec 08, 2005 at 07:59:37PM +0100, Majkls wrote:
> 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.

-- 

Ryan Anderson
  sometimes Pug Majere

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

* Re: gitweb.cgi in C
  2005-12-08 18:55 ` Kay Sievers
@ 2005-12-08 19:51   ` Johannes Schindelin
  0 siblings, 0 replies; 15+ messages in thread
From: Johannes Schindelin @ 2005-12-08 19:51 UTC (permalink / raw)
  To: Kay Sievers; +Cc: Majkls, git

Hi,

On Thu, 8 Dec 2005, Kay Sievers wrote:

> On Thu, Dec 08, 2005 at 07:59:37PM +0100, Majkls wrote:
> > 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

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

* Re: gitweb.cgi in C
  2005-12-08 18:59 gitweb.cgi in C Majkls
  2005-12-08 18:55 ` Kay Sievers
  2005-12-08 19:46 ` Ryan Anderson
@ 2005-12-08 22:27 ` Petr Baudis
  2005-12-08 22:35   ` Junio C Hamano
  2005-12-08 22:39 ` H. Peter Anvin
  3 siblings, 1 reply; 15+ messages in thread
From: Petr Baudis @ 2005-12-08 22:27 UTC (permalink / raw)
  To: Majkls; +Cc: git

Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter
where Majkls <majkls@tiscali.cz> said that...
> What do you think about gitweb.cgi in C?

To add to the collective dismay - why bother?

-- 
				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.

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

* Re: gitweb.cgi in C
  2005-12-08 22:27 ` Petr Baudis
@ 2005-12-08 22:35   ` Junio C Hamano
  2005-12-08 22:46     ` Petr Baudis
  2005-12-08 22:48     ` Andreas Ericsson
  0 siblings, 2 replies; 15+ messages in thread
From: Junio C Hamano @ 2005-12-08 22:35 UTC (permalink / raw)
  To: Petr Baudis; +Cc: git

Petr Baudis <pasky@suse.cz> writes:

> Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter
> where Majkls <majkls@tiscali.cz> said that...
>> 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.

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

* Re: gitweb.cgi in C
  2005-12-08 18:59 gitweb.cgi in C Majkls
                   ` (2 preceding siblings ...)
  2005-12-08 22:27 ` Petr Baudis
@ 2005-12-08 22:39 ` H. Peter Anvin
  3 siblings, 0 replies; 15+ messages in thread
From: H. Peter Anvin @ 2005-12-08 22:39 UTC (permalink / raw)
  To: Majkls; +Cc: git

Majkls wrote:
> 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

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

* Re: gitweb.cgi in C
  2005-12-08 22:35   ` Junio C Hamano
@ 2005-12-08 22:46     ` Petr Baudis
  2005-12-09  0:42       ` Junio C Hamano
  2005-12-08 22:48     ` Andreas Ericsson
  1 sibling, 1 reply; 15+ messages in thread
From: Petr Baudis @ 2005-12-08 22:46 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Dear diary, on Thu, Dec 08, 2005 at 11:35:09PM CET, I got a letter
where Junio C Hamano <junkio@cox.net> said that...
> Petr Baudis <pasky@suse.cz> writes:
> 
> > Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter
> > where Majkls <majkls@tiscali.cz> said that...
> >> 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.

-- 
				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.

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

* Re: gitweb.cgi in C
  2005-12-08 22:35   ` Junio C Hamano
  2005-12-08 22:46     ` Petr Baudis
@ 2005-12-08 22:48     ` Andreas Ericsson
  1 sibling, 0 replies; 15+ messages in thread
From: Andreas Ericsson @ 2005-12-08 22:48 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Petr Baudis, git

Junio C Hamano wrote:
> Petr Baudis <pasky@suse.cz> writes:
> 
> 
>>Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter
>>where Majkls <majkls@tiscali.cz> said that...
>>
>>>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.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

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

* Re: gitweb.cgi in C
  2005-12-08 22:46     ` Petr Baudis
@ 2005-12-09  0:42       ` Junio C Hamano
  2005-12-09  4:42         ` Randal L. Schwartz
  0 siblings, 1 reply; 15+ messages in thread
From: Junio C Hamano @ 2005-12-09  0:42 UTC (permalink / raw)
  To: git

Petr Baudis <pasky@suse.cz> writes:

>> 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.

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

* Re: gitweb.cgi in C
  2005-12-09  0:42       ` Junio C Hamano
@ 2005-12-09  4:42         ` Randal L. Schwartz
  2005-12-09  7:33           ` Junio C Hamano
  0 siblings, 1 reply; 15+ messages in thread
From: Randal L. Schwartz @ 2005-12-09  4:42 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

>>>>> "Junio" == Junio C Hamano <junkio@cox.net> 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;". :)


-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <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!

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

* Re: gitweb.cgi in C
  2005-12-09  4:42         ` Randal L. Schwartz
@ 2005-12-09  7:33           ` Junio C Hamano
  0 siblings, 0 replies; 15+ messages in thread
From: Junio C Hamano @ 2005-12-09  7:33 UTC (permalink / raw)
  To: Randal L. Schwartz; +Cc: git

merlyn@stonehenge.com (Randal L. Schwartz) writes:

>>>>>> "Junio" == Junio C Hamano <junkio@cox.net> 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
;-).

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

* Re: gitweb.cgi in C
@ 2005-12-09 15:28 Mark Allen
  2005-12-09 15:45 ` Randal L. Schwartz
  0 siblings, 1 reply; 15+ messages in thread
From: Mark Allen @ 2005-12-09 15:28 UTC (permalink / raw)
  To: merlyn, junkio; +Cc: git

Randal L. Schwartz wrote:
>>>>> "Junio" == Junio C Hamano <junkio@cox.net> 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;". :)

I have a lot of interest in writing an XS interface for GIT but I've been waiting for 1.0
to officially release so I can be assured of a somewhat stable interface target.

I started working on a GIT-XS project around GIT 0.9 timeframe, but the changes to APIs
and calls was still way too rapid, so I decided to back burner it. 

I haven't looked at the libification work that Smurf is doing (haven't made time for it
lately), but if it's not TOO python specific, maybe I can use it too.

Cheers,
--Mark

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

* Re: gitweb.cgi in C
  2005-12-09 15:28 Mark Allen
@ 2005-12-09 15:45 ` Randal L. Schwartz
  2005-12-09 17:59   ` Junio C Hamano
  0 siblings, 1 reply; 15+ messages in thread
From: Randal L. Schwartz @ 2005-12-09 15:45 UTC (permalink / raw)
  To: Mark Allen; +Cc: junkio, git

>>>>> "Mark" == Mark Allen <mrallen1@yahoo.com> writes:

Mark> I started working on a GIT-XS project around GIT 0.9 timeframe, but the changes to APIs
Mark> and calls was still way too rapid, so I decided to back burner it. 

Mark> I haven't looked at the libification work that Smurf is doing (haven't made time for it
Mark> lately), but if it's not TOO python specific, maybe I can use it too.

A "lite" version using Inline::C can be quickly constructed if
only the API were all listed in one place, or a few easy to find places.

I spent about ten minutes trying to find this information a few weeks
back, but apparently, that was about five minutes (or more) too short.

Any quick pointers on how -lgit is constructed?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <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!

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

* Re: gitweb.cgi in C
  2005-12-09 15:45 ` Randal L. Schwartz
@ 2005-12-09 17:59   ` Junio C Hamano
  0 siblings, 0 replies; 15+ messages in thread
From: Junio C Hamano @ 2005-12-09 17:59 UTC (permalink / raw)
  To: Randal L. Schwartz, Mark Allen; +Cc: git

merlyn@stonehenge.com (Randal L. Schwartz) writes:

>>>>>> "Mark" == Mark Allen <mrallen1@yahoo.com> writes:

> Mark> I haven't looked at the libification work that Smurf is
> Mark> doing (haven't made time for it lately), but if it's not
> Mark> TOO python specific, maybe I can use it too.

> A "lite" version using Inline::C can be quickly constructed if
> only the API were all listed in one place, or a few easy to find places.

Guys, the "libificiation work" is more than that, and the more
important and bigger task is not the part you connect libgit to
your favorite P* languages, but first the part to reorganize
libgit to be usable in that form.

I've outlined what needs to be done a couple of months ago:

	http://marc.theaimsgroup.com/?t=112687447700001

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

end of thread, other threads:[~2005-12-09 18:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-08 18:59 gitweb.cgi in C Majkls
2005-12-08 18:55 ` Kay Sievers
2005-12-08 19:51   ` Johannes Schindelin
2005-12-08 19:46 ` Ryan Anderson
2005-12-08 22:27 ` Petr Baudis
2005-12-08 22:35   ` Junio C Hamano
2005-12-08 22:46     ` Petr Baudis
2005-12-09  0:42       ` Junio C Hamano
2005-12-09  4:42         ` Randal L. Schwartz
2005-12-09  7:33           ` Junio C Hamano
2005-12-08 22:48     ` Andreas Ericsson
2005-12-08 22:39 ` H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2005-12-09 15:28 Mark Allen
2005-12-09 15:45 ` Randal L. Schwartz
2005-12-09 17:59   ` Junio C Hamano

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).