Skip to content

redhat/configs/evaluate_configs: insert EMPTY tags at correct place

evaluate_configs currently inserts empty tags always at the end of cfgvariants line, which breaks the table if a new variant is introduced (which is not a super-set of debug variant).

Let's walk cfgvariants to discover all toplevel directories and give each an ordering number. Then during addition of EMPTY tags walk through existing tags and compare ordering number of toplevel portion of each tag. This number determines where to insert new tag.

Signed-off-by: Jan Stancek jstancek@redhat.com

Merge request reports