the README examples must not depend on a fetched menaion

The checker isolated XDG_CONFIG_HOME and not XDG_DATA_HOME, so the two
Ruthenian examples were verified against the MCI menaion this machine has
fetched and CI does not. They passed here and failed there, which is the
checker working: a reader running them after a fresh install gets the common
menologion, and that is what the README now shows.

Both examples still make their point. The commemorations are worded
differently; the fast, the obligations and the contrast between them are
identical either way.
This commit is contained in:
funkpower
2026-09-18 14:03:46 -04:00
parent 0e8ffcebf1
commit d4750ca814
2 changed files with 9 additions and 5 deletions
+5 -1
View File
@@ -51,9 +51,13 @@ def main():
print(f" {BINARY} not built; run cargo build --release", file=sys.stderr)
return 77
env = dict(os.environ, COLUMNS="88")
# The examples must not depend on whatever this machine remembers.
# The examples must not depend on whatever this machine remembers, nor on
# a menaion this machine happens to have fetched. A reader running them
# after a fresh install has neither, and the README should show what they
# get: without this the Ruthenian examples passed here and failed in CI.
env.pop("TYPIKON_JURISDICTION", None)
env["XDG_CONFIG_HOME"] = str(ROOT / "target" / "readme-config")
env["XDG_DATA_HOME"] = str(ROOT / "target" / "readme-data")
text = (ROOT / "README.md").read_text(encoding="utf-8")
checked = bad = skipped = 0