Couchdb lucene

Hi devs,

In install.sh there is a reference to couchdb-lucene. However I wonder if this
dependency is still used in the current HQ codebase.

First, the required version of couchdb-lucene is pretty old : 0.8.0 (31/12/2012) while
the latest version is 1.0.2 (5/11/2014)

Second, the init.d script is simply copied from /usr/local/couchdb-
lucene-0.8.0/src/main/tools/etc/init.d/couchdb-lucene

However this script expect the executable (bin/run) to be located in
/usr/local/couchdb-lucene-0.8.0/bin/run
The init script doesn’t find it and returns 0

Is couchdb-lucene still a requirement ?

Many thanks,

··· -- Charles Flèche mHealth Advisor Télécoms Sans Frontières http://www.tsfi.org Première Urgence - Aide Médicale Internationale http://www.pu-ami.org

Hi Charles

Correct, we do not use couchdb-lucene anymore except for on one of our
older servers which is in the process of being migrated.

Simon

··· On 10 February 2015 at 09:43, Charles Flèche wrote:

Hi devs,

In install.sh there is a reference to couchdb-lucene. However I wonder if
this dependency is still used in the current HQ codebase.

First, the required version of couchdb-lucene is pretty old : 0.8.0
(31/12/2012) while the latest version is 1.0.2 (5/11/2014)

Second, the init.d script is simply copied from
/usr/local/couchdb-lucene-0.8.0/src/main/tools/etc/init.d/couchdb-lucene

However this script expect the executable (bin/run) to be located in
/usr/local/couchdb-lucene-0.8.0/bin/run

The init script doesn’t find it and returns 0

Is couchdb-lucene still a requirement ?

Many thanks,

Charles Flèche

mHealth Advisor

Télécoms Sans Frontières http://www.tsfi.org

Première Urgence - Aide Médicale Internationale http://www.pu-ami.org


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa

Correct, we do not use couchdb-lucene anymore except for on one of
our
older servers which is in the process of being migrated.

Cool, many thanks. I’ll update the install.sh script and send you a PR.

Thanks, Simon.

··· On Tuesday 10 February 2015 09:46:40 Simon Kelly wrote:


Charles Flèche
mHealth Advisor
Télécoms Sans Frontières http://www.tsfi.org
Première Urgence - Aide Médicale Internationale http://www.pu-ami.org

great, thanks Charles.

··· On 10 February 2015 at 09:48, Charles Flèche wrote:

On Tuesday 10 February 2015 09:46:40 Simon Kelly wrote:

Correct, we do not use couchdb-lucene anymore except for on one of our

older servers which is in the process of being migrated.

Cool, many thanks. I’ll update the install.sh script and send you a PR.

Thanks, Simon.

Charles Flèche

mHealth Advisor

Télécoms Sans Frontières http://www.tsfi.org

Première Urgence - Aide Médicale Internationale http://www.pu-ami.org


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa

What about node.js ? install.sh sets up a node.js ppa then download npm.
However I don’t see any other node module download.

Is CommCareHQ still using Node.JS somehow ?

Thanks,

··· -- Charles Flèche mHealth Advisor Télécoms Sans Frontières http://www.tsfi.org Première Urgence - Aide Médicale Internationale http://www.pu-ami.org

I don’t think you need that in a dev environment unless you are testing
lessc or you are needing to build the form designer. In production it gets
used by Django Compressor to run lessc:

··· On 10 February 2015 at 12:36, Charles Flèche wrote:

What about node.js ? install.sh sets up a node.js ppa then download npm.
However I don’t see any other node module download.

Is CommCareHQ still using Node.JS somehow ?

Thanks,

Charles Flèche

mHealth Advisor

Télécoms Sans Frontières http://www.tsfi.org

Première Urgence - Aide Médicale Internationale http://www.pu-ami.org


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa

Woops, sorry, overlooked this bit…

··· On Tuesday 10 February 2015 13:16:11 Simon Kelly wrote: > I don't think you need that in a dev environment unless you are testing > lessc or you are needing to build the form designer. In production it gets > used by Django Compressor to run lessc:


Charles Flèche
mHealth Advisor
Télécoms Sans Frontières http://www.tsfi.org
Première Urgence - Aide Médicale Internationale http://www.pu-ami.org