This repository is used by Relaton (the Relaton::Jcgm flavor) to represent known
JCGM publications. Data is stored in Relaton YAML format.
JCGM records were previously served inside the BIPM flavor (under
relaton-data-bipm); they now live here as their own flavor, indexed with
Pubid::Jcgm identifiers.
data/jcgm/meeting/-
JCGM committee meeting proceedings, generated from https://github.com/metanorma/bipm-data-outcomes (the
jcgm/meetings-enandjcgm/meetings-frdirectories). static/jcgm/-
Curated JCGM guide / GUM / VIM records (hand-maintained).
index-v1.yaml/index-v1.zip-
The document index. Every row is a
Pubid::Jcgm::Identifierhash (_type: pubid:jcgm:*), serialized in the compact flattened shape (number: '100',year: '2008'as bare scalars; the publisher/type/stage are reconstructed from_typeon load).Relaton::Jcgm::Bibliographydownloadsindex-v1.zip. Unlike some sibling flavors (which keep a flat string index inindex-v1and a structured pubid index inindex-v2), this flavor stores the structured pubid index directly inindex-v1— there is no v2.
bundle install
bundle exec ruby crawler.rbcrawler.rb clones metanorma/bipm-data-outcomes (or reuses a local
bipm-data-outcomes symlink), regenerates data/ (the meetings), indexes each
curated static/ guide through the gem’s guarded add_to_index, and writes
index-v1.yaml + index-v1.zip. The index holds 27 rows: 16 meetings + 11 guides
(9 guide, 1 GUM guide, 1 corrigendum).
The Gemfile tracks both relaton and pubid from their GitHub main branches
via git: refs, because the dataset depends on changes not yet on a released gem:
-
relaton→main, which provides theRelaton::Jcgmflavor (DataFetcher/Bibliography). -
pubid→main, which provides the flattenedPubid::Jcgmto_hash/from_hashthe index is serialized with, plus the bareGUM/VIM-Nguide andCorrigendumparsing.
Swap both to rubygems references once released. psych is pinned to ~> 5.2.6
because 5.3.0 silently breaks the YAML round-trip the index relies on.