[Bug 1365079] Re: apport should gather package information about click packages

2014-12-17 Thread Martin Pitt
Brian fixed that a while ago, thanks! apport (2.14.7-0ubuntu9) vivid; urgency=medium * data/general_hooks/clickinfo.py: Created a hook to determine package and version information for executables that are from click packages. -- Brian Murray br...@ubuntu.com Fri, 31 Oct 2014 14:41:14

[Bug 1365079] Re: apport should gather package information about click packages

2014-11-03 Thread Brian Murray
Here is a crash report from Vivid on a mako device: https://errors.ubuntu.com/oops/d94a7b00-6376-11e4-8f2e-fa163e4ccdf2 Everything looks good. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365079

[Bug 1365079] Re: apport should gather package information about click packages

2014-11-03 Thread Brian Murray
However, its not possible to find these crashes in the Error Tracker frontend because they don't have a crash signature. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365079 Title: apport should

[Bug 1365079] Re: apport should gather package information about click packages

2014-10-31 Thread Brian Murray
I've uploaded the interim solution to Vivid now. See this commit for the implementation: http://bazaar.launchpad.net/~ubuntu-core- dev/ubuntu/vivid/apport/ubuntu/revision/2364 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1365079] Re: apport should gather package information about click packages

2014-10-28 Thread Brian Murray
Martin and I discussed an interim solution for RTM / utopic. If I recall correctly, you mentioned creating a separate hook that would gather call click info and gather information about the package and its version. This separate hook would need to be called by the ubuntu hook. Does that sound

[Bug 1365079] Re: apport should gather package information about click packages

2014-10-28 Thread Martin Pitt
This separate hook would need to be called by the ubuntu hook. No, it can and should just be placed into /usr/share/apport/general- hooks/, maybe clickinfo.py. This avoids referring to that interim hack in the code or any other hooks, so that we can easily replace and test it. -- You received

[Bug 1365079] Re: apport should gather package information about click packages

2014-10-28 Thread Brian Murray
Ah, I'd forgotten that all hooks in /usr/share/apport/general-hooks/ are run. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365079 Title: apport should gather package information about click

[Bug 1365079] Re: apport should gather package information about click packages

2014-10-10 Thread Martin Pitt
** Changed in: apport (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365079 Title: apport should gather package information about click

[Bug 1365079] Re: apport should gather package information about click packages

2014-09-03 Thread Brian Murray
To be clear that incomplete report is missing Package and SourcePackage information. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365079 Title: apport should gather package information about

[Bug 1365079] Re: apport should gather package information about click packages

2014-09-03 Thread Brian Murray
Here is an exampe of an incomplete report in the error tracker: https://errors.ubuntu.com/oops/d4735084-2c76-11e4-acb3-fa163e75317b -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365079 Title:

[Bug 1365079] Re: apport should gather package information about click packages

2014-09-03 Thread Brian Murray
It looks like this will require some changes to report.py's add_package_info and fileutils.py's find_file_package and likely_packaged. ** Tags added: utopic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1365079] Re: apport should gather package information about click packages

2014-09-03 Thread Brian Murray
Actually, it's get_file_package of backends/packaging-apt-dpkg.py that would need some modification. Perhaps we could check and see if the path contains /usr/share/click/preinstalled/ or /opt/click.ubuntu.com/ before using the click info command. ** Changed in: apport (Ubuntu) Importance:

[Bug 1365079] Re: apport should gather package information about click packages

2014-09-03 Thread Martin Pitt
So far we never talked about click support in apport so far; a lot of concepts are quite different. E. g. they don't necessarily have an LP project, it does not necessarily coincide with the click name, don't have source packages, can't be retraced, don't have package dependencies. So we need to