diff -Nru update-manager-0.150.2/debian/changelog update-manager-0.150.3/debian/changelog --- update-manager-0.150.2/debian/changelog 2011-05-02 05:13:55.000000000 -0700 +++ update-manager-0.150.3/debian/changelog 2011-06-15 12:59:28.000000000 -0700 @@ -1,3 +1,10 @@ +update-manager (1:0.150.3) natty-proposed; urgency=low + + * add in an apport package hook to increase the quality of update-manager + bug reports (LP: #797894) + + -- Brian Murray Wed, 15 Jun 2011 12:46:34 -0700 + update-manager (1:0.150.2) natty-proposed; urgency=low * debian/control: diff -Nru update-manager-0.150.2/debian/source_update-manager.py update-manager-0.150.3/debian/source_update-manager.py --- update-manager-0.150.2/debian/source_update-manager.py 1969-12-31 16:00:00.000000000 -0800 +++ update-manager-0.150.3/debian/source_update-manager.py 2011-07-07 11:57:08.000000000 -0700 @@ -0,0 +1,17 @@ +'''apport package hook for update-manager + +(c) 2011 Canonical Ltd. +Author: Brian Murray +''' + +from apport.hookutils import * + + +def add_info(report): + + attach_gconf(report, 'update-manager') + attach_file_if_exists(report, '/var/log/apt/history.log', + 'DpkgHistoryLog.txt') + attach_root_command_outputs(report, + {'DpkgTerminalLog.txt': 'cat /var/log/apt/term.log', + 'CurrentDmesg.txt': 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'}) diff -Nru update-manager-0.150.2/debian/update-manager-core.install update-manager-0.150.3/debian/update-manager-core.install --- update-manager-0.150.2/debian/update-manager-core.install 2011-05-02 01:18:32.000000000 -0700 +++ update-manager-0.150.3/debian/update-manager-core.install 2011-06-15 12:40:53.000000000 -0700 @@ -11,3 +11,4 @@ debian/tmp/usr/share/computerjanitor debian/release-upgrade-motd usr/lib/update-manager debian/91-release-upgrade etc/update-motd.d/ +debian/source_update-manager.py /usr/share/apport/package-hooks/