You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Benoit Chesneau <bc...@gmail.com> on 2012/11/10 21:43:57 UTC
otp branch
OK I have started the work to make couchdb an OTP implementation. Work
is done here :
https://github.com/benoitc/couchdb/tree/otp
For now the branch doesn't build, only the configure step pass. It
also doesn't support embedding in other OTP applications yet.
https://github.com/benoitc/couchdb/compare/master...otp
What is done:
- integration of rebar
- better detection of Erlang using m4 macros
- couch_index, couch & couch_replicator are now full OTP applications
with their own supervision
- couch_mrview has been rebarified
- Layout of the code is quite similar to the current one :
- now src/ contains full OTP applications.
- dependencies have also been removed from the source. A mechanism
similar to the one in rcouch will be added to fetch the dependencies
before creating the source tarball that will be distributed.
- couchdb has been renamed couch as it should have aways been.
- couch_db.hrl is now in the include/ folder of the couch application
- couchdb find etc filess first in the release first. So a couchdb
release could be relocatable. Of course this can be overridden easily.
TODO:
- Integrate rebar to the build, and build C code.
- Add needed changes to create the final OTP release (add reltools,
edit templates)
Btw do we need to support all spidermonkey versions?
- benoît
Re: otp branch
Posted by Noah Slater <ns...@apache.org>.
Cool! Is this still happening today? :)
On 3 March 2013 23:22, Benoit Chesneau <bc...@gmail.com> wrote:
> On Sun, Mar 3, 2013 at 10:09 PM, Noah Slater <ns...@apache.org> wrote:
> > Is this work happening in an ASF branch now?
> >
> >
>
> Yup. will upload the branch sometimes on wed.
>
> - benoît
>
> > On 3 December 2012 10:41, Benoit Chesneau <bc...@gmail.com> wrote:
> >
> >> On Sun, Dec 2, 2012 at 1:05 AM, Noah Slater <ns...@apache.org> wrote:
> >>
> >> > Can you make this branch in the Apache repository, Benoit? I'd like to
> >> > collaborate on it with you.
> >> >
> >>
> >>
> >> Sure I can probably do that.
> >>
> >> - benoît
> >>
> >
> >
> >
> > --
> > NS
>
--
NS
Re: otp branch
Posted by Benoit Chesneau <bc...@gmail.com>.
On Sun, Mar 3, 2013 at 10:09 PM, Noah Slater <ns...@apache.org> wrote:
> Is this work happening in an ASF branch now?
>
>
Yup. will upload the branch sometimes on wed.
- benoît
> On 3 December 2012 10:41, Benoit Chesneau <bc...@gmail.com> wrote:
>
>> On Sun, Dec 2, 2012 at 1:05 AM, Noah Slater <ns...@apache.org> wrote:
>>
>> > Can you make this branch in the Apache repository, Benoit? I'd like to
>> > collaborate on it with you.
>> >
>>
>>
>> Sure I can probably do that.
>>
>> - benoît
>>
>
>
>
> --
> NS
Re: otp branch
Posted by Noah Slater <ns...@apache.org>.
Is this work happening in an ASF branch now?
On 3 December 2012 10:41, Benoit Chesneau <bc...@gmail.com> wrote:
> On Sun, Dec 2, 2012 at 1:05 AM, Noah Slater <ns...@apache.org> wrote:
>
> > Can you make this branch in the Apache repository, Benoit? I'd like to
> > collaborate on it with you.
> >
>
>
> Sure I can probably do that.
>
> - benoît
>
--
NS
Re: otp branch
Posted by Noah Slater <ns...@apache.org>.
Cool. Let me know when it's available.
On 3 December 2012 10:41, Benoit Chesneau <bc...@gmail.com> wrote:
> On Sun, Dec 2, 2012 at 1:05 AM, Noah Slater <ns...@apache.org> wrote:
>
> > Can you make this branch in the Apache repository, Benoit? I'd like to
> > collaborate on it with you.
> >
>
>
> Sure I can probably do that.
>
> - benoît
>
--
NS
Re: otp branch
Posted by Benoit Chesneau <bc...@gmail.com>.
On Sun, Dec 2, 2012 at 1:05 AM, Noah Slater <ns...@apache.org> wrote:
> Can you make this branch in the Apache repository, Benoit? I'd like to
> collaborate on it with you.
>
Sure I can probably do that.
- benoît
Re: otp branch
Posted by Noah Slater <ns...@apache.org>.
Can you make this branch in the Apache repository, Benoit? I'd like to
collaborate on it with you.
On 10 November 2012 20:43, Benoit Chesneau <bc...@gmail.com> wrote:
> OK I have started the work to make couchdb an OTP implementation. Work
> is done here :
>
> https://github.com/benoitc/couchdb/tree/otp
>
> For now the branch doesn't build, only the configure step pass. It
> also doesn't support embedding in other OTP applications yet.
>
> https://github.com/benoitc/couchdb/compare/master...otp
>
> What is done:
>
> - integration of rebar
> - better detection of Erlang using m4 macros
> - couch_index, couch & couch_replicator are now full OTP applications
> with their own supervision
> - couch_mrview has been rebarified
> - Layout of the code is quite similar to the current one :
>
> - now src/ contains full OTP applications.
> - dependencies have also been removed from the source. A mechanism
> similar to the one in rcouch will be added to fetch the dependencies
> before creating the source tarball that will be distributed.
> - couchdb has been renamed couch as it should have aways been.
> - couch_db.hrl is now in the include/ folder of the couch application
> - couchdb find etc filess first in the release first. So a couchdb
> release could be relocatable. Of course this can be overridden easily.
>
> TODO:
>
> - Integrate rebar to the build, and build C code.
> - Add needed changes to create the final OTP release (add reltools,
> edit templates)
>
>
> Btw do we need to support all spidermonkey versions?
>
> - benoît
>
--
NS
Re: otp branch
Posted by Dave Cottlehuber <dc...@jsonified.com>.
On 10 November 2012 21:43, Benoit Chesneau <bc...@gmail.com> wrote:
> OK I have started the work to make couchdb an OTP implementation. Work
> is done here :
>
> https://github.com/benoitc/couchdb/tree/otp
>
> For now the branch doesn't build, only the configure step pass. It
> also doesn't support embedding in other OTP applications yet.
>
> https://github.com/benoitc/couchdb/compare/master...otp
>
> What is done:
>
> - integration of rebar
> - better detection of Erlang using m4 macros
> - couch_index, couch & couch_replicator are now full OTP applications
> with their own supervision
> - couch_mrview has been rebarified
> - Layout of the code is quite similar to the current one :
>
> - now src/ contains full OTP applications.
> - dependencies have also been removed from the source. A mechanism
> similar to the one in rcouch will be added to fetch the dependencies
> before creating the source tarball that will be distributed.
> - couchdb has been renamed couch as it should have aways been.
> - couch_db.hrl is now in the include/ folder of the couch application
> - couchdb find etc filess first in the release first. So a couchdb
> release could be relocatable. Of course this can be overridden easily.
>
> TODO:
>
> - Integrate rebar to the build, and build C code.
> - Add needed changes to create the final OTP release (add reltools,
> edit templates)
>
>
> Btw do we need to support all spidermonkey versions?
>
> - benoît
Hi Benoit,
This OTPification is awesome! It will make a lot of things simpler to
get my/our heads around also.
I think supporting 1.8.5 spidermonkey only is acceptable, certainly
for windows port it will be easier. Has anybody benchmarks, or is the
serialisation more of an impact than the spidermonkey version?
A+
Dave