osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/43955?usp=email )
Change subject: OBS: add the Osmocom titan.core repository URL
......................................................................
OBS: add the Osmocom titan.core repository URL
I'm reworking the documentation for upgrading the eclipse packages, as
the previous documentation has become inaccurate and doesn't cover the
"optdir" packages yet that we use to have multiple versions installed at
the same time. Extend the OBS scripts to use
https://gitea.osmocom.org/ttcn3/titan.core as URL if the package name
starts with "eclipse-titan", so it can be updated in the future with the
following command after updating the git repository:
$ ./update_obs_project.py \
-d \
-a \
-f master \
-b osmocom/11.2.1-optdir \
osmocom:nightly \
eclipse-titan-optdir-11.2.1
The git repository is needed, because we have the debian packaging there
and may want to add additional, Osmocom-specific fixes on top.
Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Upgrading_eclipse…
Change-Id: Ida79ab2604e5053bdd7a11594ebb413e87cffda9
---
M scripts/obs/lib/config.py
M scripts/obs/lib/git.py
2 files changed, 5 insertions(+), 2 deletions(-)
Approvals:
fixeria: Looks good to me, but someone else must approve
Jenkins Builder: Verified
pespin: Looks good to me, approved
diff --git a/scripts/obs/lib/config.py b/scripts/obs/lib/config.py
index 60d641b..13ee47b 100644
--- a/scripts/obs/lib/config.py
+++ b/scripts/obs/lib/config.py
@@ -105,6 +105,7 @@
git_url_default = "https://gerrit.osmocom.org" # /project gets appended
git_url_other = {
+ "eclipse-titan*": "https://gitea.osmocom.org/ttcn3/titan.core",
"libosmo-dsp": "https://gitea.osmocom.org/sdr/libosmo-dsp",
"libosmo-sccp-legacy": "https://gitea.osmocom.org/osmocom/libosmo-sccp-legacy",
"neocon": "https://github.com/laf0rge/neocon",
diff --git a/scripts/obs/lib/git.py b/scripts/obs/lib/git.py
index 0194f77..007c6ab 100644
--- a/scripts/obs/lib/git.py
+++ b/scripts/obs/lib/git.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2022 sysmocom - s.f.m.c. GmbH <info(a)sysmocom.de>
+import fnmatch
import os
import re
import lib.config
@@ -11,8 +12,9 @@
def get_repo_url(project):
- if project in lib.config.git_url_other:
- return lib.config.git_url_other[project]
+ for pattern, url in lib.config.git_url_other.items():
+ if fnmatch.fnmatch(project, pattern):
+ return url
return f"{lib.config.git_url_default}/{project}"
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43955?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ida79ab2604e5053bdd7a11594ebb413e87cffda9
Gerrit-Change-Number: 43955
Gerrit-PatchSet: 1
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>
Attention is currently required from: dexter, fixeria, lynxis lazus.
pespin has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43958?usp=email )
Change subject: gprs_sndcp_xid: replace OSMO_ASSERT with if and return
......................................................................
Patch Set 1: Code-Review-1
(4 comments)
File src/sgsn/gprs_sndcp_xid.c:
https://gerrit.osmocom.org/c/osmo-sgsn/+/43958/comment/19ce2de6_fdf73681?us… :
PS1, Line 172: if (params->f_max_time < 1)
You can put all these checks in one if line please.
https://gerrit.osmocom.org/c/osmo-sgsn/+/43958/comment/1eb106e6_38829ce1?us… :
PS1, Line 249: if (params->max_cid < 0)
Same, all these checks in one line.
https://gerrit.osmocom.org/c/osmo-sgsn/+/43958/comment/3a7fbbd1_2f0c2579?us… :
PS1, Line 481: } else
if possible add {} here while at it.
https://gerrit.osmocom.org/c/osmo-sgsn/+/43958/comment/94ca28c8_d54161a4?us… :
PS1, Line 641: byte_counter += TLV_GROSS_LEN(sizeof(xid_version_number));
This looks like belonging to one of your previous patches, not this one.
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43958?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Ia570b27a3670fed3aeb4779840292c5d216a1102
Gerrit-Change-Number: 43958
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 22 Oct 2026 16:15:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: dexter, lynxis lazus.
pespin has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43953?usp=email )
Change subject: gprs_sndcp_xid: fix length check in gprs_sndcp_compile_xid
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
> @pmaier@sysmocom.de please have a look at potential same issues in libosmo-gprs. […]
@pmaier@sysmocom.de fyi: the libosmo-gprs.git sndcp was initially imported from osmo-sgsn.git, modified/improved, and in the future we want to drop this osmo-sgsn.git code and use libosmo-gprs instead.
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43953?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I977946a036f96d4dee2656bef048e2618198db40
Gerrit-Change-Number: 43953
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 22 Oct 2026 16:10:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: dexter, lynxis lazus.
pespin has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43953?usp=email )
Change subject: gprs_sndcp_xid: fix length check in gprs_sndcp_compile_xid
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
Patchset:
PS2:
@pmaier@sysmocom.de please have a look at potential same issues in libosmo-gprs.git code (src/sndcp/sndcp_xid.c) and submit patches for it (referencing backporting from this osmo-sgsn.git one).
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43953?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I977946a036f96d4dee2656bef048e2618198db40
Gerrit-Change-Number: 43953
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 22 Oct 2026 16:08:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes