SUSE-Enceladus / keg

Kiwi Entwicklungs-Gerät (tool to produce kiwi image descriptions)
GNU General Public License v3.0
8 stars 6 forks source link

Improve list command #129

Closed jgleissner closed 1 year ago

jgleissner commented 1 year ago

Make list operation faster by not fully populating all image definitions. Find longest strings to output and size output fields accordingly for better format.

Note: This skips validation of image definitions, which with the number of image definitions in keg-recipes just takes way too long for a simple list command. The version number is also not necessarily available in the output (only when defined in images/, which for instance is not the case in keg-recipes), but I think that's ok and version numbers can be overwritten anyway.