Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 8 commits
  • 4 files changed
  • 0 commit comments
  • 2 contributors
Commits on Mar 20, 2012
@kocolosk kocolosk Invoke couch_view_updater with the proper arguments
This fixes stale=update_after.
42a471c
Commits on Jan 09, 2013
Robert Newson Bump fabric to 2.0.5 0142e91
Robert Newson backport .travis.yml with tweaks 0903d79
Commits on Jan 15, 2013
Robert Newson bump reltool.config e59d8bb
Commits on Jan 23, 2013
Robert Newson test on supported travis thingies b2e931f
Robert Newson Bump fabric to 2.0.6 1d854b6
Commits on Feb 15, 2013
Robert Newson Bump fabric to 2.0.7 c0bcc6e
Commits on Feb 18, 2013
Robert Newson Really update to 0.4.2 f0f5a10
Showing with 32 additions and 3 deletions.
  1. +28 −0 .travis.yml
  2. +2 −1 apps/couch/src/couch_view_group.erl
  3. +1 −1 rebar.config
  4. +1 −1 rel/reltool.config
View
28 .travis.yml
@@ -0,0 +1,28 @@
+# Copyright 2012 Cloudant
+
+# for dynamic builds comment out couchjsflags
+env:
+ - couchjsflags="--static --nocurl"
+
+before_install:
+ - echo "deb http://packages.cloudant.com/ubuntu precise main" | sudo tee /etc/apt/sources.list.d/cloudant-source.list
+ - sudo apt-get update -qq
+ - sudo apt-get purge -qq libmozjs185-dev libmozjs185-1.0
+# for static builds with no threading:
+ - sudo apt-get install -qq --force-yes libmozjs185-cloudant libmozjs185-cloudant-dev libicu-dev
+# for dynamic builds with threading:
+# - sudo apt-get install -qq libmozjs185-1.0 libmozjs185-dev libnspr4 libnspr4-dev libicu-dev
+
+before_script: ./configure
+
+script: make check
+
+language: erlang
+
+notifications:
+ email: false
+ irc: "irc.freenode.org#cloudant"
+
+otp_release:
+ - R14B04
+ - R15B02
View
3 apps/couch/src/couch_view_group.erl
@@ -223,10 +223,11 @@ handle_call({compact_done, NewGroup}, _From, State) ->
handle_cast({update_group, RequestSeq},
#group_state{
+ db_name = DbName,
group=#group{current_seq=Seq}=Group,
updater_pid=nil}=State) when RequestSeq > Seq ->
Owner = self(),
- Pid = spawn_link(fun()-> couch_view_updater:update(Owner, Group) end),
+ Pid = spawn_link(fun()-> couch_view_updater:update(Owner, Group, DbName) end),
{noreply, State#group_state{updater_pid=Pid}};
handle_cast({update_group, _RequestSeq}, State) ->
{noreply, State};
View
2 rebar.config
@@ -22,7 +22,7 @@
{rexi, ".*", {git, "https://github.com/cloudant/rexi.git",
{tag, "1.5.5"}}},
{fabric, ".*", {git, "https://github.com/cloudant/fabric.git",
- {tag, "2.0.4"}}},
+ {tag, "2.0.7"}}},
{mem3, ".*", {git, "https://github.com/cloudant/mem3.git",
{tag, "2.0.0"}}},
{chttpd, ".*", {git, "https://github.com/cloudant/chttpd.git",
View
2 rel/reltool.config
@@ -14,7 +14,7 @@
{sys, [
{lib_dirs, ["../apps", "../deps"]},
- {rel, "bigcouch", "0.4.0", [
+ {rel, "bigcouch", "0.4.2", [
kernel,
stdlib,
sasl,

No commit comments for this range

Something went wrong with that request. Please try again.