← Back to team overview

desktop-packages team mailing list archive

[Bug 551330] [NEW] allow defining crashdb inline within the report

 

You have been subscribed to a public bug:

In an application like bzr we want to record crash files on every
platform where apport is installed, Ubuntu or not.  These reports are
obviously not generally Ubuntu-specific and need to go into the upstream
bug tracker (bugs.l.n/bzr).  apport has a nice crashdb mechanism for
defining this, but unfortunately it depends on having a crashdb
definition installed into /etc/apport/crashdb.conf.d, which is a bit
hard to do if the program is installed eg into the users's home
directory or running from a checkout.
<https://code.edge.launchpad.net/~mbp/bzr/2.1-528114-apport/+merge/22104>

Furthermore, apport aborts if the crashdb referenced in the crash file
is not known on the system.

It would be nice if all the information about where to file the report
could be recorded at the time the report is written, so the application
was more selfcontained.

One way to handle this would be to allow the
impl/project/bug_pattern_base fields from the crashdb definition to also
be taken from the crash report, eg "CrashDbImpl: launchpad".   Then if
there was a system-wide definition of the crashdb it could override
them, but if there was not it would not be an error.

** Affects: apport (Ubuntu)
     Importance: Wishlist
     Assignee: Martin Pitt (pitti)
         Status: Triaged

-- 
allow defining crashdb inline within the report
https://bugs.launchpad.net/bugs/551330
You received this bug notification because you are a member of Desktop Packages, which is subscribed to apport in Ubuntu.