<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lectio.git/internal/cli/liturgy_test.go, branch v0.45.0</title>
<subtitle>offline Catholic daily readings and liturgical calendar in Go, with CLI, TUI and web clients</subtitle>
<id>https://git.labunix.xyz/lectio.git/atom?h=v0.45.0</id>
<link rel='self' href='https://git.labunix.xyz/lectio.git/atom?h=v0.45.0'/>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/lectio.git/'/>
<updated>2026-07-29T09:46:17Z</updated>
<entry>
<title>test(bible): skip corpus-dependent tests when optional corpora aren't embedded</title>
<updated>2026-07-29T09:46:17Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-29T09:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/lectio.git/commit/?id=8ddd910dd545c45a7227da87ca125758b4a0e2cb'/>
<id>urn:sha1:8ddd910dd545c45a7227da87ca125758b4a0e2cb</id>
<content type='text'>
Since 51c0f4e split the corpora (only vul embedded by default; wuj/drb/grb
behind -tags fullbible), `go test ./...` on the default build was red across six
packages -- every failure was a test assuming an optional corpus is present.

Guard those assertions with a skip keyed on bible.Meta(code), so they run under
-tags fullbible and skip -- not fail -- on the default vul-only build. Mixed
tests are split into subtests so the always-embedded vul assertions and pure
logic (pl-&gt;vul fallback, explicit passthrough, bt-rejection, i18n labels) keep
running on both builds. Test-only change; no product code or corpora touched.

- internal/bible: TestVerses, TestLookup, TestCorpusBooks, TestChapters,
  TestGrbNoApparatusMarkers, TestCrossChapterRange* (requireCorpus helper).
- internal/cli, config, render, tui, web: the same pattern for their
  corpus-dependent tests.
- Fixes an index-out-of-range panic in internal/tui's reader tests that was
  aborting the package binary and masking 3 further corpus-absence failures
  (TestReaderBookmarkFlow, TestReaderChapterJump, TestReaderRemembersPlace).

Verified: `go test ./...` and `go test -tags fullbible ./...` both green (0 FAIL);
guards active only on the default build (29 skips vs 1 unrelated pre-existing);
gofmt and go vet clean.
</content>
</entry>
<entry>
<title>feat(cli): config-driven reading corpus + surface user corpora</title>
<updated>2026-07-27T18:40:12Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-27T18:40:12Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/lectio.git/commit/?id=588d9fb64e023d08b3e6105b69c08d3f9ddf6083'/>
<id>urn:sha1:588d9fb64e023d08b3e6105b69c08d3f9ddf6083</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(cli,caldata): EF feast proper readings — offline text in --liturgy</title>
<updated>2026-07-27T12:42:56Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-27T12:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/lectio.git/commit/?id=a13dd6224a095242da54062e4775570c4f16a718'/>
<id>urn:sha1:a13dd6224a095242da54062e4775570c4f16a718</id>
<content type='text'>
Added 1962 Epistle+Gospel citations (from missalemeum) to the 15 EF feasts;
--liturgy now resolves + renders the reading text via the corpora (drb/wuj),
incl. deuterocanon (Assumption's Judith epistle). Cross-chapter citations use
their primary range pending multi-chapter parser support.
</content>
</entry>
<entry>
<title>feat(caldata,cli): embed 1962 EF calendar + form-aware Stack; --liturgy computes EF</title>
<updated>2026-07-27T12:02:49Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-27T12:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/lectio.git/commit/?id=78825639eab3c84d84a60fbd1f1781bcfa332044'/>
<id>urn:sha1:78825639eab3c84d84a60fbd1f1781bcfa332044</id>
<content type='text'>
caldata.Tridentine()/Base(form); Stack(form,dir,use); runLiturgy drops the EF
guard and uses the form's base; rankLabel shows I-IV class; display omits OF
cycles + strips ef- slug prefix for EF.
</content>
</entry>
<entry>
<title>fix(cli): --liturgy signals EF-not-implemented instead of silently returning OF</title>
<updated>2026-07-27T11:34:39Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-27T11:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/lectio.git/commit/?id=3a43b6199a518dd85c2607c6af47b1e3b5d4ae76'/>
<id>urn:sha1:3a43b6199a518dd85c2607c6af47b1e3b5d4ae76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(cli): --liturgy uses the config 'use' layer stack (custom calendars take effect)</title>
<updated>2026-07-27T11:21:04Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-27T11:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/lectio.git/commit/?id=fb3fdc69fad0f374c419559d99d75ba8c81aa632'/>
<id>urn:sha1:fb3fdc69fad0f374c419559d99d75ba8c81aa632</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(cli): 'lectio --liturgy/-L' prints the computed liturgical day offline</title>
<updated>2026-07-27T10:58:31Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-27T10:58:31Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/lectio.git/commit/?id=6d78c65c58820f79ec5a978a9476d29969da218f'/>
<id>urn:sha1:6d78c65c58820f79ec5a978a9476d29969da218f</id>
<content type='text'>
Uses the pure engine + embedded universal calendar; UI-language names, rank,
colour, cycles, and inline proper readings. Added the Assumption's propers.
</content>
</entry>
</feed>
