commit in repository
- CURIE:
gmeow:commitInRepository - IRI: https://blackcatinformatics.ca/gmeow/commitInRepository
- Category: property
- Defined by:
gmeow:slices/software - Box roles: RBox role (What is this?)
The repository in which a commit occurred. Functional: a commit belongs to exactly one repository (forks are separate repositories with their own history).
Structure
Property shape: object property; gmeow:Commit -> gmeow:Repository; functional
Practical Pattern
Use gmeow:commitInRepository from gmeow:Commit to gmeow:Repository when the relationship itself belongs in the native GMEOW graph.
Example Snippets
These snippets are generated from canonical slice examples and trimmed to the Turtle blocks where this term appears.
Commit History
- Source:
slices/extensions/software/examples/commit-history.ttl - Examples catalog: open in catalog#example-slices-extensions-software-examples-commit-history
# --- Two commits forming a DAG (commit2's ancestor is commit1). Each commit is
# content-addressed by its git hash (gmeow:contentDigest).
ex:commit1 a gmeow:Commit ;
gmeow:commitInRepository ex:repo ;
gmeow:commitAuthorIdentity ex:danaGitId ;
gmeow:contentDigest "git:9f4d2a1c8e7b6f5a0d3c2b1e9f8a7d6c5b4a3e2f" .
ex:commit2 a gmeow:Commit ;
gmeow:commitInRepository ex:repo ;
gmeow:commitAuthorIdentity ex:danaGitId ;
gmeow:commitAncestor ex:commit1 ;
gmeow:contentDigest "git:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b" .