`make install` runs `make build-bin`, which runs bun through `nix-shell -p bun`, so on a machine without nix it stops with `nix-shell: not found`, and the README named no such prerequisite. Getting Started now says what its commands need and that `make install` also needs nix, with a link to its download page. "Running the backup from cron" says the same where it introduces `make install`, and that a bun already installed does not help. The Makefile is unchanged, as the plan on the issue decided. TODO.md's Next Step names the four bugs that are open instead of saying none is. Judgement call: "node 22 or later" is the `engines` entry in package.json. Model: opus-5-5
This commit is contained in:
@@ -19,6 +19,10 @@ encrypting and uploading them back to the server.
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
|
The commands below need git, node 22 or later, and yarn. `make install`, which
|
||||||
|
builds the single binary that "Running the backup from cron" uses, also needs
|
||||||
|
[nix](https://nixos.org/download).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.eeqj.de/sneak/quak.git
|
git clone https://git.eeqj.de/sneak/quak.git
|
||||||
cd quak
|
cd quak
|
||||||
@@ -86,9 +90,12 @@ enumeration/download calls) is exported too and documented under Design below.
|
|||||||
## Running the backup from cron
|
## Running the backup from cron
|
||||||
|
|
||||||
`quak backup` never prompts, so cron can run it. `make install` builds quak as a
|
`quak backup` never prompts, so cron can run it. `make install` builds quak as a
|
||||||
single binary and copies it to `~/bin/quak`. Log in once with it, as the user
|
single binary and copies it to `~/bin/quak`. Besides what Getting Started needs,
|
||||||
the cron job will run as; the session is saved in that user's data directory
|
it needs [nix](https://nixos.org/download), even where bun is already installed:
|
||||||
(see "Session handling"):
|
`make install` runs `make build-bin`, which bundles the built `dist/` with bun
|
||||||
|
run through `nix-shell -p bun`. Log in once with `~/bin/quak`, as the user the
|
||||||
|
cron job will run as; the session is saved in that user's data directory (see
|
||||||
|
"Session handling"):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
~/bin/quak login
|
~/bin/quak login
|
||||||
|
|||||||
@@ -17,7 +17,10 @@ pre-1.0
|
|||||||
|
|
||||||
# Next Step
|
# Next Step
|
||||||
|
|
||||||
None: no implementation work is open. The check of quak against a live Ente
|
Four bugs are open: https://git.eeqj.de/sneak/quak/issues/196,
|
||||||
|
https://git.eeqj.de/sneak/quak/issues/197,
|
||||||
|
https://git.eeqj.de/sneak/quak/issues/198 and
|
||||||
|
https://git.eeqj.de/sneak/quak/issues/199. The check of quak against a live Ente
|
||||||
account, https://git.eeqj.de/sneak/quak/issues/187, needs an account only sneak
|
account, https://git.eeqj.de/sneak/quak/issues/187, needs an account only sneak
|
||||||
has, so it waits on him.
|
has, so it waits on him.
|
||||||
|
|
||||||
@@ -26,6 +29,10 @@ declares one.
|
|||||||
|
|
||||||
# Completed Steps
|
# Completed Steps
|
||||||
|
|
||||||
|
- 2026-10-15: The README says that `make install` needs nix (issue 200), in
|
||||||
|
Getting Started and in "Running the backup from cron": `make build-bin` runs
|
||||||
|
bun through `nix-shell -p bun`. The `Makefile` is unchanged.
|
||||||
|
|
||||||
- 2026-10-14: `lib.backup()`, and so `quak backup`, works on up to the content
|
- 2026-10-14: `lib.backup()`, and so `quak backup`, works on up to the content
|
||||||
pool's limit of originals at once, 5 by default, instead of one at a time
|
pool's limit of originals at once, 5 by default, instead of one at a time
|
||||||
(issue 182). That many workers take files from one shared list, each doing all
|
(issue 182). That many workers take files from one shared list, each doing all
|
||||||
|
|||||||
Reference in New Issue
Block a user