libyang
libyang copied to clipboard
Does libyang have any plan to support updating a module
Hi, As described in https://tools.ietf.org/html/rfc7950#section-11, sometimes, we need update a module to a new revision, however, libyang does not allow loading a new module which has been loaded with an old revison.
But the context allows you to remove the specific module from it (see ly_ctx_remove_module()). Or what kind of support would you expect?
Hi,
I means to add features like this:
1, check whether a module with new revision matchs the rule described in https://tools.ietf.org/html/rfc7950#section-11;
2, update a module to a new revision if it can be checked like above. ly_ctx_remove_module()
is not very convenient when the module is depended by other modules.
This features will help users update their modules when needed.
Hi, I like this idea, however it seems to me more as a "special" feature than a common feature. Therefore, with a limited resources we have, it probably won't be implemented in a short time. Anyway, I have added it into our internal TODO list. Thanks.
OK, thanks.