osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/37521?usp=email )
Change subject: OBS: lib/debian: generate valid strongswan version
......................................................................
OBS: lib/debian: generate valid strongswan version
Ensure debian versions start with a number. For strongswan versions that
look like "osmo-epdg-0.1.1", adjust them to be like "0.1.1-osmo-epdg".
Fix for:
dpkg-buildpackage: error: version number does not start with digit
Related: OS#6488
Change-Id: If535af23bca3a31f71daeade4d8b52403f7f7e17
---
M scripts/obs/lib/debian.py
1 file changed, 20 insertions(+), 0 deletions(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
diff --git a/scripts/obs/lib/debian.py b/scripts/obs/lib/debian.py
index efe4ff3..1e48046 100644
--- a/scripts/obs/lib/debian.py
+++ b/scripts/obs/lib/debian.py
@@ -112,6 +112,10 @@
# from wireshark. Don't abort here if that is the case.
pass
+ # Debian versions must start with a digit
+ if version.startswith("osmo-epdg-"):
+ version = f"{version.replace('osmo-epdg-', '', 1)}-osmo-epdg"
+
if version_changelog == version:
return
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37521?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: If535af23bca3a31f71daeade4d8b52403f7f7e17
Gerrit-Change-Number: 37521
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/37517?usp=email )
Change subject: doc/examples: use common 'ipa unit-id' in all files
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/37517?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I2b5ed8eaa5c2cbfe20091dcfea0dd1a70f148f7c
Gerrit-Change-Number: 37517
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 17 Jul 2024 10:40:22 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment