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

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



On Sun, Jan 06, 2013 at 03:13:58PM +0100, Alessandro Ghedini wrote:
> 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].

Yes, but I'm not sure there's any need to do that. I was more musing on
the definition of an application really. However I suppose your observation
does support using the application-style name 'starlet'. Starlet does pull
in Server::Starter as a dependency, so that's clearly how it's expected
to be used.

I think I'll go ahead with an upload with the name 'starlet' unless
I hear to the contrary soon.

Thanks for the feedback :)

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)


Reply to: