apport-collect(1)
NAME
apport-collect - Add apport hooks information to existing Launchpad bug
reports
SYNOPSIS
apport-collect bug_number
DESCRIPTION
apport-collect is a tool for using Apport hooks with existing Launchpad
bug reports.
Apport hooks are scripts which packages can ship to collect arbitrary
package specific information, which then automatically gets attached to
newly created bug reports. Please see
https://wiki.ubuntu.com/Apport/DeveloperHowTo for further information
about hooks.
If a crash or bug report was not sent through apport originally, you
can ask the submitter to run this script with the bug number of his
report, to ease data collection and debugging.
This requires the package python-launchpadlib. apport-collect will
point out if the package is not installed.
OPTIONS
- -p package, --package package
- Collect information for specified package. If not given, it will be inferred from the bug report's source package tasks.
ENVIRONMENT
- APPORT_STAGING
- If this environment variable is set, this tool will use staging.launchpad.net which is useful for test purposes.
FILES
- ~/.cache/apport/launchpad.credentials
- In order to add new information to the bug report, the user needs to log into Launchpad. The first time you run apport-collect you will be directed to the Launchpad login page in your web browser. Allow the script to change all data (write access), and just follow the instructions.
- The credentials are written to this cache file so if you run apport-collect the next time you do not need to log in any more.
- If your credentials somehow are/become invalid (e. g. you did not allow enough privileges), just delete this file, so that the next time you will be asked for it again.
AUTHOR
apport and the accompanying tools are developed by Martin Pitt <martin.pitt@ubuntu.com>.
SEE ALSO
- ubuntu-bug(1), https://wiki.ubuntu.com/Apport,
https://wiki.ubuntu.com/Apport/DeveloperHowTo