<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/rel/files/couchdb.in, branch decrease-indexer-transaction-time-limit</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>fix: re-allow spaces in startup paths (#2504)</title>
<updated>2020-01-31T16:22:33+00:00</updated>
<author>
<name>Jan Lehnardt</name>
<email>jan@apache.org</email>
</author>
<published>2020-01-31T16:22:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=6124187883922536808d09a5573c959c950e8aa3'/>
<id>6124187883922536808d09a5573c959c950e8aa3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix missing parentheses in couchdb.in</title>
<updated>2020-01-09T18:26:21+00:00</updated>
<author>
<name>Will Holley</name>
<email>willholley@gmail.com</email>
</author>
<published>2020-01-09T16:22:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=9fd9d15254cc1b6d69431d47b0122e465caed2b1'/>
<id>9fd9d15254cc1b6d69431d47b0122e465caed2b1</id>
<content type='text'>
8e89688 added a syntax error to couchdb.in. This fixes it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
8e89688 added a syntax error to couchdb.in. This fixes it.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(#2143): allow env var overrides for js query server config (#2393)</title>
<updated>2020-01-08T22:11:40+00:00</updated>
<author>
<name>Jan Lehnardt</name>
<email>jan@apache.org</email>
</author>
<published>2020-01-08T22:11:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=8e896884f09bbcbe60de5898424032451f59da74'/>
<id>8e896884f09bbcbe60de5898424032451f59da74</id>
<content type='text'>
* fix(#2143): allow env var overrides for js query server config
* Remove incorrect quotation marks from couchdb.cmd.in

Co-authored-by: Joan Touzet &lt;wohali@apache.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix(#2143): allow env var overrides for js query server config
* Remove incorrect quotation marks from couchdb.cmd.in

Co-authored-by: Joan Touzet &lt;wohali@apache.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes #2151 - start CouchDB from symlinks (#2152)</title>
<updated>2020-01-04T16:29:43+00:00</updated>
<author>
<name>Ronny</name>
<email>ronny@kioskkinder.com</email>
</author>
<published>2020-01-04T16:29:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=d5568d1bbbed134091e34a1fa292f1ae2b361adf'/>
<id>d5568d1bbbed134091e34a1fa292f1ae2b361adf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow override of `-couch_ini` parameter</title>
<updated>2019-12-18T01:39:36+00:00</updated>
<author>
<name>Adrien Vergé</name>
<email>adrienverge@gmail.com</email>
</author>
<published>2019-11-01T14:40:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=98c474598cef1e90b0892e53be1ce324959a13f8'/>
<id>98c474598cef1e90b0892e53be1ce324959a13f8</id>
<content type='text'>
This is the continuation of commit 649b808 "Allow override of
`-args_file` and `-config` parameters (#1095)".

This allows setting the `-couch_ini` files location if needed, using
`COUCHDB_INI_FILES` env var:
- If unset (the default), `-couch_ini` argument won't be passed.
- If set (to a file, or list of files like
  `COUCHDB_INI_FILES=/chroot/etc/couchdb/default.ini
  /chroot/etc/couchdb/default.d ...`) it will allow running CouchDB with
  different settings. A useful case is being able to run multiple
  CouchDB servers on the same machine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the continuation of commit 649b808 "Allow override of
`-args_file` and `-config` parameters (#1095)".

This allows setting the `-couch_ini` files location if needed, using
`COUCHDB_INI_FILES` env var:
- If unset (the default), `-couch_ini` argument won't be passed.
- If set (to a file, or list of files like
  `COUCHDB_INI_FILES=/chroot/etc/couchdb/default.ini
  /chroot/etc/couchdb/default.d ...`) it will allow running CouchDB with
  different settings. A useful case is being able to run multiple
  CouchDB servers on the same machine.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: move fauxton docroot config to OS env-vars for consistency</title>
<updated>2019-05-22T09:43:48+00:00</updated>
<author>
<name>Jan Lehnardt</name>
<email>jan@apache.org</email>
</author>
<published>2019-05-21T08:28:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=57bf82e5cc3c3ab55ad6c3e46ea2c666ac2711cc'/>
<id>57bf82e5cc3c3ab55ad6c3e46ea2c666ac2711cc</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>
</feed>
