diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2015-12-11 12:46:06 +0000 |
|---|---|---|
| committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-12-11 12:46:06 +0000 |
| commit | 22510350608744062ce34e2b55fc79effa2bea40 (patch) | |
| tree | 222bd012f0936d4c681d316eccd5433e1e55a55b | |
| parent | 996216b5d3db51f034bd4e977bf028ce32bc9fd8 (diff) | |
| parent | 5d86a3a901c41f7c81b0eb216dad5056cf9a354d (diff) | |
Updated apport hook to include:
- the compiz and xorg details, not only after asking users if the issue is a graphical one (which is weird question) - the upstart logs for unity/ups/lockscreen - some gsettings configurations Fixes: #1508974 Approved by: PS Jenkins bot, Marco Trevisan (TreviƱo) (bzr r4052)
| -rw-r--r-- | debian/source_unity.py | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/debian/source_unity.py b/debian/source_unity.py index ceda534b9..660703d47 100644 --- a/debian/source_unity.py +++ b/debian/source_unity.py @@ -21,18 +21,13 @@ def add_info(report, ui): report.add_package_info(apport.packaging.get_file_package(words)) return - # only reports all compiz infos if a graphical bug - compiz_bug = False - if ui and report['SourcePackage'] == "unity": - if ui.yesno("Thanks for reporting this bug on unity. Is the issue you are reporting purely graphical (will report more information about your graphic configuration and will report the bug against compiz)?"): - compiz_bug = True - if compiz_bug: - report.add_hooks_info(ui, srcpackage='compiz') - else: - # still send some info like the plugins activated - # Plugins - report['CompizPlugins'] = command_output(['gconftool-2', - '--get', '/apps/compiz-1/general/screen0/options/active_plugins']) - - # User configuration - report['GconfCompiz'] = command_output(['gconftool-2', '-R', '/apps/compiz-1']) + # Include the compiz details + report.add_hooks_info(ui, srcpackage='compiz') + # the upstart logs + attach_upstart_logs(report, 'unity-services') + attach_upstart_logs(report ,'libunity-core-6.0-9') + # some gsettings configs + attach_gsettings_schema(report, 'com.canonical.Unity') + attach_gsettings_schema(report, 'com.ubuntu.user-interface') + attach_gsettings_schema(report, 'org.gnome.desktop.interface') + attach_gsettings_schema(report, 'org.gnome.desktop.lockdown') |
