Please add planned end-of-life date to Launchpad API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Using the Launchpad API, it is easy to check if a given Ubuntu version is still supported:
import launchpadlib.
def supported(version):
cachedir = os.path.
lp = launchpadlib.
ubuntu = lp.distribution
return ubuntu.
I'm writing a Nagios check to ensure my machines are running a supported version of
Ubuntu. I'd like the check to return a warning state a couple of months before the
version reaches end-of-life, but as far as I can tell the end-of-life date is not avalable
via the Launchpad API. I'm aware of https:/
is fairly hard to parse.
Proposal: add an end_of_life attribute to object returned by getSeries, that contains
the currently scheduled end-of-life date as a string in YYYY-MM-DD format.
Maybe you need two attributes, since the server and desktop systems sometimes
have different end-of-life dates.
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |