[rkward-tracker] [ rkward-Feature Requests-2897423 ] again: plugin improvements

SourceForge.net noreply at sourceforge.net
Fri Nov 13 20:04:21 UTC 2009


Feature Requests item #2897423, was opened at 2009-11-13 21:04
Message generated for change (Tracker Item Submitted) made by m-eik
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=2897423&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Plugins
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: m.eik (m-eik)
Assigned to: Nobody/Anonymous (nobody)
Summary: again: plugin improvements

Initial Comment:
i'll re-post some of my earlier thoughts on (what i think are) improvements for plugin handling from the devel list, and add some new ones:

file level
==========
- allow plugins to be a .tgz archive. rkward should be able to unpack these on the fly at startup time. pluginmaps could just have their place inside the archive and be evaluated automatically. rkward could check all .tgz files in certain configurable folders like ~./rkward/plugins and create an inventory dynamically. this would improve the installation of new plugins from the net: save archive to that folder and you're done (would need an "update inventory" switch somewhere).
all plugin tests should be included as well, so you could check the functionality of even third party plugins by specifying their location, if you want to.
this should still work if tarballs are extracted to the given folder, otherwise plugin development would suffer.

- instead of the rather static pluginmap mechanism to define the menu structure, i'd like all available plugins to be presented on a configuration page, grouped into categories, with a small box to (de)activate them individually. [to me positioning is not *that* important, but if needed should be added here as well, like moving entries up or down the hierarchy]

xml level
=========
- at a time it would have been of use to me if the logic section had a way of checking for the classes of selected objects, to toggle class specific options. e.g., if object in varslot is of class xy, make option a available, if it is of class yz, make option b available:
<logic>
  <convert id="modelxy" mode="inherits" sources="variable.class" standard="xy" />
  <convert id="modelyz" mode="inherits" sources="variable.class" standard="yz" />
  <connect client="optiona.enabled" governor="modelxy" />
  <connect client="optionb.enabled" governor="modelyz" />
</logic>

pluginmap level
===============
- when working on a new plugin, i began to wish for a version number tag. several versions of one plugin should possibly be active at the same time without problems. perhaps, if rkward would ckeck for uniqueness of active plugins, it could add the version numbers to the menu entries if needed. the version numbers should also be shown in the plugin configuration. i'd suggest a new pluginmap element for this, e.g.:
<plugin name="Linear Regression" version="1.7-4" category="Regression" />

- the more plugins become available, the more useful an optional(?) maintainer tag could become, too, e.g.:
<maintainer name="My Name" email="i_am at somewhere.else" />
it could also be automatically added to each corresponding .rkh help page when it is shown.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=2897423&group_id=50231




More information about the rkward-tracker mailing list