You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "janl (via GitHub)" <gi...@apache.org> on 2025/10/04 11:19:57 UTC

[PR] feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports [couchdb]

janl opened a new pull request, #5687:
URL: https://github.com/apache/couchdb/pull/5687

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports [couchdb]

Posted by "janl (via GitHub)" <gi...@apache.org>.
janl commented on PR #5687:
URL: https://github.com/apache/couchdb/pull/5687#issuecomment-3632900996

   > Perfect, thank you. I noticed that the PR has not yet been merged — is there something more missing @janl ?
   
   I just kept missing the clear merge window :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports [couchdb]

Posted by "pgj (via GitHub)" <gi...@apache.org>.
pgj commented on PR #5687:
URL: https://github.com/apache/couchdb/pull/5687#issuecomment-3387279005

   Please forgive me but I do not see how this feature works?  There is no description for the pull request and the commit does not include an explanation.  I looked up the `uri_file` configuration setting in the documentation and I think I understand the motivation for pulling that file in, but where is that `.uri` file coming from?  Is this something that the user would need to add?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports [couchdb]

Posted by "janl (via GitHub)" <gi...@apache.org>.
janl commented on PR #5687:
URL: https://github.com/apache/couchdb/pull/5687#issuecomment-3533277135

   > Thanks for the explanation, it makes more sense now. I am now wondering how this file could be utilized in practice.
   
   When you start CouchDB with `[chttpd] port = 0` you leave the port selection to the kernel finding a free port. The .uri file then allows you to have a well-known place to find the endpoint that you can make HTTP connections to. Tests make use of this, e.g.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports [couchdb]

Posted by "pgj (via GitHub)" <gi...@apache.org>.
pgj commented on PR #5687:
URL: https://github.com/apache/couchdb/pull/5687#issuecomment-3552071034

   Perfect, thank you.  I noticed that the PR has not yet been merged — is there something more missing @janl ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports [couchdb]

Posted by "big-r81 (via GitHub)" <gi...@apache.org>.
big-r81 commented on PR #5687:
URL: https://github.com/apache/couchdb/pull/5687#issuecomment-3387526926

   Hi Gábor,
   
   this file is written by the chttpd supervisor, see https://github.com/apache/couchdb/blob/4244bf2be1c44140d94f40ab9789f127e321dbe9/src/chttpd/src/chttpd_sup.erl#L120.
   
   Of course, the description of the PR could be more verbose 😉.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports [couchdb]

Posted by "pgj (via GitHub)" <gi...@apache.org>.
pgj commented on PR #5687:
URL: https://github.com/apache/couchdb/pull/5687#issuecomment-3396158752

   Thanks for the explanation, it makes more sense now.  I am now wondering how this file could be utilized in practice.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports [couchdb]

Posted by "janl (via GitHub)" <gi...@apache.org>.
janl merged PR #5687:
URL: https://github.com/apache/couchdb/pull/5687


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org