quak get and get-thumb stop fetching collections once they find the file (closes #222)
check / check (push) Waiting to run
check / check (push) Waiting to run
`quak get` and `quak get-thumb` used to wait for a full refresh, which on an empty cache fetched the files of every collection. `freshFile` now reads the collection list, then one collection's files at a time, and stops at the first that holds the file. It tries first the collections the cache says hold the file, and stores nothing. The commands fetch the content through the new `Library.originalOf()` and `Library.thumbnailOf()`, which take the file record itself, since the store may not hold it. They no longer print a refresh's progress lines. The `-q` test that relied on `get` refreshing now runs `helper fix-missing-thumbnails`. Model: opus-5-5
This commit is contained in:
@@ -26,6 +26,14 @@ declares one.
|
||||
|
||||
# Completed Steps
|
||||
|
||||
- 2026-10-26: `quak get` and `quak get-thumb` stop fetching collections' files
|
||||
once they find the file (https://git.eeqj.de/sneak/quak/issues/222). They used
|
||||
to wait for a refresh, which on an empty cache fetched the files of every
|
||||
collection. They now read the collection list, then one collection's files at
|
||||
a time, first those the cache says hold the file. They store nothing they
|
||||
read, and fetch the file through the new `lib.originalOf()` and
|
||||
`lib.thumbnailOf()`.
|
||||
|
||||
- 2026-10-26: `quak files` with a collection ID fetches that collection's files
|
||||
alone (https://git.eeqj.de/sneak/quak/issues/217). It used to wait for a
|
||||
refresh, which on an empty cache fetched the files of every collection. It now
|
||||
|
||||
Reference in New Issue
Block a user