ccremer/greposync

Expose metadata of the control repository

Opened this issue · 0 comments

Currently, .Metadata exposes .Repository of the Git repository that is being updated.

This idea is about adding the Repository details of the controlling/template repository itself.

Ideas:

  • .Metadata.Self
  • .Metadata.Control, .Metadata.ControlRepository
  • .Metadata.Greposync

These metadata could be used in templates, but also PR body and title.

Possible fields:

  • Git branch, tag, commit
  • Git remote URL
  • Date and time of the update (although Sprig's date functions can do this already