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

jan pushed a commit to branch feat/dev-with-uri-file
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 52633746d666960941e587a9fea2237d2c3a5c3f
Author: Jan Lehnardt <[email protected]>
AuthorDate: Sat Oct 4 13:19:27 2025 +0200

    feat(dev/run): write couch_uri files so ports are discoverable with 
--auto-ports option
---
 dev/run | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev/run b/dev/run
index 478fb2ae9..224d6ed1c 100755
--- a/dev/run
+++ b/dev/run
@@ -813,6 +813,13 @@ def hack_default_ini(ctx, node, contents):
         flags=re.MULTILINE,
     )
 
+    contents = re.sub(
+        r"^;uri_file =$",
+        "uri_file = ./dev/lib/{}/couch.uri".format(node),
+        contents,
+        flags=re.MULTILINE
+    )
+
     if ctx["enable_erlang_views"]:
         contents = re.sub(
             r"^\[native_query_servers\]$",

Reply via email to