Age | Commit message (Collapse) | Author |
|
1. Bugfix 8254: Show the help text first so users don't think there is
only one completion for a value when it exists with non-comps
2. Fix config mode inconsistencies with operational mode. Show all
values in help text.
3. Fix "exists_only" command handling. Only show nodes that exist when
doing completion for show, comment, and delete.
|
|
This fixes some more of the memory leaks in load and commit.
Some still exist in the legacy cli_new/cli_parse code. Since that code
is supposed to be rewritten such that it interfaces with the rewritten
commit code in a clean way, these will not be fixed right now.
|
|
|
|
consistency
|
|
(cherry picked from commit fdac525b7596f1b18c201bdcd5923d3e76453ebd)
|
|
(cherry picked from commit 9f1ff5427e0f72f2bded287be6e1d4cf442945cb)
|
|
|
|
|
|
* reimplement process management to fix breakage caused by commit 792d6aa0dd0ecfd45c9b5ab57c6c0cb71a9b8da6.
|
|
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538)
|
|
* rename needs to mark the new tag value "changed".
|
|
|
|
* part of the config backend cleanup/optimization work.
* improves the performance of "load" (w/o commit) by ~55% and "show" by ~15%.
|
|
|
|
|
|
|
|
* change shell API to only use "edit level" when needed.
* add factory functions for cstore creation to simplify code.
(cherry picked from commit 2208bfef1004295d3227492c6a3e9d7b36903db5)
|
|
* extend output/assert mechanism and simplify code.
* when handling internal error, automatically detect perl context and croak if the library is used from perl.
|
|
* add "commands diff" functionality to config input/output infrastructure.
* consolidate similar logic in "commands diff" and "show diff".
* add loadFile functionality to cstore using "commands diff".
* export loadFile through shell API.
|
|
* also show non-existing nodes for "edit" completion.
|
|
|
|
* enforce session for API functions requiring it.
|
|
* disallow deactivate on leaf nodes. revisit after "default value"-related issues are resolved.
|
|
* set help string only if available.
* use "builtin" explicitly.
|
|
|
|
|
|
|
|
* unify node sorting implementation into the backend library.
* allow future implementation of per-node, customized sorting policy.
|
|
* remove public status modifier as high-level operations no longer need it.
* add more information to clarify changed status handling in library.
* mark changed status at appropriate places in library.
|
|
* need to move changed status handling into the library.
|
|
|
|
|
|
* original backend implementation uses unionfs-specific "changes only" dir to determine "changed" status. this breaks when it involves deactivated nodes.
* new library design uses explicit per-node "changed" marker. however, since previously "commit" only handles a root "changed" marker, the new library could not implement this scheme and used a workaround instead.
* now add API functions for "commit" to properly clean up "changed" markers.
* modify "commit" to use these API functions and remove the workaround from the new library.
|
|
|
|
|
|
|
|
* would have been a problem if template tree becomes more than 2^32 levels deep or if value strings longer than 2^32 characters are allowed.
|
|
* this emulates the original behavior that "allowed:" script is "eval"ed rather than "exec"ed.
|
|
* this preserves the behavior of the original implementation and allows edit on nonexistent nodes.
|
|
|
|
|
|
|