Comment 13 for bug 1336462

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

Hello Thierry,

sorry for the late response (buried in stuff/extra day off). I suppose all those debug statements like print("try") will go away?

As I don't have access to such a machine, could you perhaps run

  apport-bug --save /tmp/test.apport coreutils

with that hook installed, and attach /tmp/test.apport here, so that I can get an impression how the data looks like?

I'm still not sure whether it's really justified to add all this data to *every* bug report of powerpc. It might get a bit overwhelming for people who look at this, so perhaps some of the data is only necessary for crashes or for bug reports, or for kernel reports? E. g. we should certainly not do this for package installation failures. This would involve checking report['ProblemType'].

Code wise this by and large looks good now, modulo a few pyflakes/code formatting issues, but I can handle those easily on my side. Can you please attach new versions of the hook instead of pasting them as a comment, to avoid whitespace mangling?

Thanks!