[Rubygems-developers] [ANN] stickler gem server 2.0.2 released

Jeremy Hinegardner jeremy at hinegardner.org
Tue Sep 21 12:10:53 EDT 2010


Yes, stickler and geminabox are similar in functionality and could be merged
into some lightweight standalone gemserver.  They both allow for the upload
of gems into their respective servers, and they both can be uses with --source.

They differ in that geminabox uses the 'gem inabox' gem command which uploads
the gem to an '/upload' uri in the geminabox server and stickler implements some
of the server side of the gemcutter /api/v1.   I would actually like to do away 
with stickler's client side commandline and use 'gem push' and 'gem yank'
natively, but the only way to switch RUBYGEM_HOST, at least from my digging,
is via an environment variable.

Along those lines, I'd like to get a patch together to have 'push', 'yank', etc
either take a --source option, or a --rubygems-host option, or have something in
.gem/config or similar to allow for different targets of gemcutter commands.
Thoughts?

As for sharing code on the rack side between rubygems/gemcutter and stickler,
That should be feasible.  Stickler's server is a stack of sinatra middleware.
I've separated them out into different functionalities:

    Gemcutter : implementing gemcutter specific calls (push/yank)
        Index : implements the gem server functionality (specs/marshal/gem/etc )

There's a few others in there for specific use cases of stickler.  These
two are what share functionality with gemcutter. 

enjoy,

-jeremy

On Mon, Sep 20, 2010 at 11:46:27PM -0400, Nick Quaranto wrote:
> Cool idea, jeremy. I wonder if you could work together with or replace
> 
> http://github.com/cwninja/geminabox ?
> 
> Also, maybe we could share code between rubygems/gemcutter
> and copiousfreetime/stickler esp on the rack end? Let me know if you think
> that's feasible.
> 
> -Nick
> 
> On Mon, Sep 20, 2010 at 5:05 PM, Jeremy Hinegardner
> <jeremy at hinegardner.org>wrote:
> 
> > Hi all,
> >
> > You might have seen this announced on ruby-talk, and I figured it might
> > be of use to some of you.  I've just pushed the latest release of stickler.
> >
> > Stickler is a tool to organize and maintain an internal gem repository.
> > Similar to running your own instance of gemcutter, or maybe geminabox, in
> > that
> > it responds to push and yank requests and you can use it as a gem source.
> >
> > It also adds the capability to mirror gems from rubygems.org or another
> > upstream
> > gem server.
> >
> > Documentation: http://www.copiousfreetime.org/projects/stickler/
> > Github       : http://github.com/copiousfreetime/stickler
> >
> > thanks,
> >
> > -jeremy
> >
> > --
> > ========================================================================
> >  Jeremy Hinegardner                              jeremy at hinegardner.org
> >
> > _______________________________________________
> > Rubygems-developers mailing list
> > http://rubyforge.org/projects/rubygems
> > Rubygems-developers at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rubygems-developers
> >

-- 
========================================================================
 Jeremy Hinegardner                              jeremy at hinegardner.org 



More information about the Rubygems-developers mailing list