Update debian package versions to use git commits

The Debian packaging has been changed to reflect all the
git commits under the directory, and not just the commits
to the metadata folder.

Package builder concatenates the number of revisions added since
the one defined in the BASE_SRCREV to the name of the .deb file
generated. Thus, any new submission to the code in these directories
increments this revision counter in the filename.

Test Plan:
PASS: Created new code submissions to package python-cephclient
and verify that the version in the package name was incremented.
PASS: Created new code submissions to package ceph-manager and
verify that the version in the package name was incremented.

Story: 2010550
Task: 47510

Signed-by: David Bastos <david.barbosabastos@windriver.com>
Change-Id: I365f01789bb129f869ce52a3372bb99bbc5ab548
This commit is contained in:
David Bastos 2023-02-24 08:25:56 -05:00 committed by David Barbosa Bastos
parent 3f9a58613f
commit 1f6d1236ce
2 changed files with 4 additions and 0 deletions

View File

@ -8,3 +8,5 @@ src_files:
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true
SRC_GITREVCOUNT:
SRC_BASE_SRCREV: 52eeba8c32a47309d133101e68beb6941909d975

View File

@ -5,3 +5,5 @@ src_path: python-cephclient
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true
SRC_GITREVCOUNT:
SRC_BASE_SRCREV: ddf814efcf14225e537d90785b030a224d67eda0