Smart Package Manager 1.3.1

Milestone information

Project:
Smart Package Manager
Series:
trunk
Version:
1.3.1
Released:
 
Registrant:
Anders F Björklund
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
No users assigned to blueprints and bugs.
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
14 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon smart-1.3.1.tar.bz2 (md5, sig) smart-1.3.1 852
last downloaded 7 days ago
Total downloads: 852

Release notes 

- fix CVE-2009-3560 and CVE-2009-3720, for expat bundled with cElementTree
  affects Python 2.4 and earlier, without xml.etree.cElementTree (#521731)

- always set errors=replace, even for LANG=C or file/pipe output (#244004)
  before it would throw UnicodeEncodeError, as per errors=strict

- must check with os.path.isfile before tarfile.is_tarfile (#531001)

- refactor fnmatch usage, make it work with python 2.6.5 up too (#525940)

- use select instead of sleep, to avoid slowdown with pycurl. (#244466)
- make pycurl fail on errors, to fix issue with authentication (#244453)

- pycurl handler was hanging on fetch, if getting local IOError (#397743)
- skip setting mtime, on python bug returning AttributeError (#535628)

- also display changelog file for debian-native packages (no ".Debian")

- allow broken deb packages, with malformed Install-Size fields (#512302)

- fix broken (non-standard) splitarch/splitrelease for the arch backend

- slack backend had incomplete support for .txz type packages (#531307)

- add pre-commit/post-commit hooks, as a distro support feature (#245494)

- fix broken error handling/message, for mirrorlist and metalink (#567704)

- tests: super() is only available when inheriting from object (#354027)

- when running tests set LC_ALL=C, to override systems having LC_MESSAGES
- backport tests to python2.3, so we can run test suite for all versions

Changelog 

View the full changelog

* fix CVE-2009-3560 and CVE-2009-3720, for expat bundled with cElementTree
  affects Python 2.4 and earlier, without xml.etree.cElementTree [#521731]

* tests: super() is only available when inheriting from object [#354027]

* issue warning when doctests add sysconf channels, fix the urpmi test

* must check with os.path.isfile before tarfile.is_tarfile [#531001]

* allow broken deb packages, with malformed Install-Size fields [#512302]
  also allow rpm metadata installed_size to be missing, for RHN

* add test case for slack base, just like the other backends have already

* when running tests set LC_ALL=C, to override systems having LC_MESSAGES
  set in system config that would otherwise take precedence over LANG=C
  and break the expected test output by showing localized error messages

* the distro-init-file/DISTROFILE is used in a different smart process,
  so changing the constant doesn't change anything except initDistro().

* use select instead of sleep, to avoid slowdown with pycurl. [#244466]
  (but no need to update the progress bar more often, as it loads cpu.)

* make pycurl fail on errors, to fix issue with authentication [#244453]
  with test, and make sure the error messages match the expected output.

* pycurl handler was hanging on fetch, if getting local IOError [#397743]
  for instance when trying to fetch a package as a regular user

* fix permissions on new images, they were marked executable by accident

* skip setting mtime, on python bug returning AttributeError [#535628]

* also display changelog file for debian-native packages (no ".Debian")

* add pre-commit/post-commit hooks, as a distro support feature [#245494]

* backport tests to python2.3, so we can run test suite for all versions
  (was missing some TestCase methods, and doctest.ELLIPSIS with friends)

* refactor fnmatch usage, make it work with python 2.6.5 up too [#525940]

* slack backend had incomplete support for .txz type packages [#531307]
  also fix bug when merging the paths of baseurl and location

* fix broken (non-standard) splitarch/splitrelease for the arch backend
  also add the missing versplit tests, for all package manager backends

* always set errors=replace, even for LANG=C or file/pipe output [#244004]
  before it would throw UnicodeEncodeError, as per errors=strict

* fix broken error handling/message, for mirrorlist and metalink [#567704]
  was throwing exceptions instead of continuing or debug-logging

* replace the hardcoded "site-packages", with distutils.sysconfig value
  (making sure to pass the exec_prefix to possibly get "dist-packages")

0 blueprints and 14 bugs targeted

Bug report Importance Assignee Status
244466 #244466 pycurl reduces smart download speed significantly 3 High   10 Fix Released
245494 #245494 configurable pre/post scripts - Distro support feature 6 Wishlist   10 Fix Released
244004 #244004 smart info UnicodeEncodeError 1 Undecided   10 Fix Released
244453 #244453 pycurl does not fail on authentication error 1 Undecided   10 Fix Released
338931 #338931 LANG doesn't set language properly for test suite 1 Undecided   10 Fix Released
354027 #354027 Fetcher test fails in jaunty 1 Undecided   10 Fix Released
397743 #397743 Smart hangs forever when trying to install package as regular user 1 Undecided   10 Fix Released
512302 #512302 Smart crashes on malformed "Installed-Size" deb package field 1 Undecided   10 Fix Released
521731 #521731 bundled expat needs update 1 Undecided   10 Fix Released
525940 #525940 sre_constants.error: unexpected end of pattern on smart search 1 Undecided   10 Fix Released
531001 #531001 Regression when using smart to setup chroot environment via -o rpm-root 1 Undecided   10 Fix Released
531307 #531307 slackware package name check needs update 1 Undecided   10 Fix Released
535628 #535628 AttributeError thrown in FTPHandler.fetch() 1 Undecided   10 Fix Released
567704 #567704 smart package manager crashes with mirror list 1 Undecided   10 Fix Released
This milestone contains Public information
Everyone can see this information.