Page MenuHomeVyOS Platform

configtree: use a single pass of the diff algorithm
Closed, ResolvedPublicENHANCEMENT

Description

For clarity of the code, the diff algorithm is called twice: firstly to produce full difference trees, and secondly to produce the truncated tree of 'delete' commands. For the purpose of purity (remove mutable references) and generalization (manipulation of CStore data structure), it is useful to combine these in a single pass.

Details

Difficulty level
Easy (less than an hour)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

jestabro triaged this task as Normal priority.Jun 27 2023, 1:32 PM
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro changed Issue type from Improvement (missing useful functionality) to Internal change (not visible to end users).
jestabro claimed this task.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.