debian-forge-composer/internal/common
Martin Sehnoutka d7d4e02c8c internal/common: introduce git revision and rpm version
The variables are set to the git revision from which the build is
triggered and rpm version from the spec file, if it is build using RPM.

This can be later used to query exact source version while
running osbuild-composer.

It is necessary to use both, because none of them is available in all
possible scenarios.

Use either git-rev (preferably) or RPM version (NEVRA) instead of the
"devel" build type. It was just a placeholder.
2021-09-24 14:13:23 +02:00
..
constants.go internal/common: introduce git revision and rpm version 2021-09-24 14:13:23 +02:00
helpers.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
helpers_test.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
operation_id.go cloudapi: V2 2021-09-14 15:32:21 +02:00
pointers.go internal/common: add function to get a pointer to string literal 2021-08-02 19:05:09 +02:00
pointers_test.go internal/common: add function to get a pointer to string literal 2021-08-02 19:05:09 +02:00
states.go fix: unused function arg 2021-07-02 10:38:04 +02:00
states_test.go weldr: move common.ComposeState to weldr 2020-11-09 14:17:19 +01:00