aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-oracle-ef.sh
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 07:51:05 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 07:51:05 +0200
commit1f694889f767dedd84f60d8e0cbccf201c2d123f (patch)
tree0b8e85a1cf9dbce5f75a6ded538146ca8f1f389b /scripts/build-oracle-ef.sh
parentcca0eb0db6cf6850d55d7a44fef470c594bce8ec (diff)
downloadlectio-1f694889f767dedd84f60d8e0cbccf201c2d123f.tar.gz
lectio-1f694889f767dedd84f60d8e0cbccf201c2d123f.zip
feat(ef): full 1962 universal sanctoral (16 -> 317 celebrations)
Generate internal/caldata/tridentine-calendar.ini from missalemeum's per-date proper API (Divinum Officium 1962 data) via scripts/gen-sanctoral-ef.go: each fixed date's observed saint with rank, colour, English name and proper Epistle/Gospel citations, plus sancti commemorations. Multiple reference years are tried per date so a saint occulted by a Sunday in one year is still captured observed in another; saints never observed are ranked commemoration. Feasts of the Lord are marked class=lord. Latin names hand-curated (missalemeum has none). Adds TestTridentineLoads, credits missalemeum in NOTICE, bumps to 0.38.0.
Diffstat (limited to 'scripts/build-oracle-ef.sh')
-rwxr-xr-xscripts/build-oracle-ef.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build-oracle-ef.sh b/scripts/build-oracle-ef.sh
index 71174ae..2864551 100755
--- a/scripts/build-oracle-ef.sh
+++ b/scripts/build-oracle-ef.sh
@@ -26,9 +26,9 @@ done > "$work/dates"
fetch() {
local d="$1"
local j
- j=$(curl -sf "https://www.missalemeum.com/en/api/v5/proper/$d" || true)
+ j=$(curl -sf --max-time 25 "https://www.missalemeum.com/en/api/v5/proper/$d" || true)
printf '%s' "$j" | jq -c --arg d "$d" \
- '{($d): (.[0].info | {tempora:(.tempora // ""), title:.title, rank:.rank, colour:(.colors|join(""))})}' \
+ '{($d): (.[0].info | {id:(.id // ""), tempora:(.tempora // ""), title:.title, rank:.rank, colour:(.colors|join(""))})}' \
2>/dev/null || true
}
export -f fetch