You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2023/03/16 12:40:38 UTC

[couchdb] branch migrate-with-proper-and-erlang-md5-to-windows updated (9f0ecf3b6 -> d44fd902a)

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

ronny pushed a change to branch migrate-with-proper-and-erlang-md5-to-windows
in repository https://gitbox.apache.org/repos/asf/couchdb.git


 discard 9f0ecf3b6 Migrate configure settings to Windows
    omit 9ba54002d Improve couch_js_tests
     new d44fd902a Migrate configure settings to Windows

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (9f0ecf3b6)
            \
             N -- N -- N   refs/heads/migrate-with-proper-and-erlang-md5-to-windows (d44fd902a)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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.


Summary of changes:
 src/couch/test/eunit/couch_js_tests.erl | 171 +++++++++++---------------------
 1 file changed, 60 insertions(+), 111 deletions(-)


[couchdb] 01/01: Migrate configure settings to Windows

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

ronny pushed a commit to branch migrate-with-proper-and-erlang-md5-to-windows
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit d44fd902a7fe3cd4606afe62a8c6721967345b0e
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Thu Mar 16 13:39:48 2023 +0100

    Migrate configure settings to Windows
    
    Migrate the settings `with_proper` and `erlang_md5` to `configure.ps1`
    to add it to `config.erl`.
---
 configure.ps1 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ps1 b/configure.ps1
index 0fe92ed1e..825cd13e3 100644
--- a/configure.ps1
+++ b/configure.ps1
@@ -44,6 +44,8 @@ Param(
     [switch]$DisableFauxton = $false, # do not build Fauxton
     [switch]$DisableDocs = $false, # do not build any documentation or manpages
     [switch]$SkipDeps = $false, # do not update erlang dependencies
+    [switch]$DisableProper = $false, # a compilation pragma. proper is a kind of automated test suite
+    [switch]$EnableErlangMD5 = $false, # don't use Erlang for md5 hash operations by default
 
     [ValidateNotNullOrEmpty()]
     [string]$CouchDBUser = [Environment]::UserName, # set the username to run as (defaults to current user)
@@ -126,6 +128,8 @@ $LogFile="$LogDir\couch.log"
 $BuildFauxton = [int](-not $DisableFauxton)
 $BuildDocs = [int](-not $DisableDocs)
 $Hostname = [System.Net.Dns]::GetHostEntry([string]"localhost").HostName
+$WithProper = (-not $($DisableProper.IsPresent)).ToString().ToLower()
+$ErlangMD5 = ($EnableErlangMD5.IsPresent).ToString().ToLower()
 
 Write-Verbose "==> configuring couchdb in rel\couchdb.config"
 $CouchDBConfig = @"
@@ -199,6 +203,8 @@ spidermonkey_version = $SpiderMonkeyVersion
 $InstallMk | Out-File "$rootdir\install.mk" -encoding ascii
 
 $ConfigERL = @"
+{with_proper, $WithProper}.
+{erlang_md5, $ErlangMD5}.
 {spidermonkey_version, "$SpiderMonkeyVersion"}.
 "@
 $ConfigERL | Out-File "$rootdir\config.erl" -encoding ascii