Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6812b01c5 | ||
|
|
da97d4b35c |
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"monorepoCommit": "e33714a5ca38429d1bdb77a961a14461697944f5",
|
||||
"monorepoCommit": "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9",
|
||||
"sourcePath": "examples/local-first/packages/gutenberg-runtime"
|
||||
}
|
||||
|
||||
@@ -9,15 +9,11 @@ text authoring keeps its own independent state.
|
||||
|
||||
## Catalog and downloads
|
||||
|
||||
`catalog.csv.gz` contains the reviewed September 30, 2026 snapshot of
|
||||
Gutenberg's machine-readable CSV. Its SHA-256 is
|
||||
`62a53fdce11252795b8f247d4cdb51d100a2cf4856a716ff59d53959ad1c19c3`.
|
||||
`flake.nix` pins Gutenberg's compressed machine-readable CSV by SHA-256.
|
||||
The build parses text editions and bundles the index into the service. Fuzzy
|
||||
search over titles/authors reads that index without contacting Gutenberg.
|
||||
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.
|
||||
Update the CSV hash deliberately and repin workspace resources when refreshing
|
||||
it. A changed upstream catalog cannot silently change an existing build.
|
||||
|
||||
Book text is requested when a user opens a result, from the
|
||||
[listed generated-files mirror](https://www.gutenberg.org/dirs/MIRRORS.ALL)
|
||||
|
||||
Binary file not shown.
@@ -24,9 +24,10 @@
|
||||
context:
|
||||
let
|
||||
pkgs = camino.packageSet { inherit nixpkgs system context; };
|
||||
# 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;
|
||||
catalog = pkgs.fetchurl {
|
||||
url = "https://www.gutenberg.org/cache/epub/feeds/pg_catalog.csv.gz";
|
||||
sha256 = "62a53fdce11252795b8f247d4cdb51d100a2cf4856a716ff59d53959ad1c19c3";
|
||||
};
|
||||
source =
|
||||
pkgs.runCommand "gutenberg-source"
|
||||
{
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
quixos-lock version 1 {
|
||||
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"; }
|
||||
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"; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user