mirror of
https://git.pumpin.online/funkpower/typikon.git
synced 2026-10-22 18:57:13 +00:00
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:
@@ -225,8 +225,8 @@ $ typikon -j ruthenian --no-typikon --days 4 --date 2026-02-16
|
||||
|
||||
🥬 Mon 16 Feb* no meat, fish, eggs or dairy Clean Monday — the first day of the…
|
||||
🥬 Tue 17 Feb no meat, fish, eggs or dairy The Holy Great Martyr Theodore the…
|
||||
🥬 Wed 18 Feb* no meat, fish, eggs or dairy Our Holy Father Leo, Pope of Rome (461)
|
||||
🥬 Thu 19 Feb no meat, fish, eggs or dairy The Holy Apostle Archippus
|
||||
🥬 Wed 18 Feb* no meat, fish, eggs or dairy Our Holy Father Leo the Great, Pope…
|
||||
🥬 Thu 19 Feb no meat, fish, eggs or dairy The Holy Apostles Archippus and…
|
||||
|
||||
* obligatory. Everything unmarked is customary and does not bind.
|
||||
```
|
||||
@@ -240,8 +240,8 @@ $ typikon -j ruthenian --typikon --days 4 --date 2026-02-16
|
||||
|
||||
⛔ Mon 16 Feb* no food until evening Clean Monday — the first day of the…
|
||||
🫒 Tue 17 Feb wine and oil permitted The Holy Great Martyr Theodore the…
|
||||
🥬 Wed 18 Feb* xerophagy — no oil or wine Our Holy Father Leo, Pope of Rome (461)
|
||||
🥬 Thu 19 Feb xerophagy — no oil or wine The Holy Apostle Archippus
|
||||
🥬 Wed 18 Feb* xerophagy — no oil or wine Our Holy Father Leo the Great, Pope…
|
||||
🥬 Thu 19 Feb xerophagy — no oil or wine The Holy Apostles Archippus and…
|
||||
|
||||
* obligatory. Everything unmarked is customary and does not bind.
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user