Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-03-30 | T7272: expose config_tree clone | John Estabrook | |
2025-02-03 | T6946: add function get_tagged_delete_tree to restore tag values | John Estabrook | |
The config diff function produces both del(ete) and sub(tract) trees. The delete tree contains the minimal path difference between compared trees, for example, between the active and proposed configs; this is the information needed to execute removal of a path. The subtract tree contains the full paths in active that are not in proposed; this retains necessary information in certain cases. In case all tag values of a tag node are removed, the delete tree contains only the tag node itself, however for proper script execution of a deleted tag node, one will need the removed tag node values: restore this information from the subtract tree. | |||
2024-10-24 | T5528: add support for cstore_diff function | John Estabrook | |
2024-03-29 | T6180: add ability to apply mask to config tree | John Estabrook | |
2023-07-27 | T5317: remove mutable references | John Estabrook | |
Redesign and implement version without mutable refs. | |||
2023-07-27 | T5316: drop trim functions | John Estabrook | |
2023-07-27 | T5316: use a single pass of diff function instead of trim function | John Estabrook | |
2023-03-23 | T5089: add tree_union for use in unit test. | John Estabrook | |
2023-02-10 | T4991: add function show_diff for unified diff of configs | John Estabrook | |
2022-02-28 | T4235: add function 'trim_tree' to produce tree for delete commands | John Estabrook | |
2022-02-25 | T4235: change type/variable names for clarity; add is_empty for list | John Estabrook | |
2022-02-25 | T4235: keep full paths in subtract tree | John Estabrook | |
In the intial implementation, the delete tree only kept the first node of a path not present in the RHS of the comparison; this was done as a convenience for generating 'trimmed' delete commands for the CLI. However, this loses needed information, and breaks the symmetry of results: LHS, RHS -> del, inter, add RHS, LHS -> add, inter, del Keep full paths in delete tree and rename trees.del to trees.sub(-tract). A separate function 'trim_tree' will be provided to produce a CLI-appopriate delete tree and commands. | |||
2022-02-23 | T4235: function diff_tree now returns single tree containing diffs | John Estabrook | |
2022-02-08 | configtree: T4235: implementation of config tree diff | John Estabrook | |