[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive c69d1dc386 103/163: Change: (h/install-in-progr
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive c69d1dc386 103/163: Change: (h/install-in-progress) Rename from h/install-in-progress-p |
Date: |
Fri, 31 May 2024 04:00:21 -0400 (EDT) |
branch: elpa/hyperdrive
commit c69d1dc386318c4d472c562e1c35424ab348f315
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Change: (h/install-in-progress) Rename from h/install-in-progress-p
---
hyperdrive-menu.el | 6 +++---
hyperdrive-vars.el | 2 +-
hyperdrive.el | 14 +++++++-------
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/hyperdrive-menu.el b/hyperdrive-menu.el
index 6c07145ef4..43c5dc5042 100644
--- a/hyperdrive-menu.el
+++ b/hyperdrive-menu.el
@@ -208,9 +208,9 @@
(propertize
(cond ((h//gateway-ready-p) "on")
((h/gateway-live-p) "starting")
- ((and (h/gateway-installed-p) h/install-in-progress-p)
+ ((and (h/gateway-installed-p) h/install-in-progress)
"upgrading")
- (h/install-in-progress-p "installing")
+ (h/install-in-progress "installing")
((h/gateway-installed-p) "off")
(t "not found"))
'face 'transient-value)))
@@ -238,7 +238,7 @@
((h/gateway-installed-p) "Reinstall")
(t "Install")))
:transient t
- :inapt-if-non-nil hyperdrive-install-in-progress-p)]
+ :inapt-if-non-nil hyperdrive-install-in-progress)]
["Bookmark"
("b j" "Jump" h/bookmark-jump)
("b l" "List" h/bookmark-list)
diff --git a/hyperdrive-vars.el b/hyperdrive-vars.el
index e2d0eb5eb6..8d68ba3537 100644
--- a/hyperdrive-vars.el
+++ b/hyperdrive-vars.el
@@ -376,7 +376,7 @@ If the version was unexpected,
(defvar h/gateway-process nil
"Hyper-gateway-ushin process.")
-(defvar h/install-in-progress-p nil
+(defvar h/install-in-progress nil
"Non-nil while hyperdrive is installing or upgrading the gateway.")
(defvar h//gateway-starting-timer nil
diff --git a/hyperdrive.el b/hyperdrive.el
index f19100e7b8..271134b938 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -107,13 +107,13 @@ which see."
((h/gateway-live-p)
(h/message "Gateway already starting."))
((and (not gateway-installed-p)
- (process-live-p h/install-in-progress-p))
+ (process-live-p h/install-in-progress))
(h/user-error "Gateway installation in-progress"))
((not gateway-installed-p)
(h/user-error "Gateway not installed; try \\[hyperdrive-install]"))
(t
(h/message
- (if hyperdrive-install-in-progress-p
+ (if hyperdrive-install-in-progress
"Gateway installation in-progress; starting old gateway
anyway."
"Starting gateway."))
(funcall h/gateway-start-function))))
@@ -1301,7 +1301,7 @@ Intended for relative (i.e. non-full) URLs."
"Download and install hyper-gateway-ushin.
If FORCEP, don't prompt for confirmation before downloading."
(interactive (list current-prefix-arg))
- (when (process-live-p h/install-in-progress-p)
+ (when (process-live-p h/install-in-progress)
(h/error "Installation of gateway already in progress"))
(unless forcep
(when (h/gateway-installed-p)
@@ -1314,7 +1314,7 @@ If FORCEP, don't prompt for confirmation before
downloading."
(pcase-let (((map :url :sha256) url-and-hash))
;; TODO: Prompt before downloading.
(download url sha256))
- (setf h/install-in-progress-p nil)
+ (setf h/install-in-progress nil)
(h/menu-refresh)
(h/error "Downloading failed; no more mirrors available")))
(head-size (url)
@@ -1322,7 +1322,7 @@ If FORCEP, don't prompt for confirmation before
downloading."
(cl-parse-integer
(alist-get 'content-length (plz-response-headers response)))))
(download (url sha256)
- (setf h/install-in-progress-p
+ (setf h/install-in-progress
(plz 'get url :as 'file :timeout nil
:then (lambda (filename)
(check filename sha256 url))
@@ -1357,7 +1357,7 @@ If FORCEP, don't prompt for confirmation before
downloading."
(mkdir h/gateway-directory t))
(rename-file file-name destination-name)
(chmod destination-name #o755))
- (setf h/install-in-progress-p nil)
+ (setf h/install-in-progress nil)
(h/menu-refresh)
(h/message "Gateway installed. Try \\[%s]"
(if (h//gateway-ready-p)
@@ -1369,7 +1369,7 @@ If FORCEP, don't prompt for confirmation before
downloading."
"Stop downloading/installing hyper-gateway-ushin."
(interactive)
(h/message "Cancelling install")
- (interrupt-process h/install-in-progress-p))
+ (interrupt-process h/install-in-progress))
(defun h/restart ()
"Restart the gateway."
- [nongnu] elpa/hyperdrive 21d111e8f9 054/163: Fix: h/gateway-version references, (continued)
- [nongnu] elpa/hyperdrive 21d111e8f9 054/163: Fix: h/gateway-version references, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive e8f72edbdd 059/163: Change: (hyperdrive-start) Error and suggest to install if not found, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 8c8b8dba7c 064/163: Change: (h//gateway-wait-for-ready) Improve error message, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive df1ff62c16 053/163: Fix: (h/gateway-start-function) Docstring, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive e3261cd98a 081/163: Fix: (h/install) Also refresh menu if install fails, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive e196edcacd 074/163: Change: (hyperdrive-menu) Make gateway commands sometimes inapt, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive f6371d1502 083/163: Notes: Update, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 58f441559e 086/163: Change: (h/install) Add message if hash comparison fails, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive ae646afc12 089/163: Change: (h/menu-refresh) Use transient--refresh-transient, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 733c60b72b 084/163: Change: (h/menu-bar-menu) Remove gateway status indicator, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive c69d1dc386 103/163: Change: (h/install-in-progress) Rename from h/install-in-progress-p,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 8928f52d58 106/163: Change: Use h/gateway-installing-p everywhere appropriate, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive d207209f1a 117/163: Change: (h/install) Clean up file if download canceled, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 098cf78760 116/163: Change: (h/install-process) Rename from h/install-in-progress, ELPA Syncer, 2024/05/31
- [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