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

Re: Bug#687427: RFP: starlet -- a simple, high-performance PSGI/Plack HTTP server



On dom, gen 06, 2013 at 01:09:04 +0000, Dominic Hargreaves wrote:
> On Thu, Sep 13, 2012 at 08:17:04PM +0200, gregor herrmann wrote:
> > On Wed, 12 Sep 2012 17:24:36 +0100, Dominic Hargreaves wrote:
> > 
> > > * Package name    : starlet
> > >   Version         : 0.16
> > >   Upstream Author : Kazuho Oku <kazuhooku@gmail.com>
> > > * URL             : http://search.cpan.org/dist/Starlet/
> > > * License         : Perl
> > >   Programming Lang: Perl
> > >   Description     : a simple, high-performance PSGI/Plack HTTP server
> > 
> > [dh-make-perl]
> > 
> > Needs the following modules for which there are no debian packages
> > available:
> >  - Server::Starter
> >  - Parallel::Prefork
> > 
> > Server::Starter:
> > 
> > Needs the following modules for which there are no debian packages
> > available:
> >  - Proc::Wait3
> > 
> > Parallel::Prefork:
> > 
> > Needs the following modules for which there are no debian packages
> > available:
> >  - Proc::Wait3
> >  - Class::Accessor::Lite
> > 
> > 
> > So if someone is in packaging mood or needs some practice ... :)
> 
> These are now available, so I am going to package this. However I wanted
> to check whether starlet was really the right name. I picked this to be
> similar to starman, but there is a difference: there is no starlet command;
> it needs to be run using start_server or similar. Notably, start_server
> is actually provided by libserver-starter-perl (not server-starter).
> 
> Starlet is a PSGI application, but the pkg-perl policy doesn't make
> any reference to this type of package for naming, so it could arguably
> be treated as either when it comes to naming.
> 
> Any ideas?

AFAICT the start_server script is not mandatory to use starlet, so you may
include a wrapper script that uses Plack::Runner with the "server => 'Starlet'"
option. Such script could in turn be called by start_server if needed. That's
what starman does anyway [0].

Cheers

[0] https://metacpan.org/source/MIYAGAWA/Starman-0.3006/bin/starman

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Attachment: signature.asc
Description: Digital signature


Reply to: