Discussed changes
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Aug 18 00:43:41 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John A Meinel wrote:
> I'll give on the PATH priority. Load everything, last one loaded wins,
> default path is "$BZR/bzrlib/plugins:~/.bzr.conf/plugins"
It's not about winning. I thought you hadn't understood what I was
saying, so I was trying to clarify.
If we went with last loaded wins, we could just do the path in reverse
order. PATH is still
~/.bzr.conf/plugins:$BZR/bzrlib/plugins
But we start from the last one.
Eh, I don't know. I'm not even certain that doing it backwards will
work properly, since imports follow a 'first loaded wins' pattern.
> I don't feel the need to have a 'commands' directory, but I'm okay with
> it.
Yeah, that's probably wrong. The distinction should be built-in plugins
vs external plugins.
> I don't think we need it to be scanned, we can just "import
> bzrlib.commands" and have the commands/__init__.py code handle loading
> and registering all of the appropriate commands.
Yeah, that might be a better speed/flexibility tradeoff.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDA8ut0F+nu1YWqI0RAlpVAJ92fVAvTRW0gW7QRiXrUOJHTyH5hgCfTjrf
NMACcYeBChNxKypJxBjsYZw=
=2HJU
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list