~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to apport/README

Test ConnectionError exceptions.

* bzrlib/transport/http/_urllib2_wrappers.py
(AbstractHTTPConnection.getresponse): Not needed anymore.
(AbstractHTTPHandler.do_open): Better exception handling.
(HTTPBasicAuthHandler): Not yet implemented.

* bzrlib/transport/http/_urllib.py: 
Fix spurious spaces.

* bzrlib/transport/http/__init__.py:
(WallRequestHandler, WallHttpServer): A http server closing
connections as soon as a request arrives.

* bzrlib/tests/test_http.py:
(TestWallServer): Check exceptions during connection.

* bzrlib/tests/HTTPTestUtil.py:
(TestCaseWithWallserver): New class. A server which close
connections as soon as possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Bazaar supports semi-automatic bug reporting through Apport
2
 
<https://launchpad.net/apport/>.
3
 
 
4
 
If apport is not installed, an exception is printed to stderr in the usual way.
5
 
 
6
 
For this to work properly it's suggested that two files be installed when a
7
 
package of bzr is installed:
8
 
 
9
 
``bzr.conf``
10
 
    into ``/etc/apport/crashdb.conf.d``
11
 
 
12
 
``source_bzr.py`` 
13
 
    into ``/usr/share/apport/package-hooks``