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

Re: [spf:guess,iffy] Re: "Integrated Web Client for git" GSoC proposal

From
TMTatsuhiko Miyagawa <miyagawa@bulknews.net>
Date
Apr 17, 2010, 06:27 UTC
Message-ID
<loom.20100417T081957-371@post.gmane.org>
In-Reply-To
<1271473792.3506.30.camel@denix>
Sam Vilain <sam <at> vilain.net> writes:
> > of CGI.pm, perhaps also using one of URI dispatchers[5][6].  Plack/PSGI
> > looks like the future of Perl web scripting... but is currently quite new,
> > at version 0.9930.
I admit that it's quite new - not old anyway, but don't get fooled by its
version number. It's already adapted by almost all perl frameworks and
used by lots of companies on production.
 
> Ok so PSGI is the port of Python's WSGI to Perl.  Plack is the reference
> implementation, and also quite heavy at 2.5MB tarball.

No, the tarball just contains 2.4MB of .jpeg file for large-file download and upload testing. Its dependencies are kept minimal - only requires LWP, URI and some pure perl modules.

> required.  Dancer however seems to stand out at only 94kB tarball, minimal
> non-core dependencies and support for PSGI.  The HTTP::Server::Simple::PSGI
> dependency should let it support the 'instaweb' case with pure perl.

You can already use CGI::Emulate::PSGI (via Plack::App::CGIBin) to run gitweb.cgi on Plack, or whatever web server that supports PSGI - like HTTP::Server::Simple::PSGI you just mentioned. http://gist.github.com/346068

Show 6 quoted lines
> It should be possible for the script to figure out what filesystem path it
> is being run from, perhaps find a local lib/ dir and then add that to @INC.
> In shell scripts you just use FindBin, I don't know whether that is still
> expected to work from eg mod_perl but there's bound to be a solution for
> that.  So yeah I'd say just aim to ship lots of .pm files in a nearby dir
> alongside the script...
Or use App::FatPacker.

-- Tatsuhiko Miyagawa

Previous: Sam VilainNext: Jakub Narebski
Message 3 of 8 in “Re: [spf:guess,iffy] Re: "Integrated Web Client for git" GSoC proposal”
  1. Jakub NarebskiApr 16, 2010
  2. Sam VilainApr 17, 2010
  3. Tatsuhiko MiyagawaApr 17, 2010
  4. Jakub NarebskiApr 17, 2010
  5. Jakub NarebskiApr 17, 2010
  6. Jakub NarebskiApr 16, 2010
  7. Fwd: Re: "Integrated Web Client for git" GSoC proposalPavan Kumar Sunkara, Apr 17, 2010
  8. Jakub NarebskiApr 17, 2010

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.