You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "C. Florian Ebeling" <fl...@gmail.com> on 2009/02/02 15:12:13 UTC

Rubygems as generic package manager (was: Re: Simple erlang plugins (was Re: couch_gen_btree: pluggable storage / tree engines))

Hi Antony,

> I have
> couchdb/erlang/icu etc packaged as ruby gems that deploys couch using
> dependcies, and the class that controls couchdb allows multiple instances in
> self-contained locations. It looks a bit like this:

that's one idea I was thinking about myself a while back
but I didn't get around trying it. I wonder how happy you
are with this "gems as generic package manager" approach?
It would be cool if you could post examples into some pastebin,
if sharing that is at all possible.

Sounds like something that might make deployment in general
a bit more fun across different OSes.

Cheers,
Florian

-- 
Florian Ebeling
Twitter: febeling
florian.ebeling@gmail.com

Re: Rubygems as generic package manager (was: Re: Simple erlang plugins (was Re: couch_gen_btree: pluggable storage / tree engines))

Posted by Chris Anderson <jc...@apache.org>.
On Mon, Feb 2, 2009 at 1:47 PM, Antony Blakey <an...@gmail.com> wrote:
>
> On 03/02/2009, at 12:42 AM, C. Florian Ebeling wrote:
>
>> that's one idea I was thinking about myself a while back
>> but I didn't get around trying it. I wonder how happy you
>> are with this "gems as generic package manager" approach?
>> It would be cool if you could post examples into some pastebin,
>> if sharing that is at all possible.
>
> I have to figure out the technical details of how to get it up on github,
> given it includes a heap of binary components and erlang and couchdb.
>
>> Sounds like something that might make deployment in general
>> a bit more fun across different OSes.
>
> It makes deployment trivial, and you get all the benefits of rubygems
> updating. I do hear however regular complaints about rubygems reliability,
> which gives me some pause.
>

I think gems generally work. The trouble I have is with bootstrapping
a fresh environment. Too many version idiosyncrasies and the ruby-dev
package convention always seems to get newcomers the first time...

-- 
Chris Anderson
http://jchris.mfdz.com

Re: Rubygems as generic package manager (was: Re: Simple erlang plugins (was Re: couch_gen_btree: pluggable storage / tree engines))

Posted by Antony Blakey <an...@gmail.com>.
On 04/02/2009, at 3:37 AM, C. Florian Ebeling wrote:

>> I have to figure out the technical details of how to get it up on  
>> github,
>> given it includes a heap of binary components and erlang and couchdb.
>
> For me it would be fine to just see the gemspecs, plus maybe
> auxilliary ruby scripts or whatever you have in place.

i.e. everything :) It's that simple. I've solved the problem of  
aggregating the source of the binary component, I'll put it on it  
github as soon as I have a chance.

> I don't
> want to make you into a package maintainer, all of a sudden, with
> one innocent question. :)

I'd have to do this anyway as part of the contract I recently posted  
to make it happen on Win32, although I've been surprised that only one  
person has expressed any interest in that gig.

Antony Blakey
-------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

A Man may make a Remark –
In itself – a quiet thing
That may furnish the Fuse unto a Spark
In dormant nature – lain –

Let us divide – with skill –
Let us discourse – with care –
Powder exists in Charcoal –
Before it exists in Fire –

   -– Emily Dickinson 913 (1865)



Re: Rubygems as generic package manager (was: Re: Simple erlang plugins (was Re: couch_gen_btree: pluggable storage / tree engines))

Posted by Antony Blakey <an...@gmail.com>.
Quickest possible dump here: http://github.com/AntonyBlakey/memetic/tree/master

Sorry, not even a Readme. Recent testing OSX only, but I did run the  
gems on the latest Ubuntu 6 weeks ago.

On 04/02/2009, at 3:37 AM, C. Florian Ebeling wrote:

>> I have to figure out the technical details of how to get it up on  
>> github,
>> given it includes a heap of binary components and erlang and couchdb.
>
> For me it would be fine to just see the gemspecs, plus maybe
> auxilliary ruby scripts or whatever you have in place. I don't
> want to make you into a package maintainer, all of a sudden, with
> one innocent question. :)
>
>> It makes deployment trivial, and you get all the benefits of rubygems
>> updating. I do hear however regular complaints about rubygems  
>> reliability,
>> which gives me some pause.
>
> I'm not worried about that either. It's probably like Chris said.
> I remember bad releases and times when it was not perfectly
> maintained (which meant: scaled, when ruby was booming), but with 1.3+
> things feel quite ok again, imho.
>
> Florian
>
> -- 
> Florian Ebeling
> Twitter: febeling
> florian.ebeling@gmail.com

Antony Blakey
--------------------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

Lack of will power has caused more failure than lack of intelligence  
or ability.
  -- Flower A. Newhouse


Re: Rubygems as generic package manager (was: Re: Simple erlang plugins (was Re: couch_gen_btree: pluggable storage / tree engines))

Posted by "C. Florian Ebeling" <fl...@gmail.com>.
> I have to figure out the technical details of how to get it up on github,
> given it includes a heap of binary components and erlang and couchdb.

For me it would be fine to just see the gemspecs, plus maybe
auxilliary ruby scripts or whatever you have in place. I don't
want to make you into a package maintainer, all of a sudden, with
one innocent question. :)

> It makes deployment trivial, and you get all the benefits of rubygems
> updating. I do hear however regular complaints about rubygems reliability,
> which gives me some pause.

I'm not worried about that either. It's probably like Chris said.
I remember bad releases and times when it was not perfectly
maintained (which meant: scaled, when ruby was booming), but with 1.3+
things feel quite ok again, imho.

Florian

-- 
Florian Ebeling
Twitter: febeling
florian.ebeling@gmail.com

Re: Rubygems as generic package manager (was: Re: Simple erlang plugins (was Re: couch_gen_btree: pluggable storage / tree engines))

Posted by Antony Blakey <an...@gmail.com>.
On 03/02/2009, at 12:42 AM, C. Florian Ebeling wrote:

> that's one idea I was thinking about myself a while back
> but I didn't get around trying it. I wonder how happy you
> are with this "gems as generic package manager" approach?
> It would be cool if you could post examples into some pastebin,
> if sharing that is at all possible.

I have to figure out the technical details of how to get it up on  
github, given it includes a heap of binary components and erlang and  
couchdb.

> Sounds like something that might make deployment in general
> a bit more fun across different OSes.

It makes deployment trivial, and you get all the benefits of rubygems  
updating. I do hear however regular complaints about rubygems  
reliability, which gives me some pause.

Antony Blakey
-------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

A Man may make a Remark –
In itself – a quiet thing
That may furnish the Fuse unto a Spark
In dormant nature – lain –

Let us divide – with skill –
Let us discourse – with care –
Powder exists in Charcoal –
Before it exists in Fire –

   -– Emily Dickinson 913 (1865)