RFC: shipping external-tree plugins

Robert Collins robertc at robertcollins.net
Tue Jul 29 07:51:22 BST 2008


On Tue, 2008-07-29 at 15:19 +1000, Martin Pool wrote:


> As a tweak, I would say that we should perhaps call it just
> 'bundled_plugins' since it is not relevant to an end user installer as
> COPYING, README or INSTALL is.

We could, though I think it is just as relevant as INSTALL. Packagers
need to know, and by and large they are the folk reading INSTALL.

> For packaging it may be easier to continue shipping bzr and each
> plugin separately, and to handle installing some plugins by default at
> the packaging level.   So would we then also ship a bzr-core tarball
> as well as the bzr full release?

No. packagers have in fact asked for us to bundle stuff to be less
granular :P. I'd say that to allow our docs and so on to refer to this
batteries-included setup we would ask that the set of core + plugins not
be split apart by packagers.

> It might be more appropriate to keep 'make dist' producing just the
> core tarball.

I'd like to hear from packagers for $distros before we do that. After
all, the core tarball is really just 'bzr export' with the pyrex output
included. (Which still bugs me :)).

> >  - an automated test of the result *uninstalled* aggregate
> 
> We already have a command check-dist-tarball that runs the tests from
> the tarball.  I'm not sure what you mean by uninstalled here.  If you
> mean without doing a real system-wide install that's true, it
> currently runs 'make check' in a directory containing the unpacked
> contents.  It would be useful to also test that the tarball does
> install and work but we don't currently do that.

check-dist-tarball is sufficient (because the plugins will be found and
tested).

> >  - change make dist to branch each url into bzrlib/plugins/
> 
> Is that enough to get them installed?  The python files will probably
> be copied, but it may not be enough for anything that needs a setup.py
> file run.  But at least some useful plugins don't have one..

See my patch for details - its not completely sufficient no.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080729/fb85c1fb/attachment.pgp 


More information about the bazaar mailing list