RFC: centralise registries
jml at mumak.net
Tue Apr 14 06:49:10 BST 2009
On Tue, Apr 14, 2009 at 3:47 PM, Robert Collins
<robertc at robertcollins.net> wrote:
> On Tue, 2009-04-14 at 15:45 +1000, Ian Clatworthy wrote:
>> Robert Collins wrote:
>> > I don't think potential extraction of code is a good reason to keep our
>> > instances and our support classes separate; putting a bunch of instances
>> > in registry.py doesn't make it harder to pull out the class definition
>> > to a new project.
>> It's a layering issue: lower layers shouldn't know about higher layers
>> any more than they need to.
> Sure, if we were muddying layers it would be a problem. I don't think
> that would happen.
> Do you have alternate suggestions to fix the problem?
Does the central location have to be bzrlib.registry? Would, say,
moving the plugins to bzrlib.registries address the issue?
More information about the bazaar