← Back to Pull requests

Update mirroring best practices #300

Merged
cpeel merged 2 files (126 lines) on May 27, 2026 17:10 UTC
View on GitHub
cpeel cpeel commented on May 25, 2026 21:57 UTC
Author

This revamps and clarifies our mirror content and best practices for using our (PGLAF & ibiblio) mirrors and creating a public one. The content has been restructured a bit to discuss the collections separately from the rsync details they were embedded in.

Diff: 126 lines (+73 / -53) across 2 files Reviewer: eshellman Review duration: 2592m
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.33) × (1 − Review Confidence (0.74)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 126 lines diff across 2 files
0.33
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.52 · 1 substantive comment(s)
0.52
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
74%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.290
Real PR Conversation Timeline
3 items
eshellman eshellman commented on code on May 27, 2026 16:02 UTC
Code Review
site/help/mirroring.md:1
@@ -25,67 +26,86 @@ Mirroring How-To
 ## Connectivity
 Our experience has been that a static IP address and T1 (~1.5Mb symmetric) or faster permanent network connection is minimal for a public mirror. (Of course, you can build a private mirror with a DSL or cable modem, but sharing it with the world requires a somewhat higher bandwidth.)
 
-See files "du-sk" and "ls-R" in the top-level directory for the current collection size and number of files. New eBooks are added almost every day, so it's desirable to mirror nightly. There are around 2 million files, over 60 languages, and dozens of different file formats. You may opt to mirror only the zip files or to leave out the audio files, or other variations. The rsync "--exclude" option may be used for this. 
+## Collections and Metadata
+We offer two distinct collections:
+- the "main" collection consists of our manually curated HTML and plain text files, their zip archives, and audio files
+- the "generated" collection includes EPUB and MOBI (a.k.a., Kindle) files, generated HTML, and more automatically generated files
 
-## Software
-We recommend that you use *rsync*. The wget and cURL tools are not suitable, because they need to look at all files just to get the ones that were updated recently. Rsync is available for all Unix-like systems (including MacOS), and is part of Cygwin for Windows.
+Information about each collection size is available in the [metadata.json](//www.gutenberg.org/dirs/metadata.json) file at the base of the main collection. There are around 6 million files, over 60 languages, and dozens of different file formats. If creating a private mirror, you may opt to mirror only the zip files or to leave out the audio files, or other variations. The rsync "--exclude" option may be used for this.

Information about each collection size is available in the [metadata.json](//www.gutenberg.org/dirs/metadata.json) file at the base of the main collection. There are around 6 million files, over 60 languages, and dozens of different file formats. If creating a private mirror, you may opt to mirror only the zip files or to leave out the audio files, or other variations. The rsync `--exclude` option may be used for this.

It seems that jekyll renders -- as - in plain text

eshellman eshellman requested changes on May 27, 2026 16:04 UTC
Changes Requested Reviewer

looks great. only one correction relaated to jekyll rendering

Reviewers
Assignees
cpeel cpeel
Labels
risk: low confidence: 74.1% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 33.4% (LOW) · Higher = larger blast radius
33.4%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 74.1% · Lower = rushed or shallow review
74.1%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 8.7% · Safe to merge
8.7%