pdk-semver 1.1.0

Last updated:

0 purchases

pdk-semver 1.1.0 Image
pdk-semver 1.1.0 Images
Add to Cart

Description:

pdksemver 1.1.0

pdk-semver

Pretty print versions for project and artifacts.
Make version more or less informative depending on the audience.
$ pdk-semver -s all --rinfo-value some.info
internal 3.2.2-rev.3.some.info.git.b674019
public 3.2.2-rev.3.some.info
baserev 3.2.2-rev.3
base 3.2.2

Main features are:

Automatic versioning based on git content and CI variables
Unique build versions. Version includes nearest tag,
number of commits and commit hash
Artifact and release info. Add artifact details, like CPU, platform, client etc.
Easy customization. Every component can be overridden with --COMP-value
option, like --rinfo-value

The version format is:




Use Cases
CI and Shallow clones
CI servers usually do shallow (partial) clone, so pdk-semver can't get tag and
commit counter. What can we do?

adjust CI clone depth to the tagging frequency
keep tag name in a text file, but commit counter still be off
unshallow, bring more commits

Working with docker images
Working with buildroot
Installation
pip install pdk-semver

Development
See development doc

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.