<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/dev/run, branch python-black</title>
<subtitle>github.com: apache/couchdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/'/>
<entry>
<title>Merge branch 'master' into python-black</title>
<updated>2018-12-01T23:38:09+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>wohali@users.noreply.github.com</email>
</author>
<published>2018-12-01T23:38:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=61530679f2249fdd59ecf560c950d78c698996db'/>
<id>61530679f2249fdd59ecf560c950d78c698996db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dev/run: do not create needless dev/data/ dir</title>
<updated>2018-11-30T21:07:14+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>joant@atypical.net</email>
</author>
<published>2018-11-30T21:07:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=b131fd0558089ffbe18f40e988e33928d1cf8355'/>
<id>b131fd0558089ffbe18f40e988e33928d1cf8355</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Format and check all code using python black</title>
<updated>2018-11-29T07:04:52+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>wohali@apache.org</email>
</author>
<published>2018-11-29T02:16:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=5383feb776d627b1469a1be205dd3de1a6597c6d'/>
<id>5383feb776d627b1469a1be205dd3de1a6597c6d</id>
<content type='text'>
The Makefile target builds a python3 venv at .venv and installs
black if possible. Since black is Python 3.6 and up only, we
skip the check on systems with an older Python 3.x.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Makefile target builds a python3 venv at .venv and installs
black if possible. Since black is Python 3.6 and up only, we
skip the check on systems with an older Python 3.x.
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to python 3</title>
<updated>2018-11-26T22:49:33+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2018-10-03T17:30:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=2a3467d51415569e5f93c0cf4afbc5bbcd1ba17b'/>
<id>2a3467d51415569e5f93c0cf4afbc5bbcd1ba17b</id>
<content type='text'>
Ran 2to3 and fixed a few deprecated warnings

Issue #1632
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ran 2to3 and fixed a few deprecated warnings

Issue #1632
</pre>
</div>
</content>
</entry>
<entry>
<title>[win32] Fix dev/run and Makefile for test suite (#1731)</title>
<updated>2018-11-13T00:50:42+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>wohali@users.noreply.github.com</email>
</author>
<published>2018-11-13T00:50:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=e4b3b09f33972a8e31fd379ce3a70d96e849b34b'/>
<id>e4b3b09f33972a8e31fd379ce3a70d96e849b34b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: move [native_]query_server &amp; os_daemons setup out of runtime config</title>
<updated>2018-11-09T13:51:33+00:00</updated>
<author>
<name>Jan Lehnardt</name>
<email>jan@apache.org</email>
</author>
<published>2018-09-14T08:42:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=36e2323044dee3cadf5f766462000d7be89fc4dc'/>
<id>36e2323044dee3cadf5f766462000d7be89fc4dc</id>
<content type='text'>
CouchDB ships with two default query_servers (javascript and coffeescript)
as well as one default native_query_server (query aka mango). These used
to be configured in default.ini in these sections:

```
[query_servers]
javascript = {{prefix}}/bin/couchjs {{prefix}}/share/server/main.js
coffeescript = {{prefix}}/bin/couchjs {{prefix}}/share/server/main-coffee.js

; enable mango query engine
[native_query_servers]
query = {mango_native_proc, start_link, []}
; erlang query server
; erlang = {couch_native_process, start_link, []}
```

This allowed end-users post-install and even runtime-changes to which
query servers are enabled and where their binaries live.

This patch changes things, so only a post-install, but not at-runtime
changes are possible from now on.

This still allows people to configure their CouchDB to run a third-
party query server like the somewhat popular Python query server,
but it changes the way the setup is done.

Query Servers

The javascript and coffeescript query servers continue to be enabled
by default. Setup differences have been moved from default.ini to
the couchdb and couchdb.cmd start scripts respectively.

Additional query servers can now be configured using environment
variables:

```
export COUCHDB_QUERY_SERVER_PYTHON="/path/to/python/query/server.py with args"
couchdb
```

Where the last segment in the environment variable matches the usual
lowercase(!) query language in the design doc `language` field.

Multiple query servers can be configured by using more environment
variables.

Native Query Servers

The mango query server continues to be enabled by default. The erlang
query server continues to be disabled by default. This patch adds
a `[native_query_servers] enable_erlang_query_server = BOOL` setting
(defaults to `"false"`) to enable the erlang query server.

If the legacy configuration for enabling the query server is detected,
that is counted as a `true` setting as well, so existing configurations
continue to work just fine.

Windows

Since the setting of the `./configure` time `PREFIX` happens during
`make release`, I had to adapt the `couchdb` and `couchdb.cmd` scripts
to have the correct env vars set and the `PREFIX` replaced there.

I did this to the best of my abilities and research, but this needs
review from the Windows team (Hi Joan! :).

OS Daemons

Although deprecated in 2.2.0, we’re keeping support for this until 3.x,
but the configuration changes analogous to query servers.

Previously, configuration looked like this:

```
[os_daemons]
name = /path/to/daemon with args
```

With this patch, setup looks like this:

```
COUCHDB_OS_DAEMON_NAME="/path/to/daemon with args"
couchdb
```

Multiple OS Daemons can be started with multiple env vars. The final
segment in the env var becomes the daemon identifier inside CouchDB
as lowercase(!).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CouchDB ships with two default query_servers (javascript and coffeescript)
as well as one default native_query_server (query aka mango). These used
to be configured in default.ini in these sections:

```
[query_servers]
javascript = {{prefix}}/bin/couchjs {{prefix}}/share/server/main.js
coffeescript = {{prefix}}/bin/couchjs {{prefix}}/share/server/main-coffee.js

; enable mango query engine
[native_query_servers]
query = {mango_native_proc, start_link, []}
; erlang query server
; erlang = {couch_native_process, start_link, []}
```

This allowed end-users post-install and even runtime-changes to which
query servers are enabled and where their binaries live.

This patch changes things, so only a post-install, but not at-runtime
changes are possible from now on.

This still allows people to configure their CouchDB to run a third-
party query server like the somewhat popular Python query server,
but it changes the way the setup is done.

Query Servers

The javascript and coffeescript query servers continue to be enabled
by default. Setup differences have been moved from default.ini to
the couchdb and couchdb.cmd start scripts respectively.

Additional query servers can now be configured using environment
variables:

```
export COUCHDB_QUERY_SERVER_PYTHON="/path/to/python/query/server.py with args"
couchdb
```

Where the last segment in the environment variable matches the usual
lowercase(!) query language in the design doc `language` field.

Multiple query servers can be configured by using more environment
variables.

Native Query Servers

The mango query server continues to be enabled by default. The erlang
query server continues to be disabled by default. This patch adds
a `[native_query_servers] enable_erlang_query_server = BOOL` setting
(defaults to `"false"`) to enable the erlang query server.

If the legacy configuration for enabling the query server is detected,
that is counted as a `true` setting as well, so existing configurations
continue to work just fine.

Windows

Since the setting of the `./configure` time `PREFIX` happens during
`make release`, I had to adapt the `couchdb` and `couchdb.cmd` scripts
to have the correct env vars set and the `PREFIX` replaced there.

I did this to the best of my abilities and research, but this needs
review from the Windows team (Hi Joan! :).

OS Daemons

Although deprecated in 2.2.0, we’re keeping support for this until 3.x,
but the configuration changes analogous to query servers.

Previously, configuration looked like this:

```
[os_daemons]
name = /path/to/daemon with args
```

With this patch, setup looks like this:

```
COUCHDB_OS_DAEMON_NAME="/path/to/daemon with args"
couchdb
```

Multiple OS Daemons can be started with multiple env vars. The final
segment in the env var becomes the daemon identifier inside CouchDB
as lowercase(!).
</pre>
</div>
</content>
</entry>
<entry>
<title>Integrate Elixir suite with `make`</title>
<updated>2018-06-22T22:14:00+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-12-15T18:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=17f8de1fd3154cc0005f47ad929edcf2350b99ff'/>
<id>17f8de1fd3154cc0005f47ad929edcf2350b99ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for issue #603 - Error 500 when creating a db below quorum</title>
<updated>2018-01-31T13:10:49+00:00</updated>
<author>
<name>Juanjo</name>
<email>juanjo@localhost.localdomain</email>
</author>
<published>2018-01-24T14:01:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=960a6f9dcca7ece74838e377b091050284a3233a'/>
<id>960a6f9dcca7ece74838e377b091050284a3233a</id>
<content type='text'>
Add degrade-cluster option for cluster testing

Add tests for different cluster conditions with/without quorum

Add test-cluster-with-quorum and test-cluster-without-quorum tasks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add degrade-cluster option for cluster testing

Add tests for different cluster conditions with/without quorum

Add test-cluster-with-quorum and test-cluster-without-quorum tasks
</pre>
</div>
</content>
</entry>
<entry>
<title>Blacklist some config sections from HTTP PUT/DELETE operations</title>
<updated>2017-10-25T21:48:46+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>joant@atypical.net</email>
</author>
<published>2017-10-25T16:35:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=82635ef7f1b44cbdf98a8d6989cf505b828c3f55'/>
<id>82635ef7f1b44cbdf98a8d6989cf505b828c3f55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't reset logs when JS tests restart the server</title>
<updated>2017-09-13T17:37:59+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-09-13T16:48:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=c622e17ad1b5b2d8bc8c6f22ca17a7168a07dcc3'/>
<id>c622e17ad1b5b2d8bc8c6f22ca17a7168a07dcc3</id>
<content type='text'>
When a JS test requested a restart server we would wip the current log
file. This makes it hard to debug failing tests occasionally when they
happen just after a restart. This change prevents just opens log files
in read/write mode specifically when a test requests a server restart.

The current behavior for interactive use of `dev/run` will continue to
truncate log files on startup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a JS test requested a restart server we would wip the current log
file. This makes it hard to debug failing tests occasionally when they
happen just after a restart. This change prevents just opens log files
in read/write mode specifically when a test requests a server restart.

The current behavior for interactive use of `dev/run` will continue to
truncate log files on startup.
</pre>
</div>
</content>
</entry>
</feed>
