From 5d4ba839103665572dd9aa5c34aeb629ef59ad04 Mon Sep 17 00:00:00 2001 From: Luis Sampaio Date: Fri, 10 Feb 2023 10:14:32 -0800 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. This ensures that any new code submissions under those directories will increment the versions. Test Plan: PASS: build-pkgs -p sm-common PASS: build-pkgs -p sm-db PASS: build-pkgs -p sm PASS: build-pkgs -p sm-api PASS: build-pkgs -p sm-client PASS: build-pkgs -p sm-tools PASS: build-pkgs -p stx-ocf-scripts Story: 2010550 Task: 47341 Signed-off-by: Luis Sampaio Change-Id: I54cde0fe252c3bcef669969a1b0675a2df8b3d69 --- service-mgmt-api/debian/meta_data.yaml | 2 ++ service-mgmt-client/debian/meta_data.yaml | 2 ++ service-mgmt-tools/debian/meta_data.yaml | 2 ++ service-mgmt/sm-common/debian/meta_data.yaml | 4 +++- service-mgmt/sm-db/debian/meta_data.yaml | 4 +++- service-mgmt/sm/debian/meta_data.yaml | 4 +++- stx-ocf-scripts/debian/meta_data.yaml | 2 ++ 7 files changed, 17 insertions(+), 3 deletions(-) diff --git a/service-mgmt-api/debian/meta_data.yaml b/service-mgmt-api/debian/meta_data.yaml index b433656e..3967da1a 100644 --- a/service-mgmt-api/debian/meta_data.yaml +++ b/service-mgmt-api/debian/meta_data.yaml @@ -5,3 +5,5 @@ src_path: sm-api revision: dist: $STX_DIST PKG_GITREVCOUNT: true + SRC_GITREVCOUNT: + SRC_BASE_SRCREV: f30223d172225880f5cc081d10eb30bc5a6c95dd diff --git a/service-mgmt-client/debian/meta_data.yaml b/service-mgmt-client/debian/meta_data.yaml index 695ac7df..7f739fea 100644 --- a/service-mgmt-client/debian/meta_data.yaml +++ b/service-mgmt-client/debian/meta_data.yaml @@ -5,3 +5,5 @@ src_path: sm-client revision: dist: $STX_DIST PKG_GITREVCOUNT: true + SRC_GITREVCOUNT: + SRC_BASE_SRCREV: c8a95f1ae04eb64415ef21d800277a1182c04979 diff --git a/service-mgmt-tools/debian/meta_data.yaml b/service-mgmt-tools/debian/meta_data.yaml index 607a1f12..43364528 100644 --- a/service-mgmt-tools/debian/meta_data.yaml +++ b/service-mgmt-tools/debian/meta_data.yaml @@ -5,3 +5,5 @@ src_path: sm-tools revision: dist: $STX_DIST PKG_GITREVCOUNT: true + SRC_GITREVCOUNT: + SRC_BASE_SRCREV: e905c2315b6afa2626452259fa24c7fa6cad98e8 diff --git a/service-mgmt/sm-common/debian/meta_data.yaml b/service-mgmt/sm-common/debian/meta_data.yaml index e738197c..f40a01cd 100644 --- a/service-mgmt/sm-common/debian/meta_data.yaml +++ b/service-mgmt/sm-common/debian/meta_data.yaml @@ -8,4 +8,6 @@ src_files: - Makefile revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + BASE_SRCREV: 670e486c48f9b0cd0c06d67ff36671eb65f112ea + SRC_DIR: ${MY_REPO}/stx/ha/service-mgmt/sm-common diff --git a/service-mgmt/sm-db/debian/meta_data.yaml b/service-mgmt/sm-db/debian/meta_data.yaml index bade8c08..497d2d80 100644 --- a/service-mgmt/sm-db/debian/meta_data.yaml +++ b/service-mgmt/sm-db/debian/meta_data.yaml @@ -8,4 +8,6 @@ src_files: - Makefile revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + BASE_SRCREV: b091500aa816c17f70ef8e4fbd14121c9d2c240e + SRC_DIR: ${MY_REPO}/stx/ha/service-mgmt/sm-db diff --git a/service-mgmt/sm/debian/meta_data.yaml b/service-mgmt/sm/debian/meta_data.yaml index 7e999791..1cb9092d 100644 --- a/service-mgmt/sm/debian/meta_data.yaml +++ b/service-mgmt/sm/debian/meta_data.yaml @@ -8,4 +8,6 @@ src_files: - src revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + BASE_SRCREV: aaab4822a3419b9f00f3bbb110b72651c862d097 + SRC_DIR: ${MY_REPO}/stx/ha/service-mgmt/sm diff --git a/stx-ocf-scripts/debian/meta_data.yaml b/stx-ocf-scripts/debian/meta_data.yaml index daedd1d3..cd1c21f1 100644 --- a/stx-ocf-scripts/debian/meta_data.yaml +++ b/stx-ocf-scripts/debian/meta_data.yaml @@ -5,3 +5,5 @@ src_path: src revision: dist: $STX_DIST PKG_GITREVCOUNT: true + SRC_GITREVCOUNT: + SRC_BASE_SRCREV: 3884921f23ed944124ef078db927af9041e6a7df