Wednesday Apr 16, 2014

Merging rcouch

rcouch is a variant of CouchDB that is derived from the main Apache CouchDB code base. One way to look at it is as a “future port” of CouchDB, that is for two reasons:

The internals are greatly improved. In simple terms, if CouchDB would be started to day, it would look a lot like rcouch. It comes with a number of nice new features.

So whether you are a CouchDB user or a CouchDB Erlang developer, rcouch is good news for you!

Since CouchDB has been around for a while, the internal codebase is a little crufty. We are constantly working on improving that, but one of the larger efforts have been done within the rcouch project by Apache CouchDB committer Benoit Chesneau.

At the same time, Benoit added a number of nice little features that benefit CouchDB users, just to name a few:

_changes for views.

Replication from views.

Write-only “Drop-Box” databases.

Request validation on-read.

_db_changes (actually, we nicked that one for Apache CouchDB 1.4 already :).

For more information, see the rcouch website.

Benoit has generously donated the rcouch project back to Apache CouchDB and has worked on merging the rcouch and the CouchDB codebases. Now it is time to review the merged code and get it into Apache CouchDB proper and put it into a new release.

With that, we need your help.

How you can help, you ask? Easy!

If you are a CouchDB user, and are not afraid to build CouchDB yourself, give the rcouch merge branch a spin:

git clone https://github.com/apache/couchdb.git cd couchdb git checkout -b 1994-merge-rcouch origin/1994-merge-rcouch # Read the DEVELOPERS file to install all dependencies # test regular build: make # test build with static icu library make icu=static # test build with shared libraries make libs=shared # run test suite make check # make a release make rel # run: ./rel/apache-couchdb/bin/couchdb start # now CouchDB is running at http://127.0.0.1:5984/_utils/, as usual, you just won’t see any output.

If you are an Erlang developer, we could use your help with code reviews. Any small chunks will help!

Please see the associated JIRA ticket for more information.

Thanks so much!

FaQ: how does this relate to BigCouch?

It doesn’t really, the BigCouch merge is ongoing and we will announce updates and requests for review when the time is right. Well, actually, if we can convince you to help with the review of the rcouch merge, we can put even more resources on the BigCouch merge :)

Posted at 08:50PM Apr 16, 2014 by Jan in News | |