| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-08-28 | T9231: fix corner case: only consider subtrees containing full path | John Estabrook | |
| 2026-08-25 | T9231: add util subtree_values_of_path | John Estabrook | |
| Get tag/leaf values of subtree defined by a partial path, for example, a reference path. | |||
| 2026-08-25 | T9231: add is_terminal check on node | John Estabrook | |
| More ergonomic when folding over tree. | |||
| 2026-08-25 | T9231: add util_reference_tree | John Estabrook | |
| Add utilities for collecting paths of the reference_tree satisfying a condition, with optional inclusion of extra data. Expose util for returning owner of path. | |||
| 2026-08-25 | T9231: add support for kind and dependency elements | John Estabrook | |
| 2026-08-25 | T9231: change function name for clarity | John Estabrook | |
| 2026-08-25 | T9231: drop unintended restriction on signature | John Estabrook | |
| 2026-08-25 | T9231: add coarse ordering when loading reference tree | John Estabrook | |
| Order by file name before loading, useful for the rare case of visual inspection of the data structure. Strict orderings of derived data is left to Python wrappers. | |||
| 2026-08-25 | T9231: exclude spurious final tag value in subtree_from_partial | John Estabrook | |
| 2026-08-25 | T9231: add option descent in subtree_from_partial | John Estabrook | |
| This has application in collecting the values of a partial path of a tag/leaf node; it has no effect on the general case. | |||
| 2026-08-25 | T9231: change option name from recurse to descent | John Estabrook | |
| The term 'recurse' has other uses; change to the term 'descent', which more aptly describes 'including descendants of a node'. | |||
| 2026-08-14 | Merge pull request #90 from jestabro/diff-functor | Daniil Baturin | |
| T9169: Refactor vyos1x-config diff functions in functorial style | |||
| 2026-08-09 | T9182: simplify lexical_numeric_compare and catch corner case | John Estabrook | |
| With bugs resolved, behavior remains as before, distinguishing numerical substrings containing leading 0's: this is to allow distinction in the case of arbitrary node name practices, such as "name1" and "name01". Equality of integer values is a matter for parsing/validation, not the comparator. | |||
| 2026-08-05 | T9169: remove the now refactored config_diff | John Estabrook | |
| 2026-08-05 | T9169: move util subtree_from_partial to derived | John Estabrook | |
| The module derived should be the location for constructions involving both config_tree and reference_tree. | |||
| 2026-08-05 | T9169: move clone function and values set to config_tree | John Estabrook | |
| 2026-08-05 | T9169: factor out union/merge functions from config_diff | John Estabrook | |
| 2026-08-05 | T9169: add mask instances | John Estabrook | |
| 2026-08-05 | T9169: add diff_show instance | John Estabrook | |
| 2026-08-05 | T9169: add diff_compare instance | John Estabrook | |
| 2026-08-05 | T9169: add diff_tree instance | John Estabrook | |
| 2026-08-05 | T9169: factor out diff calculation module | John Estabrook | |
| 2026-05-27 | T8916: add missing descendents along paths in mask_exclusive | John Estabrook | |
| 2026-05-26 | T8916: add missing descendents along paths in subtree_from_partial | John Estabrook | |
| 2026-04-16 | T8488: add read/write to string in 'internal' (yojson) format | John Estabrook | |
| In addition to the existing read/write yojson to file, it is useful to have the string representation, for example, for including in config-sync request. | |||
| 2026-04-16 | T8488: add utility subtree_from_partial | John Estabrook | |
| Return the subtree of a configtree indicated by a path that may only be partly defined, lacking some or all intervening tag node value. | |||
| 2026-04-16 | T8488: add mask_exclusive | John Estabrook | |
| This is the complement to mask_inclusive, for excluding subpaths of a tree, for example, a subtree first isolated by mask_inclusive. | |||
| 2026-04-16 | T8488: add utility refpath_from_partial | John Estabrook | |
| Infer the reference path from a path that may or may not contain intervening tag nodes. Return an empty list on a nonsensical path. | |||
| 2026-03-11 | T8269: handle element constraintSilenceOutput in creation of ref tree | John Estabrook | |
| 2026-02-24 | T8313: add copy and rename to completion op variant | John Estabrook | |
| 2026-02-24 | T8312: add edit to completion op variant | John Estabrook | |
| 2026-02-06 | T8232: functions to calculate and render config tree with defaults | John Estabrook | |
| 2026-02-06 | T8232: add extended fold over tree function to track level | John Estabrook | |
| The function fold_tree_with_path_cont allows the called function to return a list of values, reset at each return to local root. The motivating example is to carry a stack of boolean values to ignore paths below a certain level. | |||
| 2026-02-06 | T8232: Config_tree.get_subtree should preserve tag attribute at root | John Estabrook | |
| This is useful when walking a subtree of a config tree, as is used in config_dict. | |||
| 2026-02-06 | T8232: add util get_subtree for reference_tree | John Estabrook | |
| This is the direct analogue of Config_tree.get_subtree, a safe wrapper around Vytree.get. Note that the twin functions could easily have been abstracted under Tree_alg, however, for such simple functions the redundancy is preferable. | |||
| 2026-02-06 | T8232: simplify return value of fold_tree_with_path | John Estabrook | |
| The details do not need to be exposed in the function signature. | |||
| 2026-01-14 | T8164: add completion help hints to get_completion_env | John Estabrook | |
| 2026-01-14 | T8164: add util list_of_string to split on whitespace | John Estabrook | |
| 2026-01-08 | Merge pull request #62 from jestabro/misplaced-check-in-completion-env | Daniil Baturin | |
| T8156: fix misplaced check for Nonexistent_path in get completion env | |||
| 2026-01-07 | T8157: add missed case of vyconf completion, in the absence of valueHelp | John Estabrook | |
| This is the analogue of the case for cli-shell-api: if the XML element valueHelp does not exist, use the element help. | |||
| 2026-01-06 | T8156: fix misplaced check for Nonexistent_path in get completion env | John Estabrook | |
| 2025-12-21 | T8113: fix logic error in show on tag nodes | John Estabrook | |
| Due to an unnecessary modification of the path argument, a deleted tag node value will be shown as a deleted tag node: the deletion is processed correctly, but the show annotation is incorrect. | |||
| 2025-12-19 | T8109: fix show command on leaf path | John Estabrook | |
| Leaf node name/value was not included in output. | |||
| 2025-12-17 | T8061: add function get_completion_env | John Estabrook | |
| 2025-12-17 | T8061: add function get_default_value | John Estabrook | |
| 2025-12-17 | T8061: simplify allowed_edit_node with path_type | John Estabrook | |
| 2025-12-17 | T8061: extend node_type to path_type for path characteristics | John Estabrook | |
| For an arbitrary path, determine if it has the characterists of a configuration path, and return the potential node type, solely in terms of the reference tree. No validation is taking place on values. | |||
| 2025-12-17 | T8061: add boolean test for compatibility of path with reference tree | John Estabrook | |
| 2025-12-17 | T8061: require strict check of existence in refpath | John Estabrook | |
| For use in reference_path_exists, add strict check in the utility that forms the reference path from a config path. | |||
| 2025-12-17 | T8061: add test potential_leaf_value and refine error messages | John Estabrook | |
