Skip to content

How do I grab the freights underlying Commit datetime metadata? #4542

Answered by krancour
danijam asked this question in Q&A
Discussion options

You must be logged in to vote

commitFrom resource an actual instance of the actual GitCommit type from the Kargo v1alpa1 API.

At present, that does not record the particular metadata you are looking for:

// GitCommit describes a specific commit from a specific Git repository.
type GitCommit struct {
// RepoURL is the URL of a Git repository.
RepoURL string `json:"repoURL,omitempty" protobuf:"bytes,1,opt,name=repoURL"`
// ID is the ID of a specific commit in the Git repository specified by
// RepoURL.
ID string `json:"id,omitempty" protobuf:"bytes,2,opt,name=id"`
// Branch denotes the branch of the repository wh…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@danijam
Comment options

@danijam
Comment options

Answer selected by danijam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants