Merge lp:~stolowski/unity-scopes-api/support-apport into lp:unity-scopes-api
Status: | Merged |
---|---|
Approved by: | Pete Woods |
Approved revision: | 285 |
Merged at revision: | 301 |
Proposed branch: | lp:~stolowski/unity-scopes-api/support-apport |
Merge into: | lp:unity-scopes-api |
Diff against target: |
124 lines (+101/-0) 3 files modified
data/CMakeLists.txt (+4/-0) data/libunity-scopes.py (+96/-0) debian/libunity-scopes3.install (+1/-0) |
To merge this branch: | bzr merge lp:~stolowski/unity-scopes-api/support-apport |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pete Woods (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Michi Henning (community) | Approve | ||
Brian Murray | Approve | ||
Review via email: mp+248217@code.launchpad.net |
Commit message
Provide script for apport package hooks to handle scoperunner crashes. This script alters 'Package' and 'SourcePackage' fields of the crash report to distribute error reports to correct scopes.
Description of the change
Provide script for apport package hooks to handle scoperunner crashes. This script alters 'Package' and 'SourcePackage' fields of the crash report to distribute error reports to correct scopes.
There are three cases it handles:
1) a scope comes from a deb package: the script executes dpkg query to find its deb and from that, get source package name.
2) a scope comes from a click package: the script gets the 'name' field from click manifest.
a) if we know this scope (currently vimeo and youtube are well known), we remap src package to unity-scope-
b) otherwise we just use the dotted click name as source package (similar to how clicks are handled by default with generic click hook of apport).
Example reports:
https:/
https:/
https:/
This hook can be tested against a testing server, ping me for instructions if you're interested in giving it a try.
FAILED: Continuous integration, rev:282 jenkins. qa.ubuntu. com/job/ unity-scopes- api-ci/ 559/ jenkins. qa.ubuntu. com/job/ unity-scopes- api-vivid- amd64-ci/ 86/console jenkins. qa.ubuntu. com/job/ unity-scopes- api-vivid- armhf-ci/ 84/console jenkins. qa.ubuntu. com/job/ unity-scopes- api-vivid- i386-ci/ 85/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- scopes- api-ci/ 559/rebuild
http://