biopragmatics / bioregistry

📮 An integrative registry of biological databases, ontologies, and nomenclatures.
https://bioregistry.io
MIT License
115 stars 49 forks source link

Deterministic registry.json export #246

Closed dhimmel closed 2 years ago

dhimmel commented 2 years ago

It looks like the order of elements of resource synonyms in exports/registry/registry.json is non-deterministic. See for example the diff in https://github.com/biopragmatics/bioregistry/commit/972c73f26a54f24b5ba32801741c772b1f5b6ddb#diff-e8b207c286b5c42be55c1819fc94eac2678719bd662a78e1ae454fd00a39ec59

image

Would be nice for the git diff to only include actual changes.

Unrelated: can considering ordering output fields by the pedantic model rather than sorting them alphabetically.

cthoyt commented 2 years ago

This was solved in f9e4140b6829a50690886b2afe5eceb8761970b2, sorry I forgot to link them