Merge lp:~mbp/bzr/2.1-528114-apport into lp:bzr/2.1
Proposed by
Martin Pool
Status: | Rejected |
---|---|
Rejected by: | Robert Collins |
Proposed branch: | lp:~mbp/bzr/2.1-528114-apport |
Merge into: | lp:bzr/2.1 |
Diff against target: |
243 lines (+144/-7) 9 files modified
NEWS (+36/-0) apport/README (+13/-0) apport/bzr-crashdb.conf (+6/-0) apport/source_bzr.py (+54/-0) bzr (+1/-1) bzrlib/__init__.py (+1/-1) bzrlib/crash.py (+18/-5) bzrlib/tests/test_crash.py (+2/-0) setup.py (+13/-0) |
To merge this branch: | bzr merge lp:~mbp/bzr/2.1-528114-apport |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Approve | ||
Martin Pitt | Pending | ||
bzr-core | Pending | ||
Review via email: mp+22104@code.launchpad.net |
Description of the change
This gets bzr to produce crash files that can be filed automatically using 'ubuntu-bug' or 'apport-cli'.
* SourcePackage, Package, ExecutablePath and InstallerPath must be included in the crash report, or apport aborts or complains
* set a CrashDb in the report so that it's filed against bzr upstream, not bzr in Ubuntu
* install a crashdb configuration and source package hook to allow the previous point to work, only when running as root
This is based off bzr 2.1 but it's probably a bit risky to land there and I would put it only into trunk in the first place.
This fixes bug 528114 and bug 391015.
To post a comment you must log in.
actually this is not a complete fix; it still complains about not being able to identify the source package.