| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
It's the latest version. Otherwise, unexpected updates there break our CI
chain.
|
| |
|
|
|
| |
Nouveau - a new (experimental) full-text indexing feature for Apache CouchDB, using Lucene 9. Requires Java 11 or higher (19 is preferred).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The `configure` script does not check whether SpiderMonkey
actually exists at the presumed location. This may go wrong when
the user has a version different from the default one. The
mistake is spotted only in build time, indirectly, via missing
header files. That is too late and it may not be evident for the
user what the problem is.
Add a user-friendly safeguard for Unix-like systems to prevent
this from happening.
|
|
|
|
|
| |
Removes the old Spidermonkey 1.8.5 source code.
Spidermonkey 91 is set as the new default version.
|
| |
|
|
|
|
| |
They are all != 20 now
|
| |
|
|
|
|
| |
Already fixed by @lostnet on main.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From PR: #3568
A few changes to the formatting logic compared to `main`:
* rebar3 and `erlfmt` don't work with Erlang 20, so added an OTP version
check to skip formatting for Erlang 20
* `make erlfmt-*` commands are faster. Instead of spawning an `erlfmt`
process per-file, spawn one per `directory/*.erl` pattern.
* Remove the non-0 return code work-around. `erlfmt` was returning an error
on `main` because the line width option used for formatting was different
than the one used during format checking. Making both the default removed
all the spurious non-0 exits with the current version of `erlfmt`. Thanks
to Adam Kocoloski for pointing out the issue.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new app couch_prometheus
This will be a new app add a _prometheus endpoint which will
return metrics information that adheres to the format described at
https://prometheus.io/.
Initial implementation of new _prometheus endpoint. A gen_server
waits for scraping calls while polling couch_stats:fetch and
other system info. The return value is constructed to adhere to
prometheus format and returned as text/plain. The format code
was originally written by @davisp.
We add an option to spawn a new mochiweb_http server to allow for an
additional port for scraping which does not require authentication.
The default ports are 17986, 27986, 37986 across 3 nodes.
make release
Co-authored-by: Joan Touzet <wohali@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This PR adds a Dockerfile and associated configuration to enable
developers to quickly provision an environment with all dependencies
installed to work on CouchDB 3.x.
The container configuration also installs the Erlang Language Server
extension. That extension needs a minimal configuration file in the root
of the project in order to find the include files, so I've added that as
well. We could likely iterate and enhance that configuration file
further with linters, dialyzers configurations, etc.
Finally, it allows a developer to set the SpiderMonkey version in an
$SM_VSN environment variable so that we can do a better job of
preserving the simplicity of `./configure; make` inside the container.
|
| |
|
|
|
|
| |
Includes configure changes and Jenkins setting change.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A .git directory found in src/ usually indicates that the code in the
enclosing directory is managed from said .git directory. This can lead
to confusion, and developers opening PRs against obsolete repos when, as
happens frequently, a formerly separate repository becomes integrated
into the primary repo.
This patch changes the configure script to warn when it finds such .git
directories.
Example output:
$ ./configure --dev --skip-deps
==> configuring couchdb in rel/couchdb.config
WARNING unexpected .git directory src/couch_tests/.git
WARNING unexpected .git directory src/rexi/.git
WARNING unexpected .git directory src/mem3/.git
WARNING unexpected .git directory src/smoosh/.git
WARNING unexpected .git directory src/couch_mrview/.git
WARNING unexpected .git directory src/couch/.git
WARNING unexpected .git directory src/couch_replicator/.git
WARNING unexpected .git directory src/ddoc_cache/.git
WARNING unexpected .git directory src/couch_peruser/.git
WARNING unexpected .git directory src/setup/.git
WARNING unexpected .git directory src/couch_log/.git
WARNING unexpected .git directory src/couch_epi/.git
WARNING unexpected .git directory src/mango/.git
WARNING unexpected .git directory src/chttpd/.git
WARNING unexpected .git directory src/couch_stats/.git
WARNING unexpected .git directory src/global_changes/.git
WARNING unexpected .git directory src/couch_event/.git
WARNING unexpected .git directory src/fabric/.git
WARNING unexpected .git directory src/couch_plugins/.git
WARNING unexpected .git directory src/ken/.git
WARNING unexpected .git directory src/couch_index/.git
You have configured Apache CouchDB, time to relax. Relax.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
To make this work, I had to change the default -name from the old
couchdb@localhost to couchdb@127.0.0.1. This matches the advice
we already had in vm.args to use FQDN or IP address, anyway.
Once this merges I'll look at doing a Windows version, if possible.
|
| |
|
|
|
|
|
|
|
| |
This version of rebar has an extra commit on 2.6.0 to properly skip
applications that make use of the .app.src.script construct. The benefit
to us is that couch_epi tests will not run when specifying an
apps=$appname variable to eunit.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
COUCHDB-3067
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Before: $prefix/var/lib
After: $prefix/var/lib/couchdb
This mirros 1.x behaviour and is needed, because that’s where
databases and view indexes are stored and the CouchDB daemon
user will have to have full write access to that dir, and e.g.
we won’t get that for /usr/local/var/lib, so we’ll default to
/usr/local/var/lib/couchdb.
|
|
|
|
| |
This reverts commit 1c1cc8f20988a275d25b9a0232fefcdd3268f84f.
|
|
|
|
|
| |
See https://git-wip-us.apache.org/repos/asf?p=couchdb-rebar.git;h=a61e8f7
for details.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This solves issues with incompatible with systems that provides
old rebar versions.
Package maintainers still can override our rebar with system one
with --rebar command line option. By doing this, they obligates to
provide rebar of valid version.
Current version is pinned to 2.6.0 which is the minimal of
supported.
|
| |
|
| |
|
| |
|
| |
|
| |
|