[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 570926de88 137/163: Change: (h/gateway-port) Re
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 570926de88 137/163: Change: (h/gateway-port) Rename from h/hyper-gateway-ushin-port |
Date: |
Fri, 31 May 2024 04:00:27 -0400 (EDT) |
branch: elpa/hyperdrive
commit 570926de881e808939029be01307fb54f931d69a
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Change: (h/gateway-port) Rename from h/hyper-gateway-ushin-port
---
doc/hyperdrive.org | 2 +-
doc/hyperdrive.texi | 2 +-
hyperdrive-lib.el | 8 ++++----
hyperdrive-vars.el | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/hyperdrive.org b/doc/hyperdrive.org
index 8c8e2577ed..3da3e83c97 100644
--- a/doc/hyperdrive.org
+++ b/doc/hyperdrive.org
@@ -1062,7 +1062,7 @@ DNS domains are checked for suspicious characters (see
You can adjust the following options in the customization interface by
running ~M-x customize-group RET hyperdrive RET~:
-- User Option: hyperdrive-hyper-gateway-ushin-port ::
+- User Option: hyperdrive-gateway-port ::
~hyperdrive.el~ will send HTTP requests to ~hyper-gateway-ushin~ on this
port.
Defaults to ~4973~.
diff --git a/doc/hyperdrive.texi b/doc/hyperdrive.texi
index f7260fdfe7..c724c7b9a0 100644
--- a/doc/hyperdrive.texi
+++ b/doc/hyperdrive.texi
@@ -1463,7 +1463,7 @@ DNS domains are checked for suspicious characters (see
You can adjust the following options in the customization interface by
running @code{M-x customize-group RET hyperdrive RET}:
-@defopt hyperdrive-hyper-gateway-ushin-port
+@defopt hyperdrive-gateway-port
@code{hyperdrive.el} will send HTTP requests to @code{hyper-gateway-ushin} on
this port.
Defaults to @code{4973}.
@end defopt
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 09e88fe8a9..fe1556717a 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -154,7 +154,7 @@ See `hyperdrive-directory-sort' for the type of DIRECTION."
Calls `hyperdrive--httpify-url' to convert HYPER-URL starting
with `hyperdrive--hyper-prefix' to a URL starting with
\"http://localhost:4973/hyper/\" (assuming that
-`hyperdrive-hyper-gateway-ushin-port' is \"4973\").
+`hyperdrive-gateway-port' is \"4973\").
REST is passed to `plz', which see.
@@ -220,7 +220,7 @@ this function."
"Return the name and version number of gateway as a plist.
If it's not running, signal an error."
(condition-case err
- (pcase-let* ((url (format "http://localhost:%d/"
h/hyper-gateway-ushin-port))
+ (pcase-let* ((url (format "http://localhost:%d/" h/gateway-port))
((map name version) (plz 'get url :as #'json-read)))
(list :name name :version version))
(plz-error (h/api-default-else nil (caddr err)))))
@@ -246,7 +246,7 @@ PLZ-ERR should be a `plz-error' struct."
(defun h//httpify-url (url)
"Return localhost HTTP URL for HYPER-URL."
(format "http://localhost:%d/hyper/%s"
- h/hyper-gateway-ushin-port
+ h/gateway-port
(substring url (length h//hyper-prefix))))
(cl-defun h//write (url &key body then else queue)
@@ -1498,7 +1498,7 @@ process is running."
"Return non-nil if the gateway is running and accessible.
Times out after 2 seconds."
(ignore-errors
- (plz 'get (format "http://localhost:%d/" h/hyper-gateway-ushin-port)
+ (plz 'get (format "http://localhost:%d/" h/gateway-port)
:connect-timeout 2 :timeout 2)))
(defun h//gateway-wait-for-ready ()
diff --git a/hyperdrive-vars.el b/hyperdrive-vars.el
index 4ffaa2d2ca..cbbe809abd 100644
--- a/hyperdrive-vars.el
+++ b/hyperdrive-vars.el
@@ -38,9 +38,9 @@
:group 'external
:prefix "hyperdrive-")
-(defalias 'hyperdrive-hyper-gateway-port 'hyperdrive-hyper-gateway-ushin-port
+(defalias 'hyperdrive-hyper-gateway-port 'hyperdrive-gateway-port
"Renamed in hyperdrive.el v0.4.0 to reflect update to hyper-gateway-ushin.")
-(defcustom h/hyper-gateway-ushin-port 4973
+(defcustom h/gateway-port 4973
"Port to use to send requests to the hyper-gateway-ushin server."
:type 'natnum)
- [nongnu] elpa/hyperdrive b218ff9cc7 119/163: Change: (h/install) Delete downloaded file if hash doesn't match, (continued)
- [nongnu] elpa/hyperdrive b218ff9cc7 119/163: Change: (h/install) Delete downloaded file if hash doesn't match, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 50dda235ca 114/163: Change: Use h/user-error instead of user-error everywhere, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 843d634570 120/163: Comment: Remove TODO, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive f217cfeccf 122/163: Notes: Update, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 56aa3e7c25 125/163: Comment: Remove TODO, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive e8f824d91f 124/163: Change: (h//hyper-gateway-ushin-path) Remove process check, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 8700e9abcc 130/163: Tidy: (hyperdrive-install) Consolidate let-bindings, reduce nesting, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 12142046dd 132/163: Change: (h/menu) Move "Install"/"Cancel install" to top of section, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 7e3b3d2a56 123/163: Fix: (h/install) Use make-temp-name, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 0b2b10f165 133/163: Add: (h/gateway-needs-upgrade-p) Predicate function, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 570926de88 137/163: Change: (h/gateway-port) Rename from h/hyper-gateway-ushin-port,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 943d624839 140/163: Tidy: Say "the gateway" instead of "hyper-gateway-ushin", ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 2d9a393e34 141/163: Docs: TODO, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 0080393384 147/163: Change: (h/menu-bar-menu) Add :active to menu bar stop/version, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 30943e9b8d 150/163: Docs: Document changes, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 5d44ead339 157/163: Change: (h/install) Prompt with size before downloading, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 3e1b496781 155/163: Fix: (hyperdrive-install) Variable, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 877d784815 159/163: Comment: Update TODO, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 7ecfc8e8c2 151/163: Docs: Update Troubleshooting section, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 5dbf46f7a3 160/163: Merge: Add h/install command, refactor gateway customization, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive e4788eef52 163/163: Fix: (CHANGELOG) Installation instructions, ELPA Syncer, 2024/05/31