~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Add bzrlib.pyutils, which has get_named_object, a wrapper around __import__.

This is used to replace various ad hoc implementations of the same logic,
notably the version used in registry's _LazyObjectGetter which had a bug when
getting a module without also getting a member.  And of course, this new
function has unit tests, unlike the replaced code.

This also adds a KnownHooksRegistry subclass to provide a more natural home for
some other logic.

I'm not thrilled about the name of the new module or the new functions, but it's
hard to think of good names for such generic functionality.

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
 
38
42
 
39
43
* `Managing the Bazaar PPA <ppa.html>`_ |--| Packaging Bazaar for Ubuntu.
40
44
 
41
 
* `Giving back <http://bazaar-vcs.org/BzrGivingBack>`_ (wiki) |--| How to get
 
45
* `Giving back <http://wiki.bazaar.canonical.com/BzrGivingBack>`_ (wiki) |--| How to get
42
46
  your changes to Bazaar integrated into a release.
43
47
 
44
48
* `Profiling notes <profiling.html>`_ |--| Instructions on how to profile
50
54
* `Tracking Bugs in Bazaar <bug-handling.html>`_ |--| How we use the bug
51
55
  tracker.
52
56
 
 
57
Architecture overviews
 
58
======================
 
59
 
 
60
* `Transports <transports.html>`_ |--| Transport virtual filesystem
 
61
  abstraction.
 
62
 
53
63
Plans
54
64
=====
55
65