From 1f6d1236ce5268acedbb71e9a26b8747093c2267 Mon Sep 17 00:00:00 2001 From: David Bastos Date: Fri, 24 Feb 2023 08:25:56 -0500 Subject: [PATCH] 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 Change-Id: I365f01789bb129f869ce52a3372bb99bbc5ab548 --- ceph/ceph-manager/debian/meta_data.yaml | 2 ++ ceph/python-cephclient/debian/meta_data.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ceph/ceph-manager/debian/meta_data.yaml b/ceph/ceph-manager/debian/meta_data.yaml index cac47d35..bd87fa81 100644 --- a/ceph/ceph-manager/debian/meta_data.yaml +++ b/ceph/ceph-manager/debian/meta_data.yaml @@ -8,3 +8,5 @@ src_files: revision: dist: $STX_DIST PKG_GITREVCOUNT: true + SRC_GITREVCOUNT: + SRC_BASE_SRCREV: 52eeba8c32a47309d133101e68beb6941909d975 diff --git a/ceph/python-cephclient/debian/meta_data.yaml b/ceph/python-cephclient/debian/meta_data.yaml index 19e4e9c3..9e9f23cf 100644 --- a/ceph/python-cephclient/debian/meta_data.yaml +++ b/ceph/python-cephclient/debian/meta_data.yaml @@ -5,3 +5,5 @@ src_path: python-cephclient revision: dist: $STX_DIST PKG_GITREVCOUNT: true + SRC_GITREVCOUNT: + SRC_BASE_SRCREV: ddf814efcf14225e537d90785b030a224d67eda0