Naming schema of Leapp-related packagesļ
All projects under OAMG should use the same schema for names of RPM builds, to be able to simply and quickly find specific builds. The schema itself looks like this (NVR without %{dist}):
for builds made from the main branch:
<name>-<version>-100.<timestamp>.<short-hash>.<branch>
for builds made from pull-request:
<name>-<version>-0.<timestamp>.<short-hash>.<branch>.PR<number>
Where:
name is name of the project
version is current version of the application
timestamp in format:
+%Y%m%d%H%MZ
, e.g. ā201812211407Zāshort-hash is a shortened hash of the commit from which the build has been created
branch is name of the branch from which the builds have been created; in case the name of the branch contains dashes (
-
), these are automatically replaced by underscore (_
) because dash is used as a separator in the name of a (S)RPM file; it is suggested (not required) to avoid dashes in names of branchesnumber is number of a pull-request (alternatively merge-request) to which builds are related