#727706 distro-info: feature request: cmdline options to report columnar field data from csv

Package:
distro-info
Source:
distro-info
Description:
provides information about the distributions' releases
Submitter:
Stephen Dowdy
Date:
2013-10-25 16:06:06 UTC
Severity:
wishlist
#727706#5
Date:
2013-10-25 15:55:36 UTC
From:
To:
Dear Maintainer,

ISTM that 'debian-distro-info' would greatly benefit from a mode
where it prints all/any of the csv fields for a selected codename.

e.g.

*option* = currently unsupported/desired command line option

$ debian-distro-info --stable *--release*
2013-05-04

$ debian-distro-info --oldstable *--eol*
2014-05-04

$ debian-distro-info --oldstable *--version*
6.0

$ debian-distro-info --testing *--version*
8.0

$ debian-distro-info --testing *--release*
undefined

$ debian-distro-info --stable *--allinfo*
version:    7.0
codename:   Wheezy
series:     wheezy
created:    2011-02-06
release:    2013-05-04
eol:        undefined


(note there's also a contradiction here with the new versioning
scheme.  i.e. Wheezy is listed as version 7.0, but i think it's
now supposed to be just "7", as the middle number of a version
has been deprecated, that's probably a distro-info-data bug?.)

thanks,
--stephen