In-terminal crash report is far too long, containing full `bzr plugins` output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool | ||
bzr (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Natty |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
Recently there was a change to including the full list of plugins, in `bzr plugins` style in the non-apport crash reporting output. (To see what I mean, run 'bzr assert-fail' using bzr.dev)
This is most unhelpful, because it is very long indeed, and causes the traceback and exception message to scroll completely off the screen - in my environment `bzr plugins` is 87 lines long.
I propose that it is important for developers that when an exception occurs, the exception message line remains on screen in reasonably sized terminals.
What was the intent of adding the full plugin list? Some discussion on #bzr suggests that what was actually desired was a list of plugins currently violating their API requirements.
Related branches
- Martin Packman (community): Approve
-
Diff: 95 lines (+5/-37)4 files modifiedbzrlib/tests/__init__.py (+0/-20)
bzrlib/tests/test_crash.py (+5/-4)
bzrlib/tests/test_selftest.py (+0/-8)
doc/en/release-notes/bzr-2.3.txt (+0/-5)
- John A Meinel: Approve
-
Diff: 183 lines (+90/-13) (has conflicts)5 files modifiedbzrlib/crash.py (+21/-9)
bzrlib/plugin.py (+11/-0)
bzrlib/tests/__init__.py (+1/-1)
bzrlib/tests/test_crash.py (+47/-3)
doc/en/release-notes/bzr-2.3.txt (+10/-0)
Changed in bzr: | |
assignee: | nobody → Martin Pool (mbp) |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.3.2 |
status: | In Progress → Fix Released |
Changed in bzr (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in bzr (Ubuntu Natty): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in bzr (Ubuntu Natty): | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
tags: |
added: verification-done removed: verification-needed |
120 lines here, 4 lines by plugin as in `bzr plugins -v`.
'-v' makes sense to identify faulty plugins, but please, let's display only the ones potentially violating the API requirements.