Attention is currently required from: laforge, pespin, fixeria.

neels has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/32561 )

Change subject: vty: show bug in implicit go_parent_node
......................................................................


Patch Set 1:

(2 comments)

Commit Message:

https://gerrit.osmocom.org/c/libosmocore/+/32561/comment/21d2eaba_a3e84e25
PS1, Line 26: there is no legacy vty_go_parent() function that sets the correct
            :   index via a switch().
> note: Some of them cannot be dropped since they are used as hooks to do stuff 
> like applying the new  […]
yes, for example in cs7 config, the go_parent_cb() does the action of applying 
config changes.

But we can definitely get rid of all the *unnecessary* go_parent_cb()s, and all 
go_parent code that merely sets vty->node to a new constant. I've been doing 
that here and there over the years already...


File tests/vty/vty_transcript_test.c:

https://gerrit.osmocom.org/c/libosmocore/+/32561/comment/53aa5949_5f132bfd
PS1, Line 344: talloc_asprintf(root_ctx, argv[0]);
> `-Werror=format-security`: should be `...(root_ctx, "%s", argv[0]);`. […]
yes, seems i wasn't paying attention, thx



--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/32561
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I2472daed7436a1947655b06d34eb217e595bc7f3
Gerrit-Change-Number: 32561
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <[email protected]>
Gerrit-CC: laforge <[email protected]>
Gerrit-CC: pespin <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Attention: fixeria <[email protected]>
Gerrit-Comment-Date: Wed, 03 May 2023 00:22:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <[email protected]>
Comment-In-Reply-To: pespin <[email protected]>
Comment-In-Reply-To: fixeria <[email protected]>
Gerrit-MessageType: comment

Reply via email to