Re: [RFC] gitweb wishlist and TODO list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sep 25, 2008, at 1:23 PM, Jakub Narebski wrote:

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.

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@xxxxxxxxxxxxxxxx
Use XMPP!


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux