summaryrefslogtreecommitdiff
path: root/lsb_release.py
Commit message (Collapse)AuthorAge
* Remove support for /etc/lsb-release in favour of /usr/lib/os-releaseDidier Raboud2018-11-28
| | | | | | This modifies `lsb-release -r` to be a single-digit alternative (10 instead of 10.5). Closes: #914287
* Fix regressions on python2Didier Raboud2016-11-25
| | | | Closes: #845489
* Update lsb_release.py to cope with the new Debian Ports' release labelHelge Deller2016-06-29
| | | | | Closes: #827137 Changed-by: Didier Raboud <odyx@debian.org> to have tests for both the old and the new versions
* Drop all the LSB compatibility packages besides lsb-release and lsb-baseDidier Raboud2015-08-12
| | | | | | | | | | | | - Drop packages-availability checking in lsb-release - Truncate README.Debian to a minimum - Document this in lsb-base.NEWS This was discussed on the debian-lsb and debian-devel lists in the following thread: https://lists.debian.org/4526217.myWFlvm1rM@gyllingar In particular, the following was the plan: https://lists.debian.org/4682310.7LIWdV4Lar@gyllingar
* Fix comparison of testing codenameDidier Raboud2015-08-12
| | | | Closes: #691744
* Actuall ignore suites when guessing the release from aptDidier Raboud2015-08-12
|
* Make sure '-proposed-updates' don't sort before unstableDidier Raboud2015-08-12
|
* Rework the releases codename handling:Didier Raboud2015-08-12
| | | | | | | - Depend and Build-Depend on distro-info-data, and populate the RELEASES_CODENAME_LOOKUP from that reference - Drop meaningless tests trying to compare random release names Gbp-Dch: Full
* Port to python3, keep compatibility symlink for lsb_release.pyAlexandre Detiste2015-07-14
| | | | Closes: #719063
* Allow multiarch alternatives of libc6-i386 and lib32z1Didier Raboud2014-06-09
| | | | | Thanks: Michael Biebl Closes: #748426
* In lsb_release, don't forget CODENAME when it's testing; therefore stop ↵Marcel Partap2014-05-28
| | | | | | calling apt-cache policy again Closes: #747413
* Fix lsb_release to correctly work with stable release updates incrementing ↵Didier Raboud2013-06-05
| | | | | | | | the second digit from Wheezy on. Also fix the test cases to cover that. Closes: #711174
* Get Distributor ID from /etc/dpkg/origins/default if existantDidier Raboud2013-05-15
| | | | | | This helps Debian derivatives to avoid forking the lsb package. Closes: #703677
* Add jessie to the release codenames lookup tableDidier Raboud2013-05-15
| | | | Also amend lsb-release.README.Debian to make it not too outdated.
* Accept utf-8 in `apt-cache policy` and `dpkg-query` outputs.Didier Raboud2012-06-04
| | | | | Reported-by: Frédéric Brière <fbriere@fbriere.net> Closes: #675618
* Py: Deprecate the compare_release function.Didier Raboud2012-05-23
| | | | In the process, rewrite it to be based on release_index() for robustness.
* Py3: Replace `compare` with `key` function.Didier Raboud2012-05-23
|
* PyUT: Add test_sort_releases to test multiple sorting syntaxes.Didier Raboud2012-05-23
| | | | Git-Dch: None
* Py3: Replace cmp usage by its equivalent.Didier Raboud2012-05-23
|
* Py3: Bugfix check_modules_installed()Didier Raboud2012-05-23
| | | | Git-Dch: None
* Py3: Fix lists usage and handling.Didier Raboud2012-05-23
|
* Py3: Replace commands with subprocess calls in lsb_release.py.Didier Raboud2012-05-23
| | | | | Thanks-to: Nicolas Dandrimont <nicolas.dandrimont@crans.org> Thanks-to: Jakub Wilk <jwilk@debian.org>
* Py3: Use new print() functions and fix types in lsb_release.pyDidier Raboud2012-05-23
| | | | Thanks-to: Jakub Wilk <jwilk@debian.org>
* Avoid useless calls to guess_release_from_apt().Francois Gouget2012-05-23
| | | | | | | | In guess_debian_release(), avoid calling guess_release_from_apt() if a codename is already provided. Closes: #674143 Signed-off-by: Didier Raboud <odyx@debian.org>
* PyUT: Implement test for lsb_release.guess_debian_release.Didier Raboud2012-05-23
| | | | | | This includes a modification of lsb_release.py to enable an overridability with an environment variable LSB_ETC_DEBIAN_VERSION that can point to another /etc/debian_version.
* PyUT: Implement test for lsb_release.get_lsb_information.Didier Raboud2012-05-22
| | | | | | This includes a modification of lsb_release.py to enable an overridability with an environment variable LSB_ETC_LSB_RELEASE that can point to another /etc/lsb-release
* PyUT: Implement a unittest for valid_lsb_versions.Didier Raboud2012-05-07
| | | | Take the opportunity to fix its output for cxx in 3.1.
* Rewrite debian/copyright using the copyright-format 1.0.Didier Raboud2012-03-15
| | | | | | - Also correct the FSF address on the python files. Signed-off-by: Didier Raboud <odyx@debian.org>
* Upgrade to support LSB 4.1.Didier Raboud2012-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | LSB changes: - Bump Depends: - on libglib2.0-0 to >= 2.12.13; - on fontconfig to >= 2.6.0; - on libglib2.0-0 to >= 2.12.13; - on libatk1.0-0 to >= 1.10.3; - on libpango1.0-0 to >= 1.10.4; - on libgtk2.0-0 to >= 2.10.14; - Add Depends: - on libglu1; - on libcairo2 to >= 1.2.0; - on libxtst6; - on ghostscript-cups; - In lsb, bump lsb-printing from Suggests to Depends. - Add the lsb-security package. - Drop the now-obsolete lsb-qt4 package. Debian changes: - libgl1-mesa-glx is the first alternative for libgl1; - Make sure all packages have ${misc:Depends}. Closes: #586191 LP: #385606 LP: #386128 Signed-off-by: Didier Raboud <odyx@debian.org>
* Don't display Debian revision in lsb_release modules version output.Didier Raboud2012-03-02
| | | | Signed-off-by: Didier Raboud <odyx@debian.org>
* Recognise Debian Ports as `sid` too.Didier Raboud2012-02-29
| | | | | | | | | | | This extends the interface of guess_release_from_apt to accept new origin-label pairs, with a default to accept 'Debian Ports': 'ftp.debian-ports.org'. It also special-cases Debian Ports when guessing Release and Codename. Closes: #624769 Reported-by: Thorsten Glaser <tg@mirbsd.de> Signed-off-by: Didier Raboud <odyx@debian.org>
* Fix for unsupported negative value in pin priorities.Simone Rossetto2012-02-27
| | | | | | | | | The priorities of repositories can be negative as reported in apt_preferences manpage "P < 0 prevents the version from being installed". The lsb_release.py script matches only positive values generating an invalid output for negative priorities. Closes: #540208
* Don't run apt-cache if /etc/lsb-release exists.Steve Langasek2012-02-27
| | | | | | | Since /etc/lsb-release overrides detected information, there's no need to try and detect that information if lsb-release contains everything we need. This saves us calling the hugely expensive apt-cache.
* Ensure that files are closed promptly in lsb_release.pyColin Watson2012-02-27
| | | | | | Python 3.2 prints ResourceWarning noise otherwise. Signed-off-by: Didier Raboud <odyx@debian.org>
* lsb 3.2-26 Debian release.Chris Lawrence2010-10-06
|
* lsb 3.2-25 Debian release.Chris Lawrence2010-09-27
|
* lsb 3.2-24 Debian release.Chris Lawrence2010-09-18
|
* lsb 3.2-23 Debian release.Chris Lawrence2009-07-21
|
* lsb 3.2-21 Debian release.Chris Lawrence2009-03-19