Re: [RFC] gitweb wishlist and TODO list
- From
Pedro Melo <melo@simplicidade.org>
- Date
- Sep 25, 2008, 14:45 UTC
- Message-ID
- <BC7F2CB5-A31A-40C8-A22F-F0AAECB091C6@simplicidade.org>
- In-Reply-To
- <200809251423.56983.jnareb@gmail.com>
Hi,
On Sep 25, 2008, at 1:23 PM, Jakub Narebski wrote:
Show 22 quoted lines
> Pedro Melo wrote: >> On Sep 25, 2008, at 11:30 AM, Jakub Narebski wrote: >> >>> * Support for FastCGI (via CGI::Fast or FCGI). >>> >>> Unfortunately I don't use FastCGI. This has to be done in a very >>> un-intruisive way, and without performance penalties for "ordinary" >>> CGI and mod_perl. >>> >>> Suggested: input reading and validation refactoring. >> >> Is it ok to require CPAN modules? If yes, then using HTTP::Engine >> as a >> base could be helpful here. > > No, it is not. Some gitweb installations (kernel.org, IIRC) are on > tightly managed machines, where installation is severely restricted. > If it is distributed together with Perl package it is best, if it can > be found in distribution packages it is good, if it can be found in > distribution extras it is quite good, if it can be found in trusted > package repository, it is manageable. Installing untested packages > from CPAN is usually out of the question.
Show 14 quoted lines
> That said... > >> It supports standalone deployments as well as FastCGI, CGI, mod_perl, >> POE and others. >> >> And it acts as a very simple HTTP-layer, without any "framework" >> logic. > > ...if we could make it conditional on HTTP::Engine being installed, > and fallback on current code easily, it could be done, I think, > without > problems. > > Thanks for the pointer.
While researching HTTP::Engine (I use Catalyst and they where talking about moving to it), I also came across a new HTTP layer, called Mango. Also on CPAN, so same conditional code applies.
Right now, I'm not sure what the Cat team is thinking, HTTP::Engine or Mango, or other, but I suggest the use of the stack then end up choosing. The Cat team has a very good test-driven way-of-doing things, and the modules they use tend to stabilize very quickly.
Best regards,
-- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: melo@simplicidade.org Use XMPP!