Merge lp:~jderose/kazam/apport into lp:~bigwhale/kazam/unstable-build

Proposed by Jason Gerard DeRose
Status: Merged
Approved by: David Klasinc
Approved revision: 222
Merged at revision: 222
Proposed branch: lp:~jderose/kazam/apport
Merge into: lp:~bigwhale/kazam/unstable-build
Diff against target: 17 lines (+8/-0)
2 files modified
debian/kazam.install (+1/-0)
debian/source_kazam.py (+7/-0)
To merge this branch: bzr merge lp:~jderose/kazam/apport
Reviewer Review Type Date Requested Status
David Klasinc Approve
Review via email: mp+136024@code.launchpad.net

Description of the change

* Adds minimal source_kazam.py Apport package hook so the kazam Launchpad project is used as the crash DB

* Adds debian/kazam.install file that installs above source_kazam.py file in the correct location

The easiest way to test the apport integration is to build and install the .deb, and then run this:

$ ubuntu-bug kazam

I couldn't find where kazam wrote any logfile, but if it has one, there's an example of attaching logfiles to the crash here:

http://bazaar.launchpad.net/~novacut/novacut/trunk/view/head:/debian/source_novacut.py

To post a comment you must log in.
Revision history for this message
David Klasinc (bigwhale) wrote :

Awesome, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'debian/kazam.install'
2--- debian/kazam.install 1970-01-01 00:00:00 +0000
3+++ debian/kazam.install 2012-11-24 20:10:24 +0000
4@@ -0,0 +1,1 @@
5+debian/source_kazam.py usr/share/apport/package-hooks/
6
7=== added file 'debian/source_kazam.py'
8--- debian/source_kazam.py 1970-01-01 00:00:00 +0000
9+++ debian/source_kazam.py 2012-11-24 20:10:24 +0000
10@@ -0,0 +1,7 @@
11+"""
12+apport package hook for kazam.
13+"""
14+
15+
16+def add_info(report):
17+ report['CrashDB'] = '{"impl": "launchpad", "project": "kazam"}'

Subscribers

People subscribed via source and target branches