You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2023/10/24 04:27:51 UTC

[couchdb] branch update-proper created (now 4ac02865d)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch update-proper
in repository https://gitbox.apache.org/repos/asf/couchdb.git


      at 4ac02865d When running configure in a dist skip proper is not present

This branch includes the following new commits:

     new 110552d1c Update proper to latest commit
     new 3c12b32d3 Fix missing eunit include
     new 4ac02865d When running configure in a dist skip proper is not present

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 02/03: Fix missing eunit include

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch update-proper
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 3c12b32d3c721d6316df8ed234db3b33252b0e0f
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Tue Oct 24 00:22:11 2023 -0400

    Fix missing eunit include
    
    The else part of the ifdef needs the eunit include file as well, otherwise the
    eunit-only tests won't run in that module.
---
 src/couch/test/eunit/couch_ejson_compare_tests.erl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/couch/test/eunit/couch_ejson_compare_tests.erl b/src/couch/test/eunit/couch_ejson_compare_tests.erl
index ae4a5ff7c..df982c12c 100644
--- a/src/couch/test/eunit/couch_ejson_compare_tests.erl
+++ b/src/couch/test/eunit/couch_ejson_compare_tests.erl
@@ -163,6 +163,10 @@ zero_width_list() ->
 zero_width_chars() ->
     oneof([16#200B, 16#200C, 16#200D]).
 
+-else.
+
+-include_lib("couch/include/couch_eunit.hrl").
+
 -endif.
 
 % Regular EUnit tests


[couchdb] 03/03: When running configure in a dist skip proper is not present

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch update-proper
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 4ac02865defae93737ee56feb3acc7b2ac6c8825
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Tue Oct 24 00:23:57 2023 -0400

    When running configure in a dist skip proper is not present
    
    This avoids needing to specify --without-proper when building the distribution
    and also specifying the same option when configuring it later.
---
 configure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index f90bfce77..df363df73 100755
--- a/configure
+++ b/configure
@@ -241,6 +241,11 @@ if [ "${ERLANG_OS}" = "unix" ]; then
     fi
 fi
 
+# If we're in a release tarball and we don't have proper, then mark it as skipped
+if [ ! -d .git ] && [ "$WITH_PROPER" = "true" ] && [ ! -d src/proper ]; then
+    WITH_PROPER="false"
+fi
+
 echo "==> configuring couchdb in rel/couchdb.config"
 cat > rel/couchdb.config << EOF
 % Licensed under the Apache License, Version 2.0 (the "License"); you may not


[couchdb] 01/03: Update proper to latest commit

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch update-proper
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 110552d1caa4ed1c32deafd1fec6a594546f42fd
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Tue Oct 24 00:20:45 2023 -0400

    Update proper to latest commit
---
 rebar.config.script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rebar.config.script b/rebar.config.script
index 60bad79b2..38d7e44f6 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -164,7 +164,7 @@ WithProper = lists:keyfind(with_proper, 1, CouchConfig) == {with_proper, true}.
 
 OptionalDeps = case WithProper of
     true ->
-        [{proper, {url, "https://github.com/proper-testing/proper"}, "def84f172df92635cc62f3356e3e7ad054638eb4"}];
+        [{proper, {url, "https://github.com/proper-testing/proper"}, "a5ae5669f01143b0828fc21667d4f5e344aa760b"}];
     false ->
         []
 end.