Open MikeFultonDev opened 1 year ago
Latest PR into main has changed some of the output formatting so headers should be a bit more consistent and/or meaningful
Looks more consistent now:
[ITODORO@ZOSCAN2B ~/projects/meta_russell]$ zopen list --upgradeable
Package Installed Available Latest Tag
bash 5.2.15.20230705_105809 5.2.15 stable
bison 3.8.2.20230616_161334 3.8.2 Releaseline_bisonport_1083
c3270 c3270.20230808_105201.zos.pax.Z 1.0.0 STABLE_c3270port_1194
[ITODORO@ZOSCAN2B ~/projects/meta_russell]$ zopen list --upgradeable --details
Package Installed Latest Tag Download Size Expanded Size Quality
bash 5.2.15.20230705_105809 stable 5838336 15175185 \047[34m80%
bison 3.8.2.20230616_161334 Releaseline_bisonport_1083 2806272 5399671 \047[34m99%
[ITODORO@ZOSCAN2B ~/projects/meta_russell]$ zopen list --installed
Package Installed File Releaseline
bash 5.2.15 bash-5.2.15.20230705_105809.zos n/a
bison 3.8.2 bison-3.8.2.20230616_161334.zos n/a
c3270 1.0.0 c3270.20230808_105201.zos n/a
coreutils 9.1.20230605_175907 coreutils-9.1.20230605_175907.zos n/a
cscope 15.9.20230720_121442 cscope-15.9.20230720_121442.zos n/a
ctags 5.8.20230720_122620 ctags-5.8.20230720_122620.zos n/a
Should File be Dir or path?
On my system:
It would be nice to have common names and values for the different fields. I personally like a simple package name, e.g.
bash
vsbash-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
vs5.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'