[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#559761: ITP: release -- provides information about the current releases

Am Montag, den 07.12.2009, 09:03 +0100 schrieb Frank Lin PIAT:
> On Mon, 2009-12-07 at 00:14 +0100, Benjamin Drung wrote:
> > 
> > * Package name    : release
> The tool isn't about releasing, but about to querying the release. Also,
> it's about distribution release (not package...). May be a name like
> {get|query}-distr[o]?-release... or something completely different like
> "supported-distro" would be more explicit.

Yes, the name is a bit to generic. Any other suggestions for the name?
On the mailing list I found 'release-info'. On my list are now:

* release-info
* distro-release-info
* distro-releases

Any preferred name or suggestions?

Should i rename the scripts, too?

> >   Description     : provides information about the current releases
> > 
> >  This package contains information about all releases of Debian and Ubuntu. The
> >  release script will give you the codename for e.g. the latest stable release of
> >  your distribution.
> There was some discussions about a similar tool & issues:
>  http://lists.debian.org/debian-devel/2007/05/msg01138.html
> and to query Debian point release.
>  http://lists.debian.org/debian-devel/2007/12/msg00742.html

The topic of these discussions were slightly different. The release
packages does not know anything about the running release. It only needs
a date (and up-to-date data) for calculating the result.

> >  To get information about a specific distribution there are
> >  the debian-release and the ubuntu-release scripts.
> I suppose you mean that there will be different back-end script.
> (I suppose that you don't mean that each program will have to implement
> a select/case algorithm?)

Yes, there are different back-end scripts. Due to different release
models the both scripts use different algorithms. The distro data are
stored in cvs files (like a table) and then I throw a little bit of
Python on it. Subtracting the command line parsing only 60 lines of code
are required.

> > It's based on the idea posted on the ubuntu-devel-discuss mailing list
> > [1]. Comments, suggestions and feature requests are highly welcome.
> > 
> > For Debian I need some informations: Until when were following
> > releases supported: buzz, rex, bo, hamm, slink, and potato?
> See http://wiki.debian.org/DebianReleases but I didn't/couldn't find the
> information for bo/rex/buzz. Anyone ?

I found that page, too. The wikipedia page of Debian did not contain
more information.

> AFAIK, Debian have never supported more than two stable distributions
> (stable + old-stable), therefore, you can assume that a distribution end
> of life is "lower than" distribution N+2 release.

I used this algorithm to calculate the support dates until we find
something more precise.

Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply to: