Sergey "Shnatsel" Davidoff [2012-06-28 12:40 -0000]:
> I use per-package hooks in /etc/apport/crashdb.conf.d/ (for reference,
> they're in lp:~elementary-os/elementaryos/apport-hooks)
Right, package hooks are only being used for reporting bugs, not for
retracing.
> So if I set $APPORT_CRASHDB_CONF to the path to a custom file in /etc/apport/crashdb.conf.d/, it should work now?
Not quite, as these are not full configuration files, just parts of
it.
> Can I specify several crashdb files there? Probably it's not really
> needed since I can call it in a shell loop fairly easily.
That's indeed one difficulty. Right now crash-digger was designed to
just work on the default crash db (the one that
/etc/apport/crashdb.conf defines as "default =...").
So from what I can see, it should help you already to add a --crash-db
command line option, so that you can e. g. call crash-digger with
"--crash-db cerbere" or "--crash-db feedler". Then you would need to
call crash-digger in a shell loop for all projects. From there it is
only a small step towards supporting to specify the option multiple
times and iterating over all of them in crash-digger itself.
Are you running your retracers from trunk, i. e. lp:apport? Or do you
need this packaged for testing?
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Hello Sergey,
Sergey "Shnatsel" Davidoff [2012-06-28 12:40 -0000]: crashdb. conf.d/ (for reference,
> I use per-package hooks in /etc/apport/
> they're in lp:~elementary-os/elementaryos/apport-hooks)
Right, package hooks are only being used for reporting bugs, not for
retracing.
> So if I set $APPORT_ CRASHDB_ CONF to the path to a custom file in /etc/apport/ crashdb. conf.d/ , it should work now?
Not quite, as these are not full configuration files, just parts of
it.
> Can I specify several crashdb files there? Probably it's not really
> needed since I can call it in a shell loop fairly easily.
That's indeed one difficulty. Right now crash-digger was designed to crashdb. conf defines as "default =...").
just work on the default crash db (the one that
/etc/apport/
So from what I can see, it should help you already to add a --crash-db
command line option, so that you can e. g. call crash-digger with
"--crash-db cerbere" or "--crash-db feedler". Then you would need to
call crash-digger in a shell loop for all projects. From there it is
only a small step towards supporting to specify the option multiple
times and iterating over all of them in crash-digger itself.
Are you running your retracers from trunk, i. e. lp:apport? Or do you
need this packaged for testing?
Thanks,
Martin www.piware. de
--
Martin Pitt | http://
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)