Skip to content

Image size to be acquired not detected #1793

@Ricky-Tigg

Description

@Ricky-Tigg
$ rpm -q toolbox
toolbox-0.3-4.fc44.x86_64

host: latest stable edition

$ hostnamectl | sed -n '8,10p' | awk '$1=$1'
Operating System: Fedora Linux 44 (Workstation Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:44
OS Support End: Wed 2027-05-19

Hello. '--release' accepts, as expected, the release numbers corresponding to the supported stable editions and, surprisingly, also those whose editions have reached EOL status. Nevertheless inconsistencies can be found.

Case involving release number of the Fedora's development branch

With Rawhide

$ toolbox create --release 45
Image required to create Toolbx container.
Download registry.fedoraproject.org/fedora-toolbox:45 (378MB)? [y/N]:

Size detected

note: It would be advisable to separate the value and the unit. Not all systems are configured with British or derivative countries locale settings. As it stands, this syntax does not conform to the grammatical norms in force in other countries, which define the value and the unit as being written separately from each other, and what's more, it impairs readability.

I can reasonably conclude that release numbers matching 'Rawhide' are valid. Nevertheless I cannot tell my conclusion is even correct until I enter the container. The output lacks informative details.

Case involving invalid release number

$ toolbox create --release 46
Image required to create Toolbx container.
Download registry.fedoraproject.org/fedora-toolbox:46? [y/N]:

Size not detected, mention relating to it missing

The size being missing cannot however be deduced by the reader from the output itself; "46?". It could solely be so by knowing that it has to be compared to a command output involving a valid release number.

Hence in this context, the surprise that must cause to discover what image might have been acquired with such a command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions