Changelog
apport (2.2.1-0ubuntu1) quantal; urgency=low
* New upstream release:
- Clean up module imports.
- test/run: Run pyflakes, if available.
- package_hook: Add --tags option. Thanks to Brian Murray.
- launchpad.py: Drop the external multipartpost_handler.py (which is not
portable to Python 3) and replace it with using the standard email
module.
- launchpad.py: Also work with Python 3. Deal gracefully with a missing
"launchpadlib" module; this is not yet available for Python 3, but not
required for client-side reporting.
- apport-kde: Port to work with Python 3.
- apport-retrace: Fix crash when using the --procmaps option.
- setup.py: Update hashbang lines of installed scripts in data directory
to the python executable setup.py was run with, similar to what already
happens to scripts installed to ../bin/.
- apport-cli: Port to work with Python 3.
- setup.py: When fixing hashbang lines of installed scripts, only include
the major Python version.
- hookutils.py, read_file, attach_file(), attach_file_if_exists(): Convert
file contents to unicode if the contents is UTF-8, or the newly added
force_unicode argument is True.
- hooktuils, command_output(): Convert output to unicode by default, and
add a "decode_utf8" parameter to disable this.
- hookutils.py, recent_logfile(): Fix fd leak.
- data/apport: Do not assume that sys.stdout and sys.stderr always have a
name; they can be None in Python 3.
- data/dump_acpi_tables.py: Fix for Python 3.
* data/package-hooks/source_debian-installer.py: Port to work with Python 3.
* Move to Python 3, except for the parts that need python-launchpadlib
(which is not yet available for Python 3):
- debian/control: Add python3-problem-report and python3-apport packages.
- debian/control: Switch build and binary dependencies to Python 3
equivalents, except for apport-retrace.
- debian/rules: Override dh_auto_* to also handle python3-* packages (see
Debian #597105).
- debian/rules: Run test suite with Python 3.
- debian/rules: Switch hashbang line of apport-retrace back to Python 2.
- Move /etc/apport/crashdb.conf from python-apport to apport, and
recommend apport from both python{,3}-apport.
* bin/apport-bug: Force running with python 2 when being invoked as
apport-collect, and add a check/error message that you need to install
python-apport to use this.
* test/test_hookutils.py: Drop duplicate definition of _get_mem_usage(), now
identical again to trunk.
* ./test/test_ui_gtk.py: Drop duplicate definition of
test_immediate_close(), now identical again to trunk.
* data/general-hooks/ubuntu.py: Do not decode result of command_output(),
this is done by default now.
* data/package-hooks/source_linux.py: Add a __main__ for debugging. Stop
importing hookutils into the global namespace.
* data/package-hooks/source_ubiquity.py: Fix undefined command_output().
* data/general-hooks/ubuntu.py: Move definition of wrong_grub_msg and
grub_hook_failure to the correct place, so that this actually works.
* data/general-hooks/ubuntu.py: Drop definition of unused "cloud" variable.
* data/general-hooks/ubuntu.py: Do not import hookutils symbols into global
namespace.
-- Martin Pitt <email address hidden> Mon, 11 Jun 2012 12:23:53 +0200