Code review comment for lp:~brian-murray/apport/retrace-package-versions

Revision history for this message
Martin Pitt (pitti) wrote :

Hey Brian,

Brian Murray [2014-04-23 17:22 -0000]:
> This is what I am referring to but instead of just installing the most
> current version of the package I'm suggesting that we record which
> pocket '_search_contents' found the file in and then query Launchpad (or
> something) to determine what is the current version of that package in
> that pocket.

How would that help? The file would be present in all pockets (unless
we are dealing with things like a library transition in an SRU, which
should be fairly uncommon -- but then the _search_contents query will
give us even better results), so we already know the current version
during apport-retrace time.

The only thing which would actually help with this is to do the file
-> package -> version mapping on the client side at report time. I. e.
at report time we need to walk all files in ProcMaps and add their
packages to Dependencies: if they aren't there already.
That'd be fairly expensive though.

« Back to merge proposal