rethinking the plugin load order change

Alexander Belchenko bialix at ukr.net
Fri Mar 9 04:20:41 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


John Arbash Meinel пишет:
> > Robert Collins wrote:
>> >> The plugin load order change has made it considerably harder for me to
>> >> test multiple versions of bzr, *and* have any plugins in my
>> >> ~/.bazaar/plugins folder.

> > I do understand your concern, and I think it would be good to support
> > your use case as best as we can. However, I think developers like us are
> > in the minority, versus people who will be using bzr in an environment
> > that they don't have access to /usr/lib but want to install a newer
> > version of a plugin.
> >
> > One argument might be to have a default site location for plugins,
> > rather than /usr/lib/python2.4/site-packages/bzrlib/plugins/*
> >
> > And then it could be a 3-tier. Load from bzrlib/plugins, then from user,
> > then from site-wide.
> >
> > At the moment, though we only have 2 locations, so bzrlib/plugins should
> > be underneath user plugins. Otherwise users have no way to override site
> > installed plugins.

Problem is worse with bzr.exe, because in this case there is no available
filesystem location of bzrlib/plugins, because bzrlib packed into library.zip.
So adding plugins for all user (not only for current) is hard by manual,
and really hard with installer.

I'm thinking about including some popular plugin to standalone installer
as additional components, so user can select which one he/she want to
install site-wide. And with current scheme of searching plugins
I simply can't do this.

[µ]


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF8OCYzYr338mxwCURAkteAJ0endeKIPJxQ7ZfV2c3LyR6j/Pt0QCfT0Iw
7v2k3Z9JM+1a8kuVgqq8u5w=
=k0MZ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list