/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/developers/index-plain.txt

  • Committer: John Arbash Meinel
  • Date: 2011-04-20 14:27:19 UTC
  • mto: This revision was merged to the branch mainline in revision 5837.
  • Revision ID: john@arbash-meinel.com-20110420142719-advs1k5vztqzbrgv
Fix bug #767177. Be more agressive with file.close() calls.

Our test suite gets a number of thread leaks and failures because it happens to get async
SFTPFile.close() calls. (if an SFTPFile closes due to __del__ it is done as an async request,
while if you call SFTPFile.close() it is done as a synchronous request.)
We have a couple other cases, probably. Namely SFTPTransport.get() also does an async
prefetch of the content, so if you don't .read() you'll also leak threads that think they
are doing work that you want.

The biggest change here, though, is using a try/finally in a generator, which is not 
python2.4 compatible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
  (external link)
16
16
  |--| automatically generated API reference information
17
17
 
18
 
* `Integrating with Bazaar <http://bazaar-vcs.org/Integrating_with_Bazaar>`_
 
18
* `Integrating with Bazaar <http://wiki.bazaar.canonical.com/Integrating_with_Bazaar>`_
19
19
  (wiki) |--| a guide for writing Python programs that work with Bazaar.
20
20
 
21
21
* `Revision Properties <revision-properties.html>`_ |--| An application
24
24
 
25
25
* `Testing <testing.html>`_ |--| Guide to writing tests for Bazaar.
26
26
 
 
27
* `Code Review <code-review.html>`_.
 
28
 
 
29
* `Bazaar Code Style Guide <code-style.html>`_.
 
30
 
27
31
* `Writing plugins <http://doc.bazaar.canonical.com/plugins/en/plugin-development.html>`_
28
32
  |--| specific advice on writing Bazaar plugins. (web link)
29
33
 
 
34
* `Documenting changes <documenting-changes.html>`_.
 
35
 
30
36
Process
31
37
=======
32
38
 
38
44
 
39
45
* `Managing the Bazaar PPA <ppa.html>`_ |--| Packaging Bazaar for Ubuntu.
40
46
 
41
 
* `Giving back <http://bazaar-vcs.org/BzrGivingBack>`_ (wiki) |--| How to get
 
47
* `Giving back <http://wiki.bazaar.canonical.com/BzrGivingBack>`_ (wiki) |--| How to get
42
48
  your changes to Bazaar integrated into a release.
43
49
 
44
50
* `Profiling notes <profiling.html>`_ |--| Instructions on how to profile
50
56
* `Tracking Bugs in Bazaar <bug-handling.html>`_ |--| How we use the bug
51
57
  tracker.
52
58
 
 
59
Architecture overviews
 
60
======================
 
61
 
 
62
* `Transports <transports.html>`_ |--| Transport virtual filesystem
 
63
  abstraction.
 
64
 
53
65
Plans
54
66
=====
55
67