/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/en/admin-guide/code-browsing.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:
47
47
   On Ubuntu, `sudo apt-get install python-flup`
48
48
   or use `easy_install flup`
49
49
 
50
 
Although directions for installing these on Ubuntu Linux are given, most other
51
 
Linux distributions should package these dependencies, making installation
 
50
Although directions for installing these on Ubuntu are given, most other
 
51
GNU/Linux distributions should package these dependencies, making installation
52
52
easy.  For Windows and Mac OS X, they should all be ``easy_install``-able or at
53
53
worst installable from the Python sources.
54
54
 
101
101
This would allow the trunk branch of ProjectX to be browsed at
102
102
``http://www.example.com/loggerhead/projectx/trunk``.
103
103
 
104
 
Loggerhead comes with a script allowing it to run as a service on init.d based
105
 
Linux systems.  Contributions to do a similar thing on Windows servers would
106
 
be welcomed at http://launchpad.net/loggerhead.
 
104
Loggerhead comes with a script allowing it to run as a service on
 
105
``init.d`` based Unix systems.  Contributions to do a similar thing on
 
106
Windows servers would be welcomed at http://launchpad.net/loggerhead.
107
107
  
108
108
 
109
109
Other web interfaces
110
110
--------------------
111
111
 
112
112
There are a number of other web interfaces available for Bazaar branches (see
113
 
the list at http://bazaar-vcs.org/WebInterfaces) and we will just mention a
114
 
couple of them here for their advantages in particular situations.
 
113
the list at http://wiki.bazaar.canonical.com/WebInterfaces) and we will just
 
114
mention a couple of them here for their advantages in particular situations.
115
115
 
116
116
trac+bzr (http://launchpad.net/trac-bzr)
117
117
  Trac is a popular web app that integrates a browser for branches, an issue