summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-03-20Merge pull request #35 from jestabro/relax-lexerJohn Estabrook
T7246: drop lexer rule ignoring lines beginning with '//'
2025-03-19T7258: added workflows for pr mirror and added codeowners (#36)Vijayakumar A
--------- Co-authored-by: kumvijaya <kuvmijaya@gmail.com>
2025-03-18T7246: drop lexer rule ignoring lines beginning with '//'John Estabrook
The lexer is unnecessarily aggressive in disallowing strings following '//', originally added to ignore version string information. This has the side effect of ignoring legitimate values. Since the version string is now extracted before parsing, this restriction can be dropped.
2025-02-06Merge pull request #34 from jestabro/commit-algDaniil Baturin
T6946: add utilities for commit algorithm
2025-02-03T6946: add function get_tagged_delete_tree to restore tag valuesJohn 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.
2025-01-30T6946: add utilities for commit algorithmJohn Estabrook
2025-01-20Merge pull request #33 from jestabro/modular-reference-treeDaniil Baturin
T7046: add utilities for update of reference tree
2025-01-15T7046: add merge_reference_tree_cache and cache i/oJohn Estabrook
To support addon packages with separate interface-definitions dirs, refactor reference_tree_to_json.
2025-01-15T7046: add proper locks and checks on internal repJohn Estabrook
2025-01-15T7046: use generalized tree_union for config_diff nosetestJohn Estabrook
2025-01-15T7046: extend tree_union to reference_tree for addon supportJohn Estabrook
2025-01-14Merge pull request #32 from rebortg/T6342Daniil Baturin
T6342: add parsing of docs element
2025-01-13T6342: formating and delete trailing whitespacerebortg
2025-01-08T6342: add parsing of docs elementrebortg
2024-11-07Merge pull request #31 from jestabro/vyconf-minimalDaniil Baturin
T6718: use the vyconf daemon for validation of set commands
2024-10-25T6718: inject environment variables required by certain validatorsJohn Estabrook
2024-10-24T6718: catch bad_validator errorJohn Estabrook
2024-10-24T6718: format error outputJohn Estabrook
2024-10-24T6718: fix typo in quoting argJohn Estabrook
2024-10-24T6718: validate_path returns unit instead of (path, value)John Estabrook
Splitting of path arg into (path, value), as originally returned by validate_path, is now handled by a utility function. validate_path returns unit on success and raises error with output on failure.
2024-10-24T6718: update value_checker to return validator output on errorJohn Estabrook
2024-10-24T6718: util list_of_path: config path str -> config path listJohn Estabrook
Allow for single-quoted values containing whitespace, as used by vyconf vycli for option --path.
2024-10-24T6718: add function refpath: config path -> reference_tree pathJohn Estabrook
2024-10-24T6718: add optional arg to write internal rep during buildJohn Estabrook
2024-10-24T6718: add functor for internal repJohn Estabrook
2024-10-24T6718: minor changes to support vyconf testsJohn Estabrook
2024-10-24T6718: move validate_path from vyconfJohn Estabrook
2024-10-24T6718: add simplified render_at_levelJohn Estabrook
2024-10-24T5528: add support for cstore_diff functionJohn Estabrook
2024-09-27Merge pull request #30 from dmbaturin/T6742-childless-leaf-nodes-renderingJohn Estabrook
renderer: T6742: make childless non-leaf nodes from parsed configs render correctly
2024-09-27renderer: T6742: force leaf=true in all functions that manipulate node valuesDaniil Baturin
2024-09-27renderer: T6742: set leaf=true in replace_valueJohn Estabrook
2024-09-26renderer: T6742: make childless non-leaf nodes from parsed configs render ↵Daniil Baturin
correctly and add functions for making nodes leaf or non-leaf to ensure correct rendering of manually created treess
2024-05-27Merge pull request #27 from jestabro/reference-constraint-groupcircinus-streamcircinusChristian Breunig
T6404: add constraintGroup element to reference tree
2024-05-26T6404: add constraintGroup element to reference treeJohn Estabrook
2024-03-29Merge pull request #25 from jestabro/tree-maskDaniil Baturin
T6180: add ability to apply mask to config tree
2024-03-29T6180: add ability to apply mask to config treeJohn Estabrook
2024-03-21Merge pull request #24 from jestabro/priorityDaniil Baturin
T6149: update node_data if necessary when merging nodes
2024-03-21T6149: update node_data if necessary when merging nodesJohn Estabrook
2024-03-14Merge pull request #23 from jestabro/fix-escapeDaniil Baturin
T6111: Fix modification of String.escaped to leave UTF-8 bytes unescaped
2024-03-12T6111: Fix modification of String.escaped to leave UTF-8 bytes unescapedJohn Estabrook
The existing fix still passed the string as a whole to Bytes.escaped (as does the standard library function): the exemption of chars with high bit set needs to occur in Bytes.escaped as well.
2023-08-23Merge pull request #21 from jestabro/render-valueless1.4.0-epa21.4.0-epa1John Estabrook
T5500: adjust render function on valueless leaf and tag node values
2023-08-22T5500: render_tag_node_child does not need to consider valuesJohn Estabrook
Configtree allows for a tag node child to have values, however it is not possible to define such an object in the XML interface-definitions, hence that case can be ignored in render_tag_node_child.
2023-08-22T5500: remove empty braces after valueless nodeJohn Estabrook
2023-07-28Merge pull request #19 from jestabro/immutableDaniil Baturin
T5317: remove mutable references
2023-07-27T5317: remove mutable referencesJohn Estabrook
Redesign and implement version without mutable refs.
2023-07-27T5316: drop trim functionsJohn Estabrook
2023-07-27T5316: use a single pass of diff function instead of trim functionJohn Estabrook
2023-07-25Merge pull request #20 from jestabro/filter-xml-filesJohn Estabrook
T5194: filter on files of extension .xml
2023-07-25T5194: filter on files of extension .xmlJohn Estabrook