You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Kristian Rink <ka...@googlemail.com> on 2012/04/19 13:34:39 UTC

standalone couchdb?

Folks;

jumping between different hosts and Linux distributions and wanting to 
keep part of our applications as a "non-root standalone deployment 
bundle", I wonder whether there so far are any pre-built CouchDB Linux 
"batteries included" binaries that come with all required dependencies 
and completely can live in, say, /opt/couchdb/? Is there such a beast 
available somewhere, or am I rather left building things from source on 
my own?

TIA and all the best,
Kristian

Re: standalone couchdb?

Posted by Benoit Chesneau <bc...@gmail.com>.
On Fri, Apr 20, 2012 at 8:48 AM, Marcello Nuccio
<ma...@gmail.com> wrote:
> 2012/4/20 Benoit Chesneau <bc...@gmail.com>:
>> On Friday, April 20, 2012, Marcello Nuccio wrote:
>>
>>> 2012/4/19 Benoit Chesneau <bchesneau@gmail.com <javascript:;>>:
>>> > On Thu, Apr 19, 2012 at 5:41 PM, Marcello Nuccio
>>> > <marcello.nuccio@gmail.com <javascript:;>> wrote:
>>> >> 2012/4/19 Benoit Chesneau <bchesneau@gmail.com <javascript:;>>:
>>> >>>
>>> >>> http://github.com/refuge/rcouch
>>> >>
>>> >> Can it be used to build a specific version of CouchDB?
>>> >>
>>> >> http://refuge.io/ says it's based on CouchDB-1.3, but I want to use
>>> >> 1.2, or any other version.
>>> >>
>>> > Then use any version.... ;)
>>> >
>>> >  It's based on trunk + some fixes, changes. compatible with latest
>>> > stable and bigcouch. It's also used in prod in many locations.
>>>
>>> Then the answer is "no, you can't use it to build CouchDB", right?
>>
>>
>> I'm not sure what you mean there. but ok.
>
> That's because of my bad english, sorry. I will try to be more clear.
>
> The rcouch's README says:
>
> - "rcouch is a static distribution of couchdb using rebar."
> - "It is an extraction of the refuge code to ease the distribution of couchdb."
>
> That is great, and it's what I was looking for. But then it says:
>
> - "Based on the couchdb code it is tagged from time to time for
> stability purpose. At some point some supported branch may appear."
>
> Does this mean that I can't use it to build a *static* distribution,
> e.g., of couchdb-1.2?
>
> Sorry if this this is a very dumb question...
>
> thanks,
>  Marcello
Ah.

1.3/trunk Apache CouchDB is actually 1.2 with some refactoring. I will
make it more clear on the refuge website. We are compatible with 1.2
and trunk (1.3)/

We are on the other hand somehow different from 1.2/1.3 CouchDB due to
some refactoring and enhancements (supervision, release, logging, ..)
in the codebase + addons (couch_randomdoc, refuge_spatial,  ...). I
want to put these changes in CouchDB but it's not actually clear how
it will happen. Even after the couchdb summit...

Anyway, while we are making a compatible distribution. We don't follow
the release time of CouchDB. Releases will  appear more often in near
future , and binaries will be available in a continuous fashion
sometimes in Mai for different platforms (bsds, linux, mac, win, ..) .
If at any step we will change the supported version of CouchDB we will
announce it.

- benoît
- benoît

Re: standalone couchdb?

Posted by Marcello Nuccio <ma...@gmail.com>.
2012/4/20 Benoit Chesneau <bc...@gmail.com>:
> On Friday, April 20, 2012, Marcello Nuccio wrote:
>
>> 2012/4/19 Benoit Chesneau <bchesneau@gmail.com <javascript:;>>:
>> > On Thu, Apr 19, 2012 at 5:41 PM, Marcello Nuccio
>> > <marcello.nuccio@gmail.com <javascript:;>> wrote:
>> >> 2012/4/19 Benoit Chesneau <bchesneau@gmail.com <javascript:;>>:
>> >>>
>> >>> http://github.com/refuge/rcouch
>> >>
>> >> Can it be used to build a specific version of CouchDB?
>> >>
>> >> http://refuge.io/ says it's based on CouchDB-1.3, but I want to use
>> >> 1.2, or any other version.
>> >>
>> > Then use any version.... ;)
>> >
>> >  It's based on trunk + some fixes, changes. compatible with latest
>> > stable and bigcouch. It's also used in prod in many locations.
>>
>> Then the answer is "no, you can't use it to build CouchDB", right?
>
>
> I'm not sure what you mean there. but ok.

That's because of my bad english, sorry. I will try to be more clear.

The rcouch's README says:

- "rcouch is a static distribution of couchdb using rebar."
- "It is an extraction of the refuge code to ease the distribution of couchdb."

That is great, and it's what I was looking for. But then it says:

- "Based on the couchdb code it is tagged from time to time for
stability purpose. At some point some supported branch may appear."

Does this mean that I can't use it to build a *static* distribution,
e.g., of couchdb-1.2?

Sorry if this this is a very dumb question...

thanks,
  Marcello

Re: standalone couchdb?

Posted by Benoit Chesneau <bc...@gmail.com>.
On Friday, April 20, 2012, Marcello Nuccio wrote:

> 2012/4/19 Benoit Chesneau <bchesneau@gmail.com <javascript:;>>:
> > On Thu, Apr 19, 2012 at 5:41 PM, Marcello Nuccio
> > <marcello.nuccio@gmail.com <javascript:;>> wrote:
> >> 2012/4/19 Benoit Chesneau <bchesneau@gmail.com <javascript:;>>:
> >>>
> >>> http://github.com/refuge/rcouch
> >>
> >> Can it be used to build a specific version of CouchDB?
> >>
> >> http://refuge.io/ says it's based on CouchDB-1.3, but I want to use
> >> 1.2, or any other version.
> >>
> > Then use any version.... ;)
> >
> >  It's based on trunk + some fixes, changes. compatible with latest
> > stable and bigcouch. It's also used in prod in many locations.
>
> Then the answer is "no, you can't use it to build CouchDB", right?



I'm not sure what you mean there. but ok.

>
> It's important for me to know exactly what version of CouchDB I'm
> using, because most of CouchDB upgrades that I've done, even minor,
> has had some breaking changes. So my concerns are on strict
> compatibility, not on stability or reliability.
>
> All are *strictly* maintained and more in rcouch. Anyway choose the tool
you prefer.


> Marcello
>

Re: standalone couchdb?

Posted by Marcello Nuccio <ma...@gmail.com>.
2012/4/19 Benoit Chesneau <bc...@gmail.com>:
> On Thu, Apr 19, 2012 at 5:41 PM, Marcello Nuccio
> <ma...@gmail.com> wrote:
>> 2012/4/19 Benoit Chesneau <bc...@gmail.com>:
>>>
>>> http://github.com/refuge/rcouch
>>
>> Can it be used to build a specific version of CouchDB?
>>
>> http://refuge.io/ says it's based on CouchDB-1.3, but I want to use
>> 1.2, or any other version.
>>
> Then use any version.... ;)
>
>  It's based on trunk + some fixes, changes. compatible with latest
> stable and bigcouch. It's also used in prod in many locations.

Then the answer is "no, you can't use it to build CouchDB", right?

It's important for me to know exactly what version of CouchDB I'm
using, because most of CouchDB upgrades that I've done, even minor,
has had some breaking changes. So my concerns are on strict
compatibility, not on stability or reliability.

Marcello

Re: standalone couchdb?

Posted by Benoit Chesneau <bc...@gmail.com>.
On Thu, Apr 19, 2012 at 5:41 PM, Marcello Nuccio
<ma...@gmail.com> wrote:
> 2012/4/19 Benoit Chesneau <bc...@gmail.com>:
>>
>> http://github.com/refuge/rcouch
>
> Can it be used to build a specific version of CouchDB?
>
> http://refuge.io/ says it's based on CouchDB-1.3, but I want to use
> 1.2, or any other version.
>
Then use any version.... ;)

 It's based on trunk + some fixes, changes. compatible with latest
stable and bigcouch. It's also used in prod in many locations.

- benoît

Re: standalone couchdb?

Posted by Marcello Nuccio <ma...@gmail.com>.
2012/4/19 Benoit Chesneau <bc...@gmail.com>:
>
> http://github.com/refuge/rcouch

Can it be used to build a specific version of CouchDB?

http://refuge.io/ says it's based on CouchDB-1.3, but I want to use
1.2, or any other version.

thanks,
  Marcello

Re: standalone couchdb?

Posted by Benoit Chesneau <bc...@gmail.com>.
On Thu, Apr 19, 2012 at 1:34 PM, Kristian Rink <ka...@googlemail.com> wrote:
> Folks;
>
> jumping between different hosts and Linux distributions and wanting to keep
> part of our applications as a "non-root standalone deployment bundle", I
> wonder whether there so far are any pre-built CouchDB Linux "batteries
> included" binaries that come with all required dependencies and completely
> can live in, say, /opt/couchdb/? Is there such a beast available somewhere,
> or am I rather left building things from source on my own?
>
> TIA and all the best,
> Kristian

http://github.com/refuge/rcouch

Re: standalone couchdb?

Posted by Kristian Rink <ka...@googlemail.com>.
Hi there;

Am 19.04.2012 13:47, schrieb CGS:
> I think what you need is something like Jason made here:
> https://github.com/iriscouch/build-couchdb
>
> Take a look and see if it is what you need.

Thanks for the pointer. I'll give it a try to see how "portable" it will 
be, but so far, this seems to be pretty much what I want. :)

Thanks again, all the best!
Kristian

Re: standalone couchdb?

Posted by CGS <cg...@gmail.com>.
Hi Kristian,

I think what you need is something like Jason made here:
https://github.com/iriscouch/build-couchdb

Take a look and see if it is what you need.

CGS




On Thu, Apr 19, 2012 at 1:34 PM, Kristian Rink <ka...@googlemail.com>wrote:

> Folks;
>
> jumping between different hosts and Linux distributions and wanting to
> keep part of our applications as a "non-root standalone deployment bundle",
> I wonder whether there so far are any pre-built CouchDB Linux "batteries
> included" binaries that come with all required dependencies and completely
> can live in, say, /opt/couchdb/? Is there such a beast available somewhere,
> or am I rather left building things from source on my own?
>
> TIA and all the best,
> Kristian
>