lp:~mvo/aptdaemon/lp1044900

Created by Michael Vogt and last modified
Get this branch:
bzr branch lp:~mvo/aptdaemon/lp1044900
Only Michael Vogt can upload to this branch. If you are Michael Vogt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michael Vogt
Project:
Aptdaemon
Status:
Merged

Recent revisions

855. By Michael Vogt

aptdaemon/policykit1.py: rework to be both py2 and py3 compatible, thanks to Martin Pitt

854. By Michael Vogt

aptdaemon/policykit1.pya: open /proc/%(pid)s/cmdline with utf8 encoding by default to avoid crash for cmdlines that contain a special char (LP: #1044900)

853. By Martin Pitt

pkcompat: Fix get_files()

Do not open the .list file in text mode and then call decode() on it, as that
will try to decode a string.

Also narrow down the bare "except:" (which hid this bug) to only intercepting
IOErrors.

Add test case.

852. By Michael Vogt

tests/test_worker.py: comment out spurious "import pdb"

851. By Michael Vogt

merged lp:~evfool/aptdaemon/lp1030988 to fix #1030988

850. By Michael Vogt

merged lp:~dobey/aptdaemon/fix-imports, many thanks

849. By Martin Pitt

fix "compatibilty" typo

848. By Martin Pitt

aptdaemon/client.py: Prefer GI GObject module

If 'gobject' is not available (such as in Python 3), but this module gets
imported before importing any gi.repository module, aptdaemon crashes with

Traceback (most recent call last):
  File "./software-properties-gtk", line 37, in <module>
    from softwareproperties.gtk.SoftwarePropertiesGtk import SoftwarePropertiesGtk
  File "/home/martin/ubuntu/software-properties-additional-drivers/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 34, in <module>
    from aptdaemon import client
  File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 43, in <module>
    import gobject as GObject
ImportError: No module named gobject

Fix this by swapping the order around and only using gobject if it is already imported.

847. By Sebastian Heinlein

lintian supports skipping user profiles since 2.5.9

If $HOME is unset custom profiles of the user will be skipped. Make use of this.
Unfortunately we need a complete LINTIAN_ROOT for the test case - so we have to copy it around.

846. By Sebastian Heinlein

test: Give the fake-polkitd more time to get known to DBus. Thanks Steve.

Would be nice to switch this to dbus activation in the future

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:aptdaemon
This branch contains Public information 
Everyone can see this information.

Subscribers