Skip to content

output during run of butido build: align version numbers #439

@christophprokop

Description

@christophprokop

output during build currently looks like this

00:00:08 100% █████ bonnie f54b710 eaa0319e-c421-4bc0-bae4-b373bc01ce15 ██ yasm 1.3.0
00:01:21 100% █████ emma   1295a37 623b0789-88dc-47dc-b318-4c044ac5ea5f ██ libsdl2 2.30.0
00:01:36 100% █████ bonnie a13a0fb dfb02f99-f49c-41ab-88a8-b22c67df62dd ██ libvorbis 1.3.7
00:00:11 100% █████ bonnie 4c3bec3 2db38d4e-4d4b-4851-9ac9-40e4f7f810c8 ██ libogg 1.3.5
00:00:00   0% ░░░░░ ------ ------- ab8aac26-828e-48e0-9fc9-86e4299b64fe ██ libvpx 1.14.0 Waiting, (0/1)
00:00:35 100% █████ emma   9df8195 c0b30574-5f82-4355-8683-d817d1a33241 ██ openh264 2.2.0
00:01:34   0% ░░░░░ ------ ------- f26e1e2c-71a1-4a4e-8fff-3283adaa4ed5 ██ libtheora 1.1.1 Waiting, (2/3)
00:00:13 100% █████ bonnie 49def9d 5adcb734-4cb3-4282-8ca8-779ab7447c65 ██ libopus 1.4
00:01:34   0% ░░░░░ ------ ------- 8a36a6a4-5e0d-4188-9123-a13a6efb8b7a ██ ffmpeg 7.1 Waiting, (4/7)                      

would be nice to align the version numbers
all pkg names (and hence the length of their strings are known before the run starts) aligned, then padding until version numbers and then all version numbers in one nice column
Left-aligned version numbers are sufficient here.

like this:

00:00:08 100% █████ bonnie f54b710 eaa0319e-c421-4bc0-bae4-b373bc01ce15 ██ yasm      1.3.0
00:01:21 100% █████ emma   1295a37 623b0789-88dc-47dc-b318-4c044ac5ea5f ██ libsdl2   2.30.0
00:01:36 100% █████ bonnie a13a0fb dfb02f99-f49c-41ab-88a8-b22c67df62dd ██ libvorbis 1.3.7
00:00:11 100% █████ bonnie 4c3bec3 2db38d4e-4d4b-4851-9ac9-40e4f7f810c8 ██ libogg    1.3.5
00:00:00   0% ░░░░░ ------ ------- ab8aac26-828e-48e0-9fc9-86e4299b64fe ██ libvpx    1.14.0 Waiting, (0/1)
00:00:35 100% █████ emma   9df8195 c0b30574-5f82-4355-8683-d817d1a33241 ██ openh264  2.2.0
00:01:34   0% ░░░░░ ------ ------- f26e1e2c-71a1-4a4e-8fff-3283adaa4ed5 ██ libtheora 1.1.1 Waiting, (2/3)
00:00:13 100% █████ bonnie 49def9d 5adcb734-4cb3-4282-8ca8-779ab7447c65 ██ libopus   1.4
00:01:34   0% ░░░░░ ------ ------- 8a36a6a4-5e0d-4188-9123-a13a6efb8b7a ██ ffmpeg    7.1 Waiting, (4/7)                      

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions