summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Add a development container for VS Code (#3343)Adam Kocoloski2021-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a development container config for VS Code This creates a development environment with a FoundationDB server and a CouchDB layer in two containers, sharing a network through Docker Compose. It uses the FDB image published to Docker Hub for the FDB container, and downloads the FDB client packages from foundationdb.org to provide the development headers and libraries. www.foundationdb.org is actually not trusted in Debian Buster by default, so we have to download the GeoTrust_Global_CA.pem. The following link has more details: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962596 Once the Docker Compose setup is running, VS Code executes the create_cluster_file.bash script to write down a cluster file containing the IP address in the compose network where the FDB service can be found. This cluster file is used both for a user-driven invocation of `./dev/run`, as well as for unit tests that require a running CouchDB. Additionally, I've got a small fix to the way we run explicitly specified eunit tests: * Run eunit tests for each app separately The `eunit` target executes a for loop that appears intended to use a separate invocation of rebar for each Erlang application's unit tests. When running `make eunit` without any arguments this works correctly, as the for loop processes the output of `ls src`. But if you specify a comma-delimited list of applications the for loop will treat that as a single argument and pass it down to rebar. This asymmetry is surprising, but also seems to cause some issues with environment variables not being inherited by the environment used to execute the tests for the 2..N applications in the list. I didn't bother digging into the rebar source code to figure out what was happening there. This patch just parses the incoming comma-delimited list with `sed` to create a whitespace-delimited list for the loop, so we get the same behavior regardless of whether we are specifying applications explicitly or not.
* Remove JS tests + support for harness (#3197)Joan Touzet2020-10-071-11/+1
|
* Add native encryption supportRobert Newson2020-04-271-0/+19
| | | | | | | | | | | | | | | | | | | | | | | A new application, aegis, is introduced to provide strong at-rest protection of CouchDB data (where possible). Currently we encrypt the following values (if enabled): 1. Document content 2. Attachment content 3. Index values Things not encrypted: 1. _all_docs 2. _changes 3. doc id 4. doc rev 5. Index keys 6. All other metadata Co-Authored-By: Eric Avdey <eiri@apache.org> Co-Authored-By: Robert Samuel Newson <rnewson@apache.org>
* Integrate emilio - erang linterILYA Khlopotov2020-04-151-0/+13
|
* 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
|
* make fauxton and docs build optional with --disable-docs and --disable-fauxtonJan Lehnardt2015-06-241-0/+20
|
* fix fauxton rootJan Lehnardt2015-06-241-0/+1
|
* Add --infodir --mandir --docdir --htmldir --pdfdir.Jan Lehnardt2015-06-241-10/+106
| | | | Also copy docs into these dirs on make install.
* ./configure: re-add --user optionJan Lehnardt2015-06-241-1/+20
|
* fix database dir and install dirJan Lehnardt2015-06-241-3/+3
|
* allow dynamic variable substitutionJan Lehnardt2015-06-241-28/+28
| | | | | | | | | | E.g. GNU build tools call configure with these parameters: > ./configure --prefix=/foo --libexecdir=\${prefix}/libexec Expecting the final value of libexecdir to be /foo/libexec. This commit makes our ./configure behave like a GNU configure.
* ignore unused params and make them not stop parsingJan Lehnardt2015-06-241-2/+6
|
* fix --databasedir and --viewdirJan Lehnardt2015-06-241-7/+4
|
* fix variable name for $DEFAULT_PREFIXMicah Anderson2015-06-241-1/+1
|
* formatting fixMicah Anderson2015-06-241-1/+1
|
* New ./configure script!Jan Lehnardt2015-06-241-50/+389
| | | | | | | This work will handle GNU ./configure style configuration of target directories for installation of the various bits of CouchDB. Includes a test script(!) for ./configure
* add log file option to ./configure, unify naming of configure varsJan Lehnardt2015-06-241-16/+28
|
* Add first stab at a release build script.Jan Lehnardt2015-06-241-2/+5
|
* Consolidate .ini filesRobert Newson2014-06-271-2/+5
|