[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 08bd15b54d 28/42: Fix: (h/seed-url) Fill disk u
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 08bd15b54d 28/42: Fix: (h/seed-url) Fill disk usage after getting URL |
Date: |
Wed, 19 Jun 2024 19:00:02 -0400 (EDT) |
branch: elpa/hyperdrive
commit 08bd15b54d1bee1fb3f0fd5890ac6d85da91cda1
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Fix: (h/seed-url) Fill disk usage after getting URL
While it's possible to fill this data in only a single request, I
think the semantic clarity of calling h/fill explicitly is worth the
negligible performance hit of making an additional HEAD request.
---
hyperdrive-lib.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 30181dc6c0..157f70231d 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1351,9 +1351,7 @@ hyperdrive."
(h/api 'get (format "hyper://localhost/?key=%s"
(url-hexify-string seed))
:as 'response :noquery t)))
- ;; TODO: Update hyperdrive disk-usage. The following doesn't work
- ;; because the response doesn't have the proper ETag header:
- ;; (he//fill (h/url-entry url) headers)
+ (h/fill (h/url-entry url))
url)
(plz-error (if (= 400 (plz-response-status (plz-error-response (caddr
err))))
;; FIXME: If plz-error is a curl-error, this block will
fail.
- [nongnu] elpa/hyperdrive 28d51a621b 17/42: Comment: TODO, (continued)
- [nongnu] elpa/hyperdrive 28d51a621b 17/42: Comment: TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 257c361e03 21/42: Change: (he//fill) Rename from h//fill, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 21fa46a869 24/42: Comment: Add TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 2b3bf323a0 08/42: Change: (he/api) Always use :as 'response, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 36b0293cdd 11/42: Change: (h/write) Use he/api, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive a4d190a7bb 16/42: Comment: Add TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 9f07c4588e 18/42: Change: (he/api) Fill latest version, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive b09916654d 19/42: Comment: Add TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 78e8eda8e9 20/42: Change: (he/fill) Rename from h/fill, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 57850eef88 25/42: Comment: Remove incorrect comment, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 08bd15b54d 28/42: Fix: (h/seed-url) Fill disk usage after getting URL,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 84dd364b74 29/42: Change: (he//fill) Don't fill hyperdrive disk-usage, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive ab8cd67c8a 32/42: Remove: (h//fill) Unused function; move TODO comment, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive c3e9bc5e0a 35/42: Comment: Remove TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 11641c2d4f 34/42: Change: (he/api) Set ENTRY hyperdrive writablep slot, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 4fc73deeb4 36/42: Fix: (he/fill) Docstring, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 17666ebbbc 40/42: Fix: (h/url-loader) Add temporary hack for EWW, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive f044f39bf8 41/42: Tidy: Docstring, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 79541d4aab 42/42: Merge: (he/api) Consolidate hyperdrive filling logic into callback, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 167373402a 07/42: Comment: Add TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive c15b3ee54c 09/42: Change: Remove :as 'response from calls to he/api, ELPA Syncer, 2024/06/19