(rfc) recommend installing a plugin when needed

Martin Pool mbp at sourcefrog.net
Fri Feb 8 03:15:21 GMT 2008


On 08/02/2008, Martin Albisetti <argentina at gmail.com> wrote:
> On Feb 7, 2008 11:51 PM, Martin Pool <mbp at sourcefrog.net> wrote:
> > The db with bzr (which I imagine would be just a Python dict)
>
> My idea is for it to be an XML file so we can have some flexibility
> with the data it stores, read it once every update and serialize it to
> disk as a python dict so we don't process the XML every time.

Why?  XML is harder, not easier, to edit than Python source.

> > To map from the desired plugin name to the download location (branch,
> > deb, rpm), I would say we should use the network rather than storing
> > it in Bazaar.
>
> This complicates things a bit for the first stage, as we would print
> out to screen the URL where the user can download the plugin from.
>
> I would like to have all the necessary information already locally
> available if possible.

I think we can print

  The "frob" command is availabe in the "frob" plugin
  which is available from "http://bazaar-vcs.org/Plugins/frob"
  or with "sudo apt-get install bzr-plugin-frob"

-- 
Martin



More information about the bazaar mailing list