This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9519 ) Change subject: vty: Don't dump deprecated commands in XML export ...................................................................... vty: Don't dump deprecated commands in XML export we don't want to include deprecated commands in our VTY reference manuals. Change-Id: I5e179c9dca297b8c4bdbdf4e0e5b1d69eecc4232 --- M src/vty/command.c 1 file changed, 4 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved diff --git a/src/vty/command.c b/src/vty/command.c index 24d8ea4..66cf6a8 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -679,7 +679,8 @@ elem = vector_slot(cnode->cmd_vector, j); if (!vty_command_is_common(elem)) continue; - vty_dump_element(elem, vty); + if (!elem->attr & CMD_ATTR_DEPRECATED) + vty_dump_element(elem, vty); } } vty_out(vty, " </node>%s", VTY_NEWLINE); @@ -716,7 +717,8 @@ elem = vector_slot(cnode->cmd_vector, j); if (vty_command_is_common(elem)) continue; - vty_dump_element(elem, vty); + if (!elem->attr & CMD_ATTR_DEPRECATED) + vty_dump_element(elem, vty); } vty_out(vty, " </node>%s", VTY_NEWLINE); -- To view, visit https://gerrit.osmocom.org/9519 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I5e179c9dca297b8c4bdbdf4e0e5b1d69eecc4232 Gerrit-Change-Number: 9519 Gerrit-PatchSet: 1 Gerrit-Owner: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180609/6647c456/attachment.htm>