Stamp the MobilityDB source commit into meos-idl.json#50
Merged
Conversation
Record the MobilityDB commit the catalog was derived from as a top-level `sourceCommit` field, so the catalog is self-describing about its freshness. A consumer (a binding, or a staleness gate) proves the artifact is current by comparing sourceCommit to live upstream master, rather than inspecting whatever directory a vendored copy happens to sit in — a proxy that is blind to a catalog vendored inside an unrelated binding repository. Resolved from the git checkout that provided the source; null when the source is not a git checkout (e.g. a release tarball), in which case freshness is treated as unprovable — the correct safe default.
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.
Records the MobilityDB commit the catalog is derived from as a top-level
sourceCommitfield, making the catalog self-describing about its freshness.A consumer — a binding, or a staleness check — proves the catalog is current by comparing
sourceCommitto live upstream master, rather than inferring freshness from whatever directory a vendored copy sits in. That directory proxy is structurally blind to a catalog vendored inside an unrelated binding repository, whose git HEAD is independent of the catalog's generation.sourceCommitresolves from the git working tree that provides the source headers, and isnullwhen the source is not a git working tree (e.g. a release tarball) — freshness is then unprovable, the correct safe default.The change is additive: it introduces one top-level key and alters no existing field or schema.