5 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{
"monorepoCommit": "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9",
"monorepoCommit": "e33714a5ca38429d1bdb77a961a14461697944f5",
"sourcePath": "examples/local-first/packages/gutenberg-runtime"
}
+7 -3
View File
@@ -9,11 +9,15 @@ text authoring keeps its own independent state.
## Catalog and downloads
`flake.nix` pins Gutenberg's compressed machine-readable CSV by SHA-256.
`catalog.csv.gz` contains the reviewed September 30, 2026 snapshot of
Gutenberg's machine-readable CSV. Its SHA-256 is
`62a53fdce11252795b8f247d4cdb51d100a2cf4856a716ff59d53959ad1c19c3`.
The build parses text editions and bundles the index into the service. Fuzzy
search over titles/authors reads that index without contacting Gutenberg.
Update the CSV hash deliberately and repin workspace resources when refreshing
it. A changed upstream catalog cannot silently change an existing build.
Replace the snapshot deliberately and repin workspace resources when refreshing
it. The daily feed is not a build-time dependency: older source revisions must
remain buildable even after it changes. The index builder checks coverage and
representative titles before accepting a snapshot.
Book text is requested when a user opens a result, from the
[listed generated-files mirror](https://www.gutenberg.org/dirs/MIRRORS.ALL)
BIN
View File
Binary file not shown.
+3 -4
View File
@@ -24,10 +24,9 @@
context:
let
pkgs = camino.packageSet { inherit nixpkgs system context; };
catalog = pkgs.fetchurl {
url = "https://www.gutenberg.org/cache/epub/feeds/pg_catalog.csv.gz";
sha256 = "62a53fdce11252795b8f247d4cdb51d100a2cf4856a716ff59d53959ad1c19c3";
};
# Gutenberg regenerates its feed daily. Keep the reviewed bytes in
# the source revision so a clean machine can still build old pins.
catalog = ./catalog.csv.gz;
source =
pkgs.runCommand "gutenberg-source"
{
+2 -2
View File
@@ -1,4 +1,4 @@
quixos-lock version 1 {
quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9"; }
interface GutenbergCatalog source { repository "https://repos.quixos.org/quixos-templates/interface-gutenberg-catalog.git"; commit "8f5661caa8b6a4abb5bc85c88f1c3843a4c92f38"; }
quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "e33714a5ca38429d1bdb77a961a14461697944f5"; }
interface GutenbergCatalog source { repository "https://repos.quixos.org/quixos-templates/interface-gutenberg-catalog.git"; commit "fe89f54e3970449dc3339d3b85b46a4b55b90a30"; }
}