odb icon indicating copy to clipboard operation
odb copied to clipboard

Display versions in package list

Open superbobry opened this issue 13 years ago • 1 comments

Would be nice to have versions printed along with package names, in the same way findlib does it:

Available packages:
lwt              (version: 2.3.1)
bitstring        (version: 0.7)

What do you think?

superbobry avatar Oct 26 '11 09:10 superbobry

On 10/26/2011 05:24 AM, Sergei Lebedev wrote:

Would be nice to have versions printed along with package names, in the same way findlib does it:

Available packages:
lwt                 (version: 2.3.1)
bitstring        (version: 0.7)

What do you think?

The upside of this is that for a smallish number of packages, there's more useful information provided. If oasis-db grows to the size of cpan, I don't imagine this will be so useful, as the density of the list will go down significantly, making it scroll by quickly.

Overall, I like it, but maybe we should put it as a "-q" option, which takes a pattern as argument and only prints packages matching that pattern (possibly plus dependencies?)

E.

thelema avatar Oct 26 '11 11:10 thelema