Page MenuHomeVyOS Platform

Provide list of config-mode scripts scheduled for proposed commit
On hold, NormalPublicENHANCEMENT

Description

This is a simple function for returning the list of config-mode scripts, ordered by priority, that will be called for the proposed commit. As it may have general use it is added here, with motivation from the need to prune scheduled config dependency scripts (T5660).

Note also that in reasoning about priorities and script execution order, one needs to keep in mind the analysis in T5492 while we are still in the situation of the legacy commit-algorithm; conversely, the reference tree data will allow correcting this in the future algorithm, similar to the (simple) construction in the first commit below.

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

jestabro triaged this task as Normal priority.Oct 18 2023, 5:34 PM
jestabro created this task.
jestabro created this object in space S1 VyOS Public.

Implementation; this may be slightly revised before PR, to provide extra data ...
https://github.com/vyos/vyos-1x/compare/current...jestabro:commit-schedule

jestabro changed the task status from Open to On hold.Mar 1 2024, 2:49 PM

The motivation here was from T5660, for which it was not needed. However, a version of the constructions in the branch above will be useful for development of the modern commit algorithm and comparison with the idiosyncrasies of legacy (T5492). Put on hold for now.