Repository navigation
Adopt the relaton local cache as the committed bib database - #26
Merged
Merged
Conversation
Follow the metanorma.org authoring guidance (reference lookups: local cache stores are portable directories meant to be committed to git for reproducible, offline-tolerant CI builds): all thirteen documents compile with :local-cache: (fetch when missing, persist) instead of :local-cache-only:, and sources/*/relaton is committed (30 entries: ECMA-376, W3C MathML, ISO 80000 and friends). Negative lookup markers (.notfound, .redirect) are gitignored - a committed marker poisons the cache and silently drops the reference on every future build - and the register validator fails on any that appear, alongside the existing bibliography checks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the metanorma.org authoring guidance for reference lookups (author/basics/reference-lookups.adoc: local Relaton cache stores are portable directories "often committed into version control for faster and more reproducible continuous integration build times"):
:local-cache:(fetch when missing, persist) instead of:local-cache-only:(never fetch — which silently drops any reference absent from the cache).sources/*/relatonis committed as the portable bib database: 30 entries already cached locally (ECMA-376, W3C MathML, ISO 80000 series); BIPM/JCGM entries populate on CI, which reaches the bipm endpoints..notfound/.redirectnegative markers are gitignored — a committed marker poisons the cache and silently drops the reference on every future build — and the validator now fails on any that appear (pass 2a), alongside the existing bibliography checks.Test plan
ruby scripts/validate-register.rb— VALIDATION OK (13 documents)