Skip to content

[REQ] Add git *flags* in the mantra config file #68

Description

@mhatzl

Is your feature request related to other issues/PRs?

no

Describe the solution you'd like

Provide git flags similar to $inherit as possible value for certain product settings.

For example:

  • base should take the current git branch or HEAD commit sha with e.g. flags $git-branch or $git-commit
  • version should try to resolve the differences to the latest git tag (with dirty flags added in case of changes since tag) e.g. $git-tag
  • repository might be possible to take the main git origin $git-origin

Describe alternatives you've considered

externally modifying the config file or using envs,
but this makes everything unnecessarily complex.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    req-missing-wiki-entryThis REQ issue is not yet documented in the wikiwaiting-on-assigneeIssue/PR author or reviewer is awaiting response from assignee

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions