diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-28 15:07:12 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-28 15:07:12 +0200 |
| commit | 310ac404f25b412c5c1ead12247b4eb36e9f0025 (patch) | |
| tree | 6e1dcc5e1f85a483cef7044d341b7c940c1690a8 /internal/config/config.go | |
| parent | 44472bbe31475a3c672ae003d928d7caffb4b50a (diff) | |
| parent | c5abf87fa7198c8f245f407774e2326e4b6c9b9c (diff) | |
| download | lectio-310ac404f25b412c5c1ead12247b4eb36e9f0025.tar.gz lectio-310ac404f25b412c5c1ead12247b4eb36e9f0025.zip | |
Merge branch 'engine-precedence-fixes': OF/EF calendar+readings flawlessness pass
Per-day validation vs litcal (OF) and missalemeum (EF) 2005-2050, all defects
fixed and re-validated to zero: OF calendar 0 real errors forward, OF readings
0 unresolvable, EF 0 reading gaps + resumed Sundays correct.
Diffstat (limited to 'internal/config/config.go')
| -rw-r--r-- | internal/config/config.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index 31e9078..b6c9e0e 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -64,6 +64,23 @@ const configHeader = `# lectio configuration (INI). Full-line comments only (# o // -v/--version output (lectio, lectio-ui, lectio-web). const Version = "0.44.0" +// SourceURL is where lectio's corresponding source can be obtained. It is +// not decoration: lectio is AGPL-3.0-or-later, and section 13 requires a +// modified version reachable over a network to "prominently offer" its +// source to the users interacting with it. lectio-web therefore surfaces +// this on every page (footer -> GET /source) and inside both machine feeds +// (JSON envelope, iCal X-LECTIO-SOURCE), so an API consumer who never sees +// the HTML still gets the offer. +// +// If you fork lectio and run it as a service, point this at YOUR source. +// Leaving it aimed here while serving modified code does not satisfy §13 -- +// the offer must lead to the version actually running. +const SourceURL = "https://github.com/lukaszkasprzak/lectio" + +// License is the SPDX identifier lectio ships under, paired with SourceURL +// wherever the §13 offer is made. +const License = "AGPL-3.0-or-later" + // validVersions are the scripture versions lectio understands. All are // embedded corpora; the former "bt" (the niedziela.pl modern scrape) is gone // and a legacy config carrying it is migrated to "wuj" on load (see Load). |
