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 2026/03/18 23:25:32 UTC
(couchdb) branch main updated: Upgrade rebar3 and erlfmt
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/main by this push:
new 04ec067cf Upgrade rebar3 and erlfmt
04ec067cf is described below
commit 04ec067cfdd093be766e622562281a562a7eeef7
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Wed Mar 18 17:47:06 2026 -0400
Upgrade rebar3 and erlfmt
And also add pins to Windows' configure file well
---
configure | 4 ++--
configure.ps1 | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index 8292aecb7..97a05858f 100755
--- a/configure
+++ b/configure
@@ -21,8 +21,8 @@ basename=`basename $0`
PACKAGE_AUTHOR_NAME="The Apache Software Foundation"
-REBAR3_BRANCH="3.25.1"
-ERLFMT_VERSION="v1.7.0"
+REBAR3_BRANCH="3.27.0"
+ERLFMT_VERSION="v1.8.0"
# TEST=0
WITH_PROPER="true"
diff --git a/configure.ps1 b/configure.ps1
index 948a2414f..0ee95aa8b 100644
--- a/configure.ps1
+++ b/configure.ps1
@@ -141,6 +141,9 @@ If (-Not $DisableSpiderMonkey) {
}
}
+$Rebar3Branch="3.27.0"
+$ErlfmtVersion="v1.8.0"
+
# Translate ./configure variables to CouchDB variables
$PackageAuthorName="The Apache Software Foundation"
$InstallDir="$LibDir\couchdb"
@@ -292,7 +295,7 @@ if ($null -eq (Get-Command "rebar3.cmd" -ErrorAction SilentlyContinue))
Write-Verbose "==> rebar3.cmd not found; bootstrapping..."
if (-Not (Test-Path "src\rebar3"))
{
- git clone --depth 1 https://github.com/erlang/rebar3.git $rootdir\src\rebar3
+ git clone --depth 1 --branch $Rebar3Branch https://github.com/erlang/rebar3.git $rootdir\src\rebar3
}
Set-Location src\rebar3
.\bootstrap.ps1
@@ -309,7 +312,7 @@ if ($null -eq (Get-Command "erlfmt.cmd" -ErrorAction SilentlyContinue))
Write-Verbose "==> erlfmt.cmd not found; bootstrapping..."
if (-Not (Test-Path "src\erlfmt"))
{
- git clone --depth 1 https://github.com/WhatsApp/erlfmt.git $rootdir\src\erlfmt
+ git clone --depth 1 --branch $ErlfmtVersion https://github.com/WhatsApp/erlfmt.git $rootdir\src\erlfmt
}
Set-Location src\erlfmt
rebar3 as release escriptize