CouchDB Weekly News, August 7, 2014

Major Discussions

Vote: Accept BigCouch Donation from Cloudant (see thread)

The vote passed.

The CouchDB Bylaws have been published (see link)

These bylaws will be useful for anyone who’s interested to learn how the
project works, and how to get involved, in case you were unsure.

Vote (ongoing): CouchDB Code of Conduct & Diversity Statement (see thread)

This Call For Votes is for voting in the official Apache CouchDB Code
of Conduct and Diversity Statement. The text of this document being voted on can be found here. The intent is to make this an official document of Apache CouchDB. To cast a binding vote, you need to be a CouchDB PMC member. Others are welcome to cast non-binding votes. Votes must be received by    23:59:59 UTC on Sunday, August 10, 2014.

CouchDB 2.0 as a Docker container (see thread)

Question: a user asked if it was possible to provide Docker containers that would enable them to test unreleased versions of CouchDB.

Answer: there’s the beginnings of a Dockerfile already committed. Its good
enough to get a development cluster running, still it’s not necessarily sufficient for a full-on Docker image to distribute with all proper configurations exposed properly. People who are familiar with Docker and want to help make this a more robust image for the general public (rather than just developers), are invited to help.

Testing Views and Lists in CouchDB (see thread)

Question: a user asked for recommendations of a thorough method of testing CouchDB view and list functions?

Answer 1: Testing views/lists and others functions is simple, but currently will
require some work from your, the user’s, side.

  1. You need a tool that implements query server protocol and
    communicates with it.
  2. You need a middleware which will translate your function into ddoc
    (or takes yours), pass it via query server protocol and return the
    result back in nicer form.
  3. Finally, you need a target function/ddoc and challenges to apply.
  4. Bonus: integrate all this with your favorite testing framework.

Hopefully, you don’t need in first two points of this plan: you can try to reuse Test couchjs and build your testing framework on top of it. And you’ll be able to test your design functions without need to run a CouchDB instance.

On other hand, there’s an alternative way to go by making tests inside couchapp and letting CouchDB handle all the implementation details. To call the tests you only need to set some show function which will introspect the related design document, locate the tests, run them and print out result in nicer HTML page. As bonus you’ll get self tested couchapps and verify their correctnesses anytime you want.

Answer 2: If you are using JavaScript, you could look at using PouchDB to run a very simple preview of your functions.

Releases in the CouchDB Universe

Opinions and other News in the CouchDB Universe

Use Cases, Questions and Answers

  • Use Case: Cortana Limited, a UK-based company, are using CouchDB. They wrote us this week that it “allows us to focus on the algorythms that add value to our clients and take into account all of the data they submitted … . We think CouchDB is the only solution for the future of our business without much heavier programming and staffing levels using standard SQL.” We’re happy about this great feedback and that CouchDB is so useful for them. Read their entire email here, and if you’re using CouchDB in your company as well, let us know!
  • Use Case: An easy introduction to building a single page web app (SPA) with Clojure and CouchDB
  • Stack Overflow: Limiting documents in temporary views
  • Stack Overflow: CouchDB {error,req_timedout}

no public answer yet:

For more new questions and answers about CouchDB, see these search results.

Get involved!

If you want to get into working on CouchDB:

  • We have an infinite number of open contributor positions on CouchDB. Submit a pull request and join the project!
  • Do you want to help moving the CouchDB docs translation forward? We’d love to have you in our L10n team! See our current status and languages we’d like to provide CouchDB docs in on this page. If you’d like to help, don’t hesitate to contact the L10n mailing list on l10n@couchdb.apache.org or ping Andy Wenk (awenkhh on IRC).

We’d be happy to have you!

Events

Time to relax!

… and also in the news

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s