Re: Bug#559761: ITP: release -- provides information about the current releases
Am Freitag, den 11.12.2009, 09:17 +0100 schrieb Frank Lin PIAT: On Fri, 2009-12-11 at 00:09 +0100, Benjamin Drung wrote: To sum up the naming discussion, there are two possible package names: * distro-release-info * release-info The two distro-specific script will be named debian-release-info and ubuntu-release-info. I tend to name the package distro-release-info and the symlinked script release-info. The distro specific script should be in /usr/share/release-info/. No. If I want to know the current stable release of Debian, I have to run 'debian-release-info -s' regardless which os/distro I run. If the distribution specific scripts are in the path, people may tend to use them, which isn't portable because one needs to know the local distribution before invoking the script. It depends on the purpose. Portable scripts have to use release-info, but distribution specific scripts can use $distro-release-info. Also, it you be nice if your script was easily extensible by Debian and Ubuntu derivatives. Every derivative can add their own $distro-release-info script. Having one generic script for all distributions would not work, because there is not _one_ release policy for all. BTW, did you notice that the DebianRelease[1] wiki page has a link per distribution release, with EOL dates (?) Yes, but for buzz to hamm (1.1 to 2.0) the EOL dates are missing. I just have a feature request: add some --foobar-url options, which would return some official urls about that distribution: * Info and support (http://www.debian.org/releases/lenny/ ) * Release Notes (http://www.debian.org/releases/lenny/releasenotes ) * Errata (http://www.debian.org/releases/stable/errata ) * Installation Guide (http://www.debian.org/releases/lenny/installmanual ) Do you have a use case for that? If you want to know these URLs for the current installed distro, you can use lsb_release instead: http://www.debian.org/releases/$(lsb_release -cs)/ http://www.debian.org/releases/$(lsb_release -cs)/releasenotes We would need the equivalent URLs for Ubuntu. -- Benjamin Drung Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org) signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: Bug#559761: ITP: release -- provides information about the current releases
Am Freitag, den 11.12.2009, 15:57 -0600 schrieb Peter Samuelson: [Benjamin Drung] 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 I'd go with 'os-release'. Mostly because I hate the word 'distro'. To avoid the distro/os discussion, I will use release-info as package name. It's short and not too generic. Unix tradition is to have a bit of OS release info in one flag of 'uname' or another, but of course on Linux, where the kernel and the userland are fairly decoupled, this makes less sense. (Also, one might think /usr/share/misc/config.guess could say whether we're on debian or ubuntu ... but it doesn't.) -- Benjamin Drung Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org) signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: Bug#559761: ITP: release -- provides information about the current releases
On Fri, 2009-12-11 at 00:09 +0100, Benjamin Drung wrote: To sum up the naming discussion, there are two possible package names: * distro-release-info * release-info The two distro-specific script will be named debian-release-info and ubuntu-release-info. I tend to name the package distro-release-info and the symlinked script release-info. The distro specific script should be in /usr/share/release-info/. If the distribution specific scripts are in the path, people may tend to use them, which isn't portable because one needs to know the local distribution before invoking the script. Also, it you be nice if your script was easily extensible by Debian and Ubuntu derivatives. BTW, did you notice that the DebianRelease[1] wiki page has a link per distribution release, with EOL dates (?) I just have a feature request: add some --foobar-url options, which would return some official urls about that distribution: * Info and support (http://www.debian.org/releases/lenny/ ) * Release Notes (http://www.debian.org/releases/lenny/releasenotes ) * Errata (http://www.debian.org/releases/stable/errata ) * Installation Guide (http://www.debian.org/releases/lenny/installmanual ) Franklin [1] http://wiki.debian.org/DebianReleases -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bug#559761: ITP: release -- provides information about the current releases
On Thu, 2009-12-10 at 23:59 +0100, Benjamin Drung wrote: Am Mittwoch, den 09.12.2009, 09:34 +0800 schrieb Paul Wise: On Wed, Dec 9, 2009 at 8:07 AM, Benjamin Drung bdr...@ubuntu.com wrote: 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: 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. Try the debian-history package or its maintainer. I could not find information about the support period in this package. Bdale, do you have more information? Not offhand. I welcome patches to improve this part of the content in debian-history, however. Am Mittwoch, den 09.12.2009, 15:05 +0100 schrieb Javier Fernandez-Sanguino: The proper source for this information is the Project History document, available online at http://www.debian.org/doc/manuals/project-history/ch-releases.en.html or in the debian-history package. I could not find end of live dates on this website. Bdale -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bug#559761: ITP: release -- provides information about the current releases
[Benjamin Drung] 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 I'd go with 'os-release'. Mostly because I hate the word 'distro'. Unix tradition is to have a bit of OS release info in one flag of 'uname' or another, but of course on Linux, where the kernel and the userland are fairly decoupled, this makes less sense. (Also, one might think /usr/share/misc/config.guess could say whether we're on debian or ubuntu ... but it doesn't.) -- Peter Samuelson | org-tld!p12n!peter | http://p12n.org/ -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bug#559761: ITP: release -- provides information about the current releases
Am Mittwoch, den 09.12.2009, 09:34 +0800 schrieb Paul Wise: On Wed, Dec 9, 2009 at 8:07 AM, Benjamin Drung bdr...@ubuntu.com wrote: 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: 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. Try the debian-history package or its maintainer. I could not find information about the support period in this package. Bdale, do you have more information? Am Mittwoch, den 09.12.2009, 15:05 +0100 schrieb Javier Fernandez-Sanguino: The proper source for this information is the Project History document, available online at http://www.debian.org/doc/manuals/project-history/ch-releases.en.html or in the debian-history package. I could not find end of live dates on this website. -- Benjamin Drung Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org) signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: Bug#559761: ITP: release -- provides information about the current releases
To sum up the naming discussion, there are two possible package names: * distro-release-info * release-info The two distro-specific script will be named debian-release-info and ubuntu-release-info. I tend to name the package distro-release-info and the symlinked script release-info. Any preferences, suggestions, or objections? -- Benjamin Drung Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org) signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: Bug#559761: ITP: release -- provides information about the current releases
[Benjamin Drung] * distro-release-info This seem to me like the best name of the suggested names. Should i rename the scripts, too? I believe it would be best if the program name and the package name was the same. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bug#559761: ITP: release -- provides information about the current releases
2009/12/9 Benjamin Drung bdr...@ubuntu.com: 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: 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. The proper source for this information is the Project History document, available online at http://www.debian.org/doc/manuals/project-history/ch-releases.en.html or in the debian-history package. Regards Javier -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bug#559761: ITP: release -- provides information about the current releases
On Mon, Dec 07, 2009 at 09:03:07AM +0100, Frank Lin PIAT wrote: See http://wiki.debian.org/DebianReleases but I didn't/couldn't find the information for bo/rex/buzz. Anyone ? http://en.wikipedia.org/wiki/Debian#Release_history has the information and a citation for buzz but not rex or bo. Actually the citation isn't appropriate for buzz's support either. -- Jon Dowland signature.asc Description: Digital signature
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) signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: Bug#559761: ITP: release -- provides information about the current releases
On Wed, Dec 9, 2009 at 8:07 AM, Benjamin Drung bdr...@ubuntu.com wrote: 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: 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. Try the debian-history package or its maintainer. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bug#559761: ITP: release -- provides information about the current releases
On Wed, Dec 09, 2009 at 01:07:59AM +0100, Benjamin Drung wrote: 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 That sound appropriate to me. Should i rename the scripts, too? I don't know the current name, but having the scripts more or less in sync with the package name minimizes user surprises and also reduces the likelihood of file conflicts with other packages. My 0.02€, Cheers. -- Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 z...@{upsilon.cc,pps.jussieu.fr,debian.org} -- http://upsilon.cc/zack/ Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie sempre uno zaino ...| ..: | Je dis tu à tous ceux que j'aime signature.asc Description: Digital signature
Re: Bug#559761: ITP: release -- provides information about the current releases
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. 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 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?) 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 ? 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. Franklin -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#559761: ITP: release -- provides information about the current releases
Package: wnpp Severity: wishlist Owner: Benjamin Drung bdr...@ubuntu.com * Package name: release Version : 0.1 (native) Upstream Author : Benjamin Drung bdr...@ubuntu.com * License : GPL v3+ Programming Lang: Python 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. To get information about a specific distribution there are the debian-release and the ubuntu-release scripts. 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? [1] http://www.mail-archive.com/ubuntu-devel-disc...@lists.ubuntu.com/msg09951.html -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org