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