summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Fix rebar3 version to 3.21.0HEADmainNick Vatamaniuc2023-05-171-1/+1
| | | | | It's the latest version. Otherwise, unexpected updates there break our CI chain.
* Add new configure option and restore --dev behavior (#4582)Ronny Berndt2023-05-091-0/+7
|
* Import nouveau (#4291)Robert Newson2023-04-221-0/+10
| | | Nouveau - a new (experimental) full-text indexing feature for Apache CouchDB, using Lucene 9. Requires Java 11 or higher (19 is preferred).
* Unify style of `if` blocksGabor Pali2023-01-261-6/+3
|
* chore(configure): be more defensive about SpiderMonkey locationGabor Pali2023-01-261-1/+26
| | | | | | | | | | | | 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.
* Remove Spidermonkey 1.8.5Ronny Berndt2023-01-111-1/+1
| | | | | Removes the old Spidermonkey 1.8.5 source code. Spidermonkey 91 is set as the new default version.
* fix: debuggng leftover, speed up local rebar clonesJan Lehnardt2023-01-061-2/+1
|
* Skip Erlang version != 20 in configureNick Vatamaniuc2022-06-171-2/+2
| | | | They are all != 20 now
* Add smoosh queue persistencencshaw2022-03-141-0/+1
|
* Properly test for SM60 on ARM buildsAdam Kocoloski2022-01-251-2/+2
| | | | Already fixed by @lostnet on main.
* Fix CI by updating the rebar3 branch from master -> mainNick Vatamaniuc2022-01-071-1/+1
|
* Port erlfmt formatting to 3.xNick Vatamaniuc2021-11-221-0/+61
| | | | | | | | | | | | | | | | | | 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.
* Contribute Custom Erlang network protocol to Apachejiahuili2021-07-281-0/+28
|
* Port prometheus 3.x (#3506)Tony Sun2021-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | * 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>
* chore: update dependency pointers to release tagsJan Lehnardt2021-03-171-3/+0
|
* feat: update deps to support otp23 in a full buildJan Lehnardt2021-03-171-1/+5
|
* Add a .devcontainer configuration for 3.x (#3336)Adam Kocoloski2021-01-191-1/+1
| | | | | | | | | | | | | | | 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.
* Remove JS tests + support for harness (#3197) (#3203)Joan Touzet2020-10-071-11/+1
|
* Explicitly disallow SM60 on aarch64Joan Touzet2020-01-161-0/+7
| | | | Includes configure changes and Jenkins setting change.
* Add SpiderMonkey version option to configurePaul J. Davis2019-12-201-0/+23
|
* Warn about orphan .git directoriesJay Doane2019-12-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make PropEr an optional (test) dependencyRobert Newson2019-02-281-0/+8
|
* Use mainline rebar (v2) (#1680)lag-linaro2018-11-071-1/+1
|
* Make MD5 hash implementation configurable (#1171)rokek2018-07-161-0/+9
|
* feat: add ./configure --dev as alias for -c --disable-{docs,fauxton}Jan Lehnardt2018-02-141-0/+9
|
* Add convenience remsh bash scriptJoan Touzet2017-09-281-1/+1
| | | | | | | | 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.
* Fix configure when whoami errors outJoan Touzet2017-05-241-1/+1
|
* Use a custom version of rebarPaul J. Davis2017-05-221-1/+1
| | | | | | | 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.
* build: trivial typoDave Cottlehuber2017-04-221-1/+1
|
* feat: monorepo fixesJan Lehnardt2017-04-011-2/+1
|
* Change snap packaging to build from sourceMichael Hall2017-03-201-88/+0
|
* Provides access to check disk usage by calling the df commandMichael Hall2016-12-051-2/+2
|
* Add snapd browser-support interface to allow couchjs to control process priorityMichael Hall2016-12-051-2/+2
|
* Adds a Snap package build option with: ./configure && make snapMichael Hall2016-10-271-0/+90
|
* chore: remove old commentsJan Lehnardt2016-09-071-25/+0
|
* fix: end ./configure with a friendly messageJan Lehnardt2016-09-071-0/+2
|
* Remove lager and its dependenciesPaul J. Davis2016-07-221-2/+0
| | | | COUCHDB-3067
* scrap make install, build full couch into rel/couchdbJan Lehnardt2016-04-261-471/+35
|
* make install: fix default localstatedirJan Lehnardt2016-01-101-2/+2
| | | | | | | | | | | 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.
* Revert "fix: allow builds from release tarballs. rebar is being naughty"Alexander Shorin2015-12-281-1/+1
| | | | This reverts commit 1c1cc8f20988a275d25b9a0232fefcdd3268f84f.
* fix: allow builds from release tarballs. rebar is being naughtyJan Lehnardt2015-12-241-1/+1
| | | | | See https://git-wip-us.apache.org/repos/asf?p=couchdb-rebar.git;h=a61e8f7 for details.
* Fix rebar build when sources are provided while binary is notAlexander Shorin2015-10-071-1/+3
|
* Fix indentionAlexander Shorin2015-10-071-8/+8
|
* Fix bashism in configure scriptKlaus Trainer2015-09-231-1/+1
|
* Always build and use own rebarAlexander Shorin2015-09-231-1/+34
| | | | | | | | | | | | 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.
* Make rebar recognize list in configureRobert Newson2015-09-211-1/+1
|
* Configure couch_log for lager by defaultRobert Newson2015-09-181-0/+2
|
* configure: remove leftover config options, thanks @WohaliJan Lehnardt2015-06-291-2/+0
|
* add option to skip upadting erlang deps on ./configureJan Lehnardt2015-06-241-1/+9
|
* re-add vendor defaultJan Lehnardt2015-06-241-0/+2
|