Michael E Brown wrote:
On Mon, Jan 14, 2008 at 04:19:36PM +0100, Tim Lauridsen wrote:
seth vidal wrote:
On Mon, 2008-01-14 at 09:32 -0500, Jeremy Katz wrote:
On Mon, 2008-01-14 at 09:18 -0500, seth vidal wrote:
Talking to Tim about plugins on the irc channel it occurred to me, to
keep interactive plugins from damaging not interactive program
executions we should keep from loading them, at all, ever.

However, we have to load them a bit to inspect what type of plugin they
are. What if we put the plugin type in the plugin config file. Scan the
config files for the type and ignore the ones which won't work for
whatever interface we're using at the time. If we don't find the plugin
type defined there then we can fallback to loading the plugin - for
compat reasons.

Are plugins doing things on import that break stuff? If so, tell plugin
authors to not do that.

If it is really necessary to do this, can we do it in a way that doesnt
make forward/back compat a big pain?
--
Michael
 It will be implemented in a way, so i don't break backward compatibility.
if no *.type file exist in /usr/share/yum-utils, then the type will be detected as it is today. There will be no changes for the plugin authors, the type files will be dome by the Makefile by scanning the plugin types in the plugin.py files.

Tim

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to