(rfc) recommend installing a plugin when needed
Mark Shuttleworth
mark at canonical.com
Thu Jan 24 07:21:29 GMT 2008
Martin Pool wrote:
> So I wonder if we could, or should, do this for Bazaar. If someone
> types 'bzr shelve' we can suggest bzrtools, gannotate for bzr-gtk and
> so on. This could be as simple as registering stub commands or help
> topics for the most important plugin commands.
>
If you shipped a plugin which intercepts a command-not-found event, and
checks an internal dictionary of commands and plugins, then you could
get this sort of experience:
peregrine% bzr shelve
'shelve' is not a standard bzr command. However, 2 certified plugins
provide this command:
bzrtools
bzrwhizz
To install a certified plugin, type:
bzr --fetch-plugin pluginname
peregrine%
This way, bzr can avoid bloat, and people have an incentive to get their
plugins approved for a particular release.
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080124/e6cb6c16/attachment.htm
More information about the bazaar
mailing list