Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/42092?usp=email )
Change subject: sua: Support rx SCON in role=SG
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/42092?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ide2b4f876ddbdb1bb0bfed11fad6fc13aaf1afda
Gerrit-Change-Number: 42092
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 10 Feb 2026 13:08:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/42091?usp=email )
Change subject: sua: Support rx SCON in role=ASP
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/42091?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I1e4146c2cb8fab460d5e810b602c20293272c2e4
Gerrit-Change-Number: 42091
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 10 Feb 2026 13:08:09 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/42101?usp=email )
Change subject: esim/http_json_api: add alternative API interface (follow up)
......................................................................
esim/http_json_api: add alternative API interface (follow up)
This is a follow up patch to change:
I2a5d4b59b12e08d5eae7a1215814d3a69c8921f6
- do not ignore length of kwargs
- fix role parameter (roles other than 'legacy_client' can be used now)
- use startswith instead of match
Related: SYS#7866
Change-Id: Ifae13e82d671ff09bddf771f063a388d2ab283eb
---
M pySim/esim/http_json_api.py
1 file changed, 3 insertions(+), 5 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/pySim/esim/http_json_api.py b/pySim/esim/http_json_api.py
index 94e60cb..cd95e0d 100644
--- a/pySim/esim/http_json_api.py
+++ b/pySim/esim/http_json_api.py
@@ -19,7 +19,6 @@
import requests
import logging
import json
-from re import match
from typing import Optional
import base64
from twisted.web.server import Request
@@ -211,7 +210,7 @@
# additional custom HTTP headers (server responses)
extra_http_res_headers = {}
- def __new__(cls, *args, role = None, **kwargs):
+ def __new__(cls, *args, role = 'legacy_client', **kwargs):
"""
Args:
args: (see JsonHttpApiClient and JsonHttpApiServer)
@@ -221,14 +220,13 @@
# Create a dictionary with the class attributes of this class (the properties listed above and the encode_
# decode_ methods below). The dictionary will not include any dunder/magic methods
- cls_attr = { attr_name: getattr(cls, attr_name) for attr_name in dir(cls) if not match("__.*__", attr_name) }
+ cls_attr = {attr_name: getattr(cls, attr_name) for attr_name in dir(cls) if not attr_name.startswith('__')}
# Normal instantiation as JsonHttpApiFunction:
- if len(args) == 0:
+ if len(args) == 0 and len(kwargs) == 0:
return type(cls.__name__, (abc.ABC,), cls_attr)()
# Instantiation as as JsonHttpApiFunction with a JsonHttpApiClient or JsonHttpApiServer base
- role = kwargs.get('role', 'legacy_client')
if role == 'legacy_client':
# Deprecated: With the advent of the server role (JsonHttpApiServer) the API had to be changed. To maintain
# compatibility with existing code (out-of-tree) the original behaviour and API interface and behaviour had
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/42101?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ifae13e82d671ff09bddf771f063a388d2ab283eb
Gerrit-Change-Number: 42101
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/42095?usp=email )
Change subject: scripts/kernel/linux-shallow-clone: new script
......................................................................
scripts/kernel/linux-shallow-clone: new script
Add a script that maintains a linux repository in one place on jenkins
nodes, so we need less git clones from git.kernel.org and less disk
space. All jobs that need a kernel tree can now clone the relevant
branch directly from the jenkins node.
Follow up patches will add a jenkins job that runs the script daily and
adjust the existing jobs to make use of this instead of doing their own
clones.
Currently this script produces a 396M bare git repository.
Related: OS#6938
Change-Id: Id3aadb46813047ecac3b80868192809b272dba0e
---
A scripts/kernel/linux-shallow-clone.sh
1 file changed, 97 insertions(+), 0 deletions(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
diff --git a/scripts/kernel/linux-shallow-clone.sh b/scripts/kernel/linux-shallow-clone.sh
new file mode 100755
index 0000000..3aa9267
--- /dev/null
+++ b/scripts/kernel/linux-shallow-clone.sh
@@ -0,0 +1,97 @@
+#!/bin/sh -ex
+# Create a bare git repository and add/update shallow clones of linux.git
+# branches that are relevant for our CI jobs. Jobs can then quickly clone a
+# branch from this git repository and discard it afterwards. This saves disk
+# space on our jenkins nodes, and keeps the traffic to git.kernel.org minimal.
+
+set_dest() {
+ if [ -n "$1" ]; then
+ DEST="$1"
+ else
+ DEST=/tmp/linux-shallow
+ fi
+
+ # Check if an existing repository is from last month, and if that is
+ # the case then start with a new repository. This is done because the
+ # repository size increases with each fetch: we start with a shallow
+ # clone but can't truncate the history after follow-up fetches.
+ if [ -e "$DEST/.month" ] && [ "$(cat "$DEST/.month")" != "$(date +%m)" ]; then
+ DEST_OLD="$DEST"
+ DEST="$DEST-new"
+ fi
+}
+
+init() {
+ if [ -d "$DEST" ]; then
+ return
+ fi
+
+ mkdir -p "$DEST"
+ cd "$DEST"
+ git init . --bare
+
+ # Garbage collect in foreground
+ git config gc.autoDetach false
+
+ git remote add torvalds "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
+ git remote add stable "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
+ git remote add net-next "https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git"
+
+ echo "$(date +%m)" > "$DEST/.month"
+}
+
+fetch_branch() {
+ local remote="$1"
+ local branch="$2"
+ local head
+
+ git fetch --no-tags --depth=1 "$remote" "$branch"
+ head="$(git log -n1 --pretty=format:"%H" "$remote"/"$branch")"
+ git branch --force "$remote-$branch" "$head"
+
+ # Pretty print the current commit for the log
+ git -c color.ui=always log -1 --oneline "$remote-$branch"
+}
+
+fetch_branches() {
+ fetch_branch torvalds "master"
+
+ fetch_branch stable "linux-rolling-stable"
+ fetch_branch stable "linux-4.19.y"
+ fetch_branch stable "linux-5.10.y"
+ fetch_branch stable "linux-6.1.y"
+ fetch_branch stable "linux-6.12.y"
+
+ fetch_branch net-next "main"
+}
+
+collect_garbage() {
+ git gc --no-cruft --prune=now
+}
+
+# Replace last month's repository if needed, see the comment in set_dest
+replace_old() {
+ if [ -z "$DEST_OLD" ]; then
+ return
+ fi
+
+ mv "$DEST_OLD" "$DEST"-old
+ mv "$DEST" "$DEST_OLD"
+ rm -rf "$DEST"-old
+
+ DEST="$DEST_OLD"
+ DEST_OLD=""
+ cd "$DEST"
+}
+
+show_size() {
+ du -h -s "$DEST"
+}
+
+set_dest "$@"
+init
+cd "$DEST"
+fetch_branches
+collect_garbage
+replace_old
+show_size
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/42095?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: Id3aadb46813047ecac3b80868192809b272dba0e
Gerrit-Change-Number: 42095
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>