Page MenuHomeVyOS Platform

image-tools: 'show system image' Command Not in Order
Closed, ResolvedPublicBUG

Description

It appears that after the most recent changes to the show system image command, images are no longer shown in order. This isn't a functional issue, but it does make it notably more difficult to tell which releases are newer or older:

trae@cr01a-vyos:~$ show sys im 
Name                      Default boot    Running
------------------------  --------------  ---------
1.5-rolling-202311231639
1.5-rolling-202310190118
1.5-rolling-202312130023  Yes             Yes
1.4-rolling-202309070021
1.5-rolling-202310100022
1.5-rolling-202312040024
1.5-rolling-202311300023

Is there any way someone can run a sort() or something on the image list before it's displayed?

Note: this is a fix for T4516

Details

Difficulty level
Easy (less than an hour)
Version
1.5-rolling-202312130023
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

trae32566 changed the task status from Open to In progress.Dec 14 2023, 12:32 PM
trae32566 claimed this task.
trae32566 renamed this task from Show System Image Command Not in Order to image-toolsShow System Image Command Not in Order.Dec 14 2023, 12:37 PM
trae32566 renamed this task from image-toolsShow System Image Command Not in Order to image-tools: Show System Image Command Not in Order.
trae32566 updated the task description. (Show Details)
trae32566 renamed this task from image-tools: Show System Image Command Not in Order to image-tools: 'show system image' Command Not in Order.Dec 14 2023, 12:43 PM
Viacheslav changed the task status from In progress to Needs testing.Dec 14 2023, 6:11 PM