StarlingX build source tree root
Go to file
Bin Yang e01eb44f2c enable pbr version
Currently all flock packages have a common base version of 1.0 or 1.0.0
defined in specfiles. The build system creates tarballs and whl files
with the base version (without TIS_PATCH_VER) and the version is also
attached the generated RPM file (with TIS_PATCH_VER).

This patch addes PBR (OpenStack's Python Build Reasonableness) support,
which can generate the version by parsing semantically-versioned Git
tags and walking the Git history back to the last release tag.

A new variable named PBR_VERSION is supported in build_srpm.data. If its
is not set, the build system still uses TIS_PATCH_VER like before.
If PBR_VERSION=auto, the build system will generate the version by
PBR and create tarballs, whl files and RPM files with this version.
If PBR_VERSION is set manually, the build system will use it directly.

Story: 2006703
Task: 37014

Change-Id: Ic377e3ae3344b291d2d9c0d0fca8f681d1a007b5
Signed-off-by: Bin Yang <bin.yang@intel.com>
Signed-off-by: Yang, Bin <bin.yang@intel.com>
2020-06-08 16:54:14 +08:00
build-data Fix rt kernel always rebuild issue 2020-05-02 22:46:03 +08:00
build-tools enable pbr version 2020-06-08 16:54:14 +08:00
stx Add portieris-armada-app repo to gitignore 2020-04-28 11:02:33 -04:00
.gitignore Update tox.ini bashate to test all bash scripts 2020-02-12 19:20:43 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:37 +00:00
.zuul.yaml Adding job to upload commits to GitHub 2020-02-06 15:00:45 -05:00
LICENSE StarlingX open source release updates 2018-06-01 07:45:23 -07:00
test-requirements.txt Update tests to new default 2018-06-08 20:09:47 -05:00
tox.ini Update tox.ini bashate to test all bash scripts 2020-02-12 19:20:43 +00:00