RFC: centralise registries

Alexander Belchenko bialix at ukr.net
Tue Apr 14 20:08:23 BST 2009


Brian de Alwis пишет:
> On 14-Apr-2009, at 3:30 AM, Robert Collins wrote:
>> I think actually the root of the issue is that there is no way for a
>> plugin to say 'I would register with some X but I don't want to trigger
>> that X'. twisted achieves this by plugin metadata - plugins are a Y, and
>> this is memoised and then the plugin is called into for Y operations. I
>> think this is overly constraining.
> 
> 
> FWIW: Eclipse uses XML to represent plugin extension metadata to defer
> the overhead from loading jars until absolutely necessary.  It's a
> powerful model and seems to correspond very well to the existing bzrlib
> registries.  So switching to an XML description wouldn't require too
> much work, once the actual XML metadata parsing has been written.

Oh, no! Please, let it run without XML!

If you need to reinvent the wheel, why not using setuptools aprroach
for registering plugins metadata?




More information about the bazaar mailing list