This is an automated email from the ASF dual-hosted git repository.
davisp pushed a change to branch fix-get-minimum-purge-seq
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
from a7656a6 Avoid calls to `fabric:design_docs/1`
add d099375 WIP: Elixir test suite
add 35d5721 Port remaining basics.js tests
add 0fc3f02 Misc updates
add b3ca83c Port all_docs.js tests
add 3c4730e Port config.js tests
add 05fa713 Add support for a config tag
add fba7e88 Port uuids.js to Elixir
add a8e7a7c Remove module attribute
add 754202e Add simple Makefile for muscle memory
add cb1e1d1 Simple .gitignore for sanity
add 5f72bc7 Ignore erln8.config
add 005d48b DRY constant definition
add 42d1dca Update the context in place for setup
add 3667d8f Embrace the Elixir
add abdd7d6 Port view_collation.js to view_collation_test.exs
add d159ded Remove extraneous comment
add 859533a Port reduce.js suite
add 91687ee Prefer ?w=3 over hacky sleeps
add cae385a Port httpotion functionality until released
add 0097ac5 WIP: Port most of rewrite.js suite
add 0b48df6 Move elixir_suite to test/elixir
add 17f8de1 Integrate Elixir suite with `make`
add 9d392c7 Add list of test ports status to README
add dadbf13 Replace header match with regexp
add 1d97b35 Allow tests to specify the request Content-Type
add 35dcf85 Fix bug when canceling replications
add 534739f Allow tests to set config values dynamically
add 508cb82 Add helper functions for user sessions
add 6d01bb9 Add the user tag to create users declaratively
add 29a6561 Port replication.js to replication_test.ex
add 656934a Port the first half of security_validation_tests.js
add 6f7ce34 Implement retry_until to fix racy assertions
add b8b6a3d Clean up replication dbs on exit
add effdc4e Port batch_save.js (#1467)
add 96f79d6 Port conflicts.js (#1487)
add 8dca38a Port compact.js (#1492)
add 7d86fe4 Refactor test doc generation
add 446d26b Port bulk_docs.js
add 95daf1c Merge pull request #1468 from cloudant/bulk-docs
add e2f073c Suppress "outdented heredoc line" warnings
add ad95118 Suppress unused variable warnings
add 182cde0 Fix UndefinedFunctionError
add 874df49 Fix racy test case
add de0ea9a Merge pull request #1478 from cloudant/fix-warnings-and-errors
add 7bca962 Merge branch 'master' into elixir-suite
add e93bd44 revert unrelated commit
add 2f0ad1b Remove redundant functions (#1617)
add ee20ad7 Handle an exception on an invalid rev in a local doc update
add a7ccaeb Remove extra spaces from a test module
add ca60a5e Write local docs in a correct tree on a bulk operation with
new_edits false
add 6ee3d95 Extend generation of missing id to a bulk operation with
new_edits false
add f350d5f Merge pull request #1683 from cloudant/fix-_local-_bulk_docs
add 8ad49a2 Support out-of-sync in mango when doc is deleted
add 93a04b8 Merge pull request #1709 from apache/113045-case-clause-mango
add f9bd227 port experimental change that came up in the elixir test
suite branch (#1614)
add b0f65e8 Fix link in contributing doc (#1608)
add 33c39a9 Copy _security object in couchup; python3 fix (#1721)
add 096994b Fix initial view compaction task status (#1672)
add e99a7b7 Use mainline rebar (v2) (#1680)
add c157c96 #1705 Add UUID attribute to welcome message (#1708)
add cd2b130 Merge branch 'master' into elixir-suite
add 8ef5209 Merge pull request #1406 from apache/elixir-suite
add 69453db remove config: [httpd] default_handler
add b03b646 remove config: [httpd_{global,db,design}_handlers
add bed99b9 remove config: [httpd] vhost_global_handlers,
redirect_vhost_handler
add 21368b7 remove config: [daemons]
add 36e2323 feat: move [native_]query_server & os_daemons setup out of
runtime config
add 67f4da6 feat: remove deprecated os_daemons
add c3af624 feat: point to branch on couhc_config that is needed here
add c357ff3 test: fix os proc tests
add aba1400 remove deprecated http proxy code and tests from couch_httpd
add 83f4b9f remove daemons from config js tests
add cbbd2fa compatibility for erlang < 20
add 0b88ebc simplify, h/t @vatamane
add 73b3271 feat: move handler definition to .app file
add 8a1e54c feat: remove redundant string parsing
add c850ffa feat: change enaabling of chttpsd to `[ssl] enable = true`
add 370d931 feat: update couch-config to match #1602 (#1723)
add 00b28c2 Retain replication stats between job runs
add 844d6fe Improve retry_until (#1725)
add 0302e9d Enable cluster auto-assembly through a seedlist (#1658)
add 878866c Remove eliminated config options from tests
add e4b3b09 [win32] Fix dev/run and Makefile for test suite (#1731)
add 8d3b78c Support elixir 1.7 (#1726)
add cbc8cf7 Support prefix based matching in couch_epi_data_gen
add d927c48 Emit clauses in the order of definitions
add a4a2486 Fix typespec for couch_epi:get_value/3
add e9abe50 Implement efficient feature flags
add f12f4c5 Merge pull request #1682 from cloudant/feature_flags2
add b568496 Improve Mango test harness, add Windows compat (#1733)
add 375853c Mango test suite Windows fixes, closes #1732
add ba1c6ef [Win] elixir fix: use 127.0.0.1, not localhost
add 4a55983 Revert breaking change to Makefile.win
add caf021f Merge pull request #1736 from apache/1732-mango-tests-windows
add ff271a9 Add support for _bulk_get with multipart/mixed and
multipart/realated responses
add 22e8fc1 Fix nasty 500 error on POST to /_config
add 269224b Merge pull request #1717 from
cloudant/COUCHDB-1380-fix-nasty-error
add 6da9b71 Avoid badmatch when getting fabric timeout
add fedea84 Merge pull request #1739 from
apache/timeout-_purged_infos_limit
add 090d17e Set query server env variable in Makefile for isolated eunit
tests (#1747)
add 033e1d5 Add query server to eunit, Makefile.win
add 610c318 Merge pull request #1748 from apache/win-fix-makefile
add 0dde7bf Remove unnecessary setting on chttpd_view_test
add 1008d97 Merge pull request #1750 from
apache/remove-setting-on-chttpd_view_test
add 854f3d9 This adds in downgrade code for Database partitions work. We
add an extra field in the header.
add a2fd9eb Fix total_rows for _design_docs handler
add 9982582 Fix total_rows for _design_docs with keys
add 389a084 Remove ending spaces from design_docs_query.js
add 25b3a66 Fix misleading assertion in design_docs_query.js test
add 9ef63bc Remove empty spaces from couch_mrview_test_util
add 1f055f0 Add a new test suite for _design_doc handler
add 4fc292b Merge pull request #1744 from
cloudant/fix-_design_docs_total_rows
add d35b5c9 Handle db deletion in couch_db:load_validation_funs
add 4b3531b Merge pull request #1629 from
cloudant/84736-handle-db-deletion-in-load_validation_funs
add 97dc9b0 feat: do not record server admin requests as cache misses
(#1755)
add bae96cd Do not use [] in feature_flags configuration
add 14f0e53 Replace erl_parse based parser with our own
add 81f7904 Merge pull request #1754 from
cloudant/do-not-use-list-as-config-key
add a60655b Fix couch_epi typespec for data provider
add 2e22aa6 Merge pull request #1761 from cloudant/fix-couch_epi-typespec
add d1c8a83 test: port lots_of_docs.js to Elixir test suite (#1738)
add 1347806 Implement replicator session refresh based on cookie max age
add df37da6 Add formatter config
add a16b5a7 Add elixir-check-formatted make task
add b707790 Format elixir test
add 4ffa5d9 Update win makefile
add 2a3467d Switch to python 3
add 9870a7c Run mango tests with Python 3
add d0f76b9 Don't use activate script; Windows fixes
add fd03aa4 Merge pull request #1764 from apache/switch-scripts-to-python3
add 7ace576 Merge branch 'master' into mix-format
add 45eba6e Merge pull request #1767 from van-mronov/mix-format
add 78b0a7d test: port coffee.js to Elixir test suite (#1760)
add eca8622 test: port large_docs.js to Elixir test suite (#1745)
add 369bec2 Use fabric to get design docs in the compaction daemon
add 8803578 Cache query servers in ets table (#1778)
add 4edcf3f fix: re-enable _doc_id & _design_docs filter optimisation
paths (#1771)
add 0c5481a Bump fauxton, docs, version to 2.3.0
add 07ea0c7 Merge pull request #1780 from apache/2.3.0-prep
add b131fd0 dev/run: do not create needless dev/data/ dir
add 510f267 Use devclean on elixir target for consistency of Makefile
(#1785)
add 36f2e4c Merge branch 'master' into no-dev-data-dir
add 9f7724e Merge pull request #1786 from apache/no-dev-data-dir
add a2c7f31 Move couch_flags_config tests into its own module
add fa82105 Fix expected result from test
add ffd46bb mock couch_log
add d90a89d Merge pull request #1790 from cloudant/move-tests-to-suite
add 27f054b Merge branch 'master' into fix-get-minimum-purge-seq
No new revisions were added by this update.
Summary of changes:
.gitignore | 3 +
.travis.yml | 19 +-
CONTRIBUTING.md | 2 +-
Makefile | 17 +-
Makefile.win | 76 +-
README-DEV.rst | 19 +-
build-aux/logfile-uploader.py | 4 +-
configure | 2 +-
dev/boot_node.erl | 24 +-
dev/run | 67 +-
rel/overlay/bin/couchdb.cmd => dev/run.cmd | 19 +-
make.cmd | 3 +
rebar.config.script | 6 +-
.../bin/couchdb.cmd => files/couchdb.cmd.in} | 3 +
rel/{overlay/bin/couchdb => files/couchdb.in} | 4 +-
rel/overlay/bin/couchup | 34 +-
rel/overlay/etc/default.ini | 73 +-
rel/overlay/etc/local.ini | 6 +-
rel/reltool.config | 6 +-
src/chttpd/src/chttpd_auth_cache.erl | 16 +-
src/chttpd/src/chttpd_db.erl | 150 +-
src/chttpd/src/chttpd_misc.erl | 21 +-
...t.erl => chttpd_db_bulk_get_multipart_test.erl} | 101 +-
src/chttpd/test/chttpd_purge_tests.erl | 22 +-
src/chttpd/test/chttpd_welcome_test.erl | 20 +-
src/couch/include/couch_db.hrl | 8 +
src/couch/src/couch.app.src | 36 +
src/couch/src/couch_bt_engine_header.erl | 53 +
src/couch/src/couch_changes.erl | 13 +-
src/couch/src/couch_compaction_daemon.erl | 29 +-
src/couch/src/couch_db.erl | 134 +-
src/couch/src/couch_db_epi.erl | 5 +-
src/couch/src/couch_db_updater.erl | 108 +-
src/couch/src/couch_flags.erl | 135 ++
src/couch/src/couch_flags_config.erl | 288 ++++
src/couch/src/couch_httpd.erl | 17 +-
src/couch/src/couch_httpd_auth.erl | 2 +-
src/couch/src/couch_httpd_proxy.erl | 428 -----
src/couch/src/couch_httpd_vhost.erl | 16 +-
src/couch/src/couch_os_daemons.erl | 394 -----
src/couch/src/couch_proc_manager.erl | 72 +-
src/couch/src/couch_secondary_sup.erl | 32 +-
src/couch/src/couch_util.erl | 3 +-
.../couch_bt_engine_partition_downgrade_tests.erl | 86 +
src/couch/test/couch_flags_config_tests.erl | 116 ++
src/couch/test/couch_flags_tests.erl | 146 ++
src/couch/test/couchdb_db_tests.erl | 91 +
src/couch/test/couchdb_http_proxy_tests.erl | 456 -----
src/couch/test/couchdb_os_daemons_tests.erl | 259 ---
src/couch/test/couchdb_os_proc_pool.erl | 7 +-
src/couch/test/couchdb_update_conflicts_tests.erl | 64 +-
..._1_purge_req.couch => db_non_partitioned.couch} | Bin 12470 -> 12479 bytes
src/couch_epi/src/couch_epi.erl | 8 +-
src/couch_epi/src/couch_epi_data_gen.erl | 26 +-
src/couch_epi/src/couch_epi_plugin.erl | 5 +-
src/couch_mrview/src/couch_mrview.erl | 3 +
src/couch_mrview/src/couch_mrview_compactor.erl | 4 +-
src/couch_mrview/src/couch_mrview_test_util.erl | 13 +-
.../test/couch_mrview_design_docs_tests.erl | 136 ++
src/couch_replicator/src/couch_replicator.hrl | 3 +-
.../src/couch_replicator_auth_session.erl | 132 +-
.../src/couch_replicator_scheduler.erl | 18 +-
.../src/couch_replicator_scheduler_job.erl | 22 +-
...ch_replicator_retain_stats_between_job_runs.erl | 160 ++
src/ddoc_cache/src/ddoc_cache_entry.erl | 13 +-
src/ddoc_cache/test/ddoc_cache_basic_test.erl | 26 +-
src/ddoc_cache/test/ddoc_cache_disabled_test.erl | 10 +-
src/ddoc_cache/test/ddoc_cache_entry_test.erl | 18 +-
src/ddoc_cache/test/ddoc_cache_eviction_test.erl | 10 +-
src/ddoc_cache/test/ddoc_cache_lru_test.erl | 14 +-
src/ddoc_cache/test/ddoc_cache_open_error_test.erl | 6 +-
src/ddoc_cache/test/ddoc_cache_open_test.erl | 107 ++
src/ddoc_cache/test/ddoc_cache_refresh_test.erl | 16 +-
src/ddoc_cache/test/ddoc_cache_remove_test.erl | 14 +-
src/ddoc_cache/test/ddoc_cache_tutil.erl | 6 +
src/fabric/src/fabric.erl | 24 +-
...b_doc_count.erl => fabric_design_doc_count.erl} | 56 +-
src/fabric/src/fabric_rpc.erl | 64 +-
src/fabric/src/fabric_view_all_docs.erl | 36 +-
src/mango/Makefile | 56 -
src/mango/requirements.txt | 4 +
src/mango/src/mango_cursor_view.erl | 8 +-
src/mango/test/01-index-crud-test.py | 35 +
src/mango/test/02-basic-find-test.py | 2 +-
src/mango/test/04-key-tests.py | 14 +-
src/mango/test/06-basic-text-test.py | 4 +-
src/mango/test/15-execution-stats-test.py | 11 +-
src/mango/test/README.md | 8 +-
src/mango/test/mango.py | 8 +-
src/mem3/src/mem3_nodes.erl | 26 +-
src/mem3/src/mem3_rep.erl | 9 +-
src/mem3/src/mem3_rpc.erl | 13 +
src/mem3/src/mem3_seeds.erl | 162 ++
src/mem3/src/mem3_sup.erl | 1 +
src/mem3/src/mem3_sync.erl | 3 +
src/mem3/src/mem3_util.erl | 9 +
src/mem3/test/mem3_seeds_test.erl | 64 +
test/build/test-run-couch-for-mango.sh | 37 -
test/elixir/.formatter.exs | 6 +
test/elixir/.gitignore | 2 +
test/elixir/Makefile | 2 +
test/elixir/README.md | 104 ++
test/elixir/config/config.exs | 30 +
test/elixir/config/test.exs | 3 +
test/elixir/lib/couch.ex | 191 +++
test/elixir/mix.exs | 30 +
test/elixir/mix.lock | 5 +
test/elixir/run | 6 +
test/elixir/run.cmd | 7 +
test/elixir/test/all_docs_test.exs | 142 ++
test/elixir/test/basics_test.exs | 291 ++++
test/elixir/test/batch_save_test.exs | 42 +
test/elixir/test/bulk_docs_test.exs | 149 ++
test/elixir/test/coffee_test.exs | 68 +
test/elixir/test/compact_test.exs | 86 +
test/elixir/test/config_test.exs | 169 ++
test/elixir/test/conflicts_test.exs | 101 ++
.../tests => elixir/test/data}/lorem.txt | 0
.../tests => elixir/test/data}/lorem_b64.txt | 0
test/elixir/test/helper_test.exs | 31 +
test/elixir/test/large_docs_text.exs | 40 +
test/elixir/test/lots_of_docs_test.exs | 108 ++
test/elixir/test/reduce_test.exs | 511 ++++++
test/elixir/test/replication_test.exs | 1780 ++++++++++++++++++++
test/elixir/test/rewrite_test.exs | 342 ++++
test/elixir/test/security_validation_test.exs | 319 ++++
test/elixir/test/test_helper.exs | 264 +++
test/elixir/test/uuids_test.exs | 96 ++
test/elixir/test/view_collation_test.exs | 138 ++
test/javascript/run | 2 +-
test/javascript/tests/config.js | 3 -
test/javascript/tests/design_docs_query.js | 38 +-
version.mk | 2 +-
133 files changed, 7963 insertions(+), 2284 deletions(-)
copy rel/overlay/bin/couchdb.cmd => dev/run.cmd (52%)
create mode 100644 make.cmd
rename rel/{overlay/bin/couchdb.cmd => files/couchdb.cmd.in} (84%)
rename rel/{overlay/bin/couchdb => files/couchdb.in} (85%)
copy src/chttpd/test/{chttpd_db_bulk_get_test.erl =>
chttpd_db_bulk_get_multipart_test.erl} (77%)
create mode 100644 src/couch/src/couch_flags.erl
create mode 100644 src/couch/src/couch_flags_config.erl
delete mode 100644 src/couch/src/couch_httpd_proxy.erl
delete mode 100644 src/couch/src/couch_os_daemons.erl
create mode 100644 src/couch/test/couch_bt_engine_partition_downgrade_tests.erl
create mode 100644 src/couch/test/couch_flags_config_tests.erl
create mode 100644 src/couch/test/couch_flags_tests.erl
create mode 100644 src/couch/test/couchdb_db_tests.erl
delete mode 100644 src/couch/test/couchdb_http_proxy_tests.erl
delete mode 100644 src/couch/test/couchdb_os_daemons_tests.erl
copy src/couch/test/fixtures/{db_with_1_purge_req.couch =>
db_non_partitioned.couch} (87%)
create mode 100644 src/couch_mrview/test/couch_mrview_design_docs_tests.erl
create mode 100644
src/couch_replicator/test/couch_replicator_retain_stats_between_job_runs.erl
create mode 100644 src/ddoc_cache/test/ddoc_cache_open_test.erl
copy src/fabric/src/{fabric_db_doc_count.erl => fabric_design_doc_count.erl}
(61%)
delete mode 100644 src/mango/Makefile
create mode 100644 src/mango/requirements.txt
create mode 100644 src/mem3/src/mem3_seeds.erl
create mode 100644 src/mem3/test/mem3_seeds_test.erl
delete mode 100755 test/build/test-run-couch-for-mango.sh
create mode 100644 test/elixir/.formatter.exs
create mode 100644 test/elixir/.gitignore
create mode 100644 test/elixir/Makefile
create mode 100644 test/elixir/README.md
create mode 100644 test/elixir/config/config.exs
create mode 100644 test/elixir/config/test.exs
create mode 100644 test/elixir/lib/couch.ex
create mode 100644 test/elixir/mix.exs
create mode 100644 test/elixir/mix.lock
create mode 100755 test/elixir/run
create mode 100644 test/elixir/run.cmd
create mode 100644 test/elixir/test/all_docs_test.exs
create mode 100644 test/elixir/test/basics_test.exs
create mode 100644 test/elixir/test/batch_save_test.exs
create mode 100644 test/elixir/test/bulk_docs_test.exs
create mode 100644 test/elixir/test/coffee_test.exs
create mode 100644 test/elixir/test/compact_test.exs
create mode 100644 test/elixir/test/config_test.exs
create mode 100644 test/elixir/test/conflicts_test.exs
copy test/{javascript/tests => elixir/test/data}/lorem.txt (100%)
copy test/{javascript/tests => elixir/test/data}/lorem_b64.txt (100%)
create mode 100644 test/elixir/test/helper_test.exs
create mode 100644 test/elixir/test/large_docs_text.exs
create mode 100644 test/elixir/test/lots_of_docs_test.exs
create mode 100644 test/elixir/test/reduce_test.exs
create mode 100644 test/elixir/test/replication_test.exs
create mode 100644 test/elixir/test/rewrite_test.exs
create mode 100644 test/elixir/test/security_validation_test.exs
create mode 100644 test/elixir/test/test_helper.exs
create mode 100644 test/elixir/test/uuids_test.exs
create mode 100644 test/elixir/test/view_collation_test.exs