← Back to team overview

touch-packages team mailing list archive

[Bug 1485787] Re: package_hook does not include package version

 

Hello Brian, or anyone else affected,

Accepted apport into vivid-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.17.2-0ubuntu1.4 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: apport (Ubuntu Vivid)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1485787

Title:
  package_hook does not include package version

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Trusty:
  In Progress
Status in apport source package in Vivid:
  Fix Committed

Bug description:
  All of these problem reports are missing a package version:

  https://errors.ubuntu.com/problem/abc807de9d9c87d965fea31c865192edb30b6738

  This is because package_hook in apport only writes the following:

  pr['Package'] = options.package

  We should include the package version in the problem report.

  Test Case
  ---------
  1) echo "You have failed this city." | /usr/share/apport/package_hook -p apport
  2) grep "^Package" /var/crash/apport.1000.crash

  With the current version of apport you'll only see the package name,
  with the version from -proposed you'll see the package version in
  addition to the name.

  Regression Potential
  --------------------
  Worst case scenario I screwed the patch up and we loose the package name too, but given that it works in wily and there is a test for it in test_hooks.py that seems unlikely.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1485787/+subscriptions


References