Skip to content

Provide consistent fields for the 'zopen list' options #41

@MikeFultonDev

Description

@MikeFultonDev

On my system:

FULTONM@ZOSCAN2B bash ~> zopen list --upgradeable
Package                                Your version                           .version                               Latest Tag
bash                                   5.2.15.20230705_105809                 5.2.15                                 stable
curl                                   8.1.2.20230707_145137                  8.1.2                                  stable
git                                    2.41.0.20230721_160408                 2.41.0                                 stable
groff                                  1.22.4.20230622_204353                 1.22.4.20230622_204353                 stable
jq                                     1.6.20230720_160648                    1.6                                    stable
less                                   632.20230705_153450                    632                                    stable
libiconv                               master.20230801_133642                 1.17                                   stable
man-db                                 2.11.2.20230627_230209                 2.11.2                                 stable
ncurses                                6.3.20230705_122326                    6.3                                    stable
perl                                   blead.20230605_161457                  blead.20230605_161457                  stable
vim                                    master.20230707_142419                 9.0.1673                               stable
FULTONM@ZOSCAN2B bash ~> zopen list --installed
Package                                             Installed version                                   File version
bash-5.2.15.20230705_105809.zos                     5.2.15                                              bash-5.2.15.20230705_105809.zos
curl-8.1.2.20230707_145137.zos                      8.1.2                                               curl-8.1.2.20230707_145137.zos
git-2.41.0.20230721_160408.zos                      2.41.0                                              git-2.41.0.20230721_160408.zos
groff-1.22.4.20230622_204353.zos                    1.22.4.20230622_204353                              groff-1.22.4.20230622_204353.zos
jq-1.6.20230720_160648.zos                          1.6                                                 jq-1.6.20230720_160648.zos
less-632.20230705_153450.zos                        632                                                 less-632.20230705_153450.zos
libiconv-master.20230801_133642.zos                 1.17                                                libiconv-master.20230801_133642.zos
man-db-2.11.2.20230627_230209.zos                   2.11.2                                              man-db-2.11.2.20230627_230209.zos
meta-dt                                             0.3.0-dt-stable                                     meta-dt
ncurses-6.3.20230705_122326.zos                     6.3                                                 ncurses-6.3.20230705_122326.zos
perl5-blead.20230605_161457.zos                     blead.20230605_161457                               perl5-blead.20230605_161457.zos
vim-master.20230707_142419.zos                      9.0.1673                                            vim-master.20230707_142419.zos

It would be nice to have common names and values for the different fields. I personally like a simple package name, e.g.
bash vs bash-5.2.15.20230705_105809.zos since the other information is in the other fields.

It would be nice to have common titles for the fields that are similar, so 'Installed Version' and 'Your version' I believe are the same thing, and should be the same format. I personally like a simple version name, e.g. 5.2.15 vs 5.2.15.20230705_105809.

I am not sure what the lists would look like if you had both stable and dev releases - should the zopen list --installed also have the 'tag' column to indicate what type of build it is?

Should the column for 'Latest tag' perhaps just be 'Tag'? I'm expecting if I had 'dev' and 'stable' both installed that I would get two entries for zopen list --upgradeable since I could choose which (or possibly both) that I wanted to upgrade?

Perhaps separate issue, but is the 'blead' in the perl version information really a tag? I don't see 'master' for example in 'vim' or 'libiconv'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions