git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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!
Previous: Jakub NarebskiNext: Jakub Narebski
Message 4 of 16 in “[RFC] gitweb wishlist and TODO list”
  1. Jakub NarebskiSep 25, 2008
  2. Pedro MeloSep 25, 2008
  3. Jakub NarebskiSep 25, 2008
  4. Pedro MeloSep 25, 2008
  5. Jakub NarebskiSep 25, 2008
  6. Wincent ColaiutaSep 25, 2008
  7. Petr BaudisSep 25, 2008
  8. Jakub NarebskiSep 25, 2008
  9. Petr BaudisSep 25, 2008
  10. Jakub NarebskiSep 25, 2008
  11. Jakub NarebskiSep 30, 2008
  12. Jakub NarebskiSep 25, 2008
  13. Jakub NarebskiSep 28, 2008
  14. Petr BaudisSep 28, 2008
  15. Ask Bjørn HansenOct 1, 2008
  16. Jakub NarebskiOct 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.