RFC: centralise registries

Robert Collins robert.collins at canonical.com
Wed Apr 15 07:14:48 BST 2009


On Wed, 2009-04-15 at 08:12 +0200, Vincent Ladeuil wrote:

> Then create bzrlib/selftest.py, put the registry there, and lazy
> load bzrlib.tests there ?
> 
> That seems to be the less of 3 or 4 evils :-/
> 
> That will at least address your initial concern (if I remember
> correctly): avoid loading the tests only to register a test suite
> decorator from a plugin.

Its *one* of many registries that are problematic. And adding a bunch of
separate python files will just add to performance headaches, not
remove.

I want to find a small, clean, scalable fix. I think a load time
callback may be it.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090415/72db019e/attachment.pgp 


More information about the bazaar mailing list