[PATCH] Search user plugin directories before site plugin directories

John Arbash Meinel john at arbash-meinel.com
Fri Feb 23 20:24:04 GMT 2007


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

Robert Collins wrote:
> On Fri, 2007-02-23 at 10:48 -0600, John Arbash Meinel wrote:
>>
>> That is how we used to do it. But it isn't true anymore. I just wanted
>> to make a quick note that I think when Robert updated the import code,
>> he actually broke our pre-existing behavior.
> ...
>> So the current behavior is compatible with history. Though I think we
>> can agree that it isn't the preferred behavior.
> 
> I'm confused. Did I, or did I not, break the historical behaviour ?
> 
> Rob
> 

You broke the fact that we used to load in a specific order. You didn't
break the fact that we were loading site-wide plugins before user
plugins and skipping user plugins.

The supplied patch loads user plugins preferentially to site-wide
plugins, but doesn't do anything about specific plugin load order. (If
you have site "foo" and user "foo" you know user "foo" will be loaded,
but you don't know whether it will load before or after site "bar" or
site "baz")

So we need to discuss if we want to do anything about plugin ordering,
but as a first step, we would at least allow users to install a plugin
and have it supersede the site-wide one.

John
=:->

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

iD8DBQFF301kJdeBCYSNAAMRAgDiAJ4/Vn6tU8mZnYZwp7BgtINQioaWNgCfRtUF
HdfKFwP1hC5Rg/HAiDb1kss=
=mP9N
-----END PGP SIGNATURE-----



More information about the bazaar mailing list