osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/libosmocore/+/40920?usp=email )
Change subject: VTY: Initialize fields of struct cmd_element in order of declaration
......................................................................
Patch Set 1: Verified+1
(3 comments)
Patchset:
PS1:
Removed V-1 for liniting failures, as this patch is cherry-picked from master. other tests passed, so setting V+1.
File include/osmocom/vty/command.h:
https://gerrit.osmocom.org/c/libosmocore/+/40920/comment/df1ef35d_568717f8?… :
PS1, Line 222: .attr = attrs, \
cherry-picked from master, keeping the patch as-is.
https://gerrit.osmocom.org/c/libosmocore/+/40920/comment/3a9a3087_341940cd?… :
PS1, Line 233: .attr = attrs, \
cherry-picked from master, keeping the patch as-is.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/40920?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmocore
Gerrit-Branch: osmith/1.11.2
Gerrit-Change-Id: Ifaa31980f149f9c1f1a9b28f318a4850f6855472
Gerrit-Change-Number: 40920
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: jolly <andreas(a)eversberg.eu>
Gerrit-Comment-Date: Tue, 26 Aug 2025 13:42:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: osmith.
osmith has removed a vote from this change. ( https://gerrit.osmocom.org/c/libosmocore/+/40920?usp=email )
Change subject: VTY: Initialize fields of struct cmd_element in order of declaration
......................................................................
Removed Verified-1 by Jenkins Builder (1000002)
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/40920?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: deleteVote
Gerrit-Project: libosmocore
Gerrit-Branch: osmith/1.11.2
Gerrit-Change-Id: Ifaa31980f149f9c1f1a9b28f318a4850f6855472
Gerrit-Change-Number: 40920
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Jenkins Builder has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/libosmocore/+/40920?usp=email )
Change subject: VTY: Initialize fields of struct cmd_element in order of declaration
......................................................................
Patch Set 1:
(2 comments)
File include/osmocom/vty/command.h:
Robot Comment from checkpatch (run ID ):
https://gerrit.osmocom.org/c/libosmocore/+/40920/comment/58a0fc9a_e901a17f?… :
PS1, Line 222: .attr = attrs, \
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID ):
https://gerrit.osmocom.org/c/libosmocore/+/40920/comment/365b2f76_3ce6e4f2?… :
PS1, Line 233: .attr = attrs, \
please, no spaces at the start of a line
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/40920?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmocore
Gerrit-Branch: osmith/1.11.2
Gerrit-Change-Id: Ifaa31980f149f9c1f1a9b28f318a4850f6855472
Gerrit-Change-Number: 40920
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-CC: jolly <andreas(a)eversberg.eu>
Gerrit-Comment-Date: Tue, 26 Aug 2025 13:40:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/40919?usp=email )
Change subject: Makefile: fix doc/vty race condition
......................................................................
Makefile: fix doc/vty race condition
It is possible that doxygen is unable to create the "doc/vty" directory,
as we have seen in jenkins. Create it before running doxygen as it is
done for other doc dirs above, e.g.:
rm -rf $(top_builddir)/doc/isdn; mkdir -p $(top_builddir)/doc/isdn
Note that the doc/vty dir is expected to exist already inside the source
tree, as it contains versioned failes. As I understand it, the error
happens when building out-of-tree.
Fix for:
error: tag OUTPUT_DIRECTORY: Output directory 'doc/vty' does not exist and cannot be created
Doxygen version used: 1.9.4
Exiting...
touch "doc/libosmovty.tag.prep"
make[2]: [Makefile:1357: doc/libosmovty.tag.prep] Error 1 (ignored)
touch: cannot touch 'doc/libosmovty.tag.prep': No such file or directory
Related: https://gerrit.osmocom.org/c/libosmocore/+/39827/1#message-02393b0dc4323a19…
Change-Id: If9029059ac60060bdb14f5629f50836166e3afd7
(cherry picked from commit 219f3d0392344b11a8f24a264572fd8e2e4dee12)
---
M Makefile.am
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/19/40919/1
diff --git a/Makefile.am b/Makefile.am
index 8a8f963..7adb00b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -115,6 +115,7 @@
$(top_srcdir)/src/vty/*.c
rm -rf $(top_builddir)/doc/vty/html $(top_builddir)/doc/vty/latex
rm -rf $(top_builddir)/doc/libosmovty.map
+ mkdir -p $(top_builddir)/doc/vty
-$(DOXYGEN) $(top_builddir)/Doxyfile.vty
touch "$@"
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/40919?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: osmith/1.11.2
Gerrit-Change-Id: If9029059ac60060bdb14f5629f50836166e3afd7
Gerrit-Change-Number: 40919
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Attention is currently required from: falconia, fixeria, jolly, laforge.
pespin has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmo-netif/+/39280?usp=email )
Change subject: bring twjit into libosmo-netif
......................................................................
Patch Set 6:
(2 comments)
File include/osmocom/netif/twjit.h:
https://gerrit.osmocom.org/c/libosmo-netif/+/39280/comment/23fdb85b_284f0da… :
PS6, Line 50: struct osmo_twjit_config {
> The only struct that poses truly serious ABI issues is `osmo_twjit_config`. […]
@falcon@freecalypso.org my preferred solution would be to actually remove the osmo_twjit_config from public space and instead have setter API for each param one wants to configure on the twjit. Only pass the really required ones during osmo_twjit_alloc(), and for the others set a sane default plus the mentioned setters to configure/tweak it afterwards.
I know at first hand it looks like more work and more function calls to be made, but in the end this allows good maintainability, extensibility, etc.
I'm saying this based on experience, for instance see the osmo_stream (stream.h) API which follows this approach and proved to cope well with extensions over time.
Your proposal would work and I could accept it, but it I really dislike the idea of having to allocate an extra twjit_config struct.
Let me know if my proposal is good for you.
File src/twjit.c:
https://gerrit.osmocom.org/c/libosmo-netif/+/39280/comment/9c3f6c13_183cabc… :
PS2, Line 504: rtph = osmo_rtp_get_hdr(msg);
> Can this issue be marked as resolved - is M bit handled to your satisfaction now?
Done
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/39280?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Ia3be5834571ca18b68939abbcf1ce3a879156658
Gerrit-Change-Number: 39280
Gerrit-PatchSet: 6
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 26 Aug 2025 10:15:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: falconia <falcon(a)freecalypso.org>
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>