Re: repository plugin
Hi Eli,
It definitely sounds like the repository plugin in
enthought.envisage.repository will fit your needs well. Here is my
rundown of the plugin's features:
* Allows for multiple, hierarchical repositories, the locations of which
are specified through contributions to the plugin's Envisage extension
point. There are contributions that can be used to pass locations from
environment variables, from config files, and from hardcoded strings,
into the plugin.
* Currently all repositories are file-system based, but we think it
shouldn't be too difficult to extend to database stores, webdav stores,
version-control stores, etc.
* Includes GUIs, with a tree-view of the repositories, for importing and
exporting. The importing GUI includes a mechanism for a preview of the
currently selected resource within the repository.
* The import API requires the programmer to provide a ResourceType
representing the type of resource to be imported. The plugin uses
information on this type to filter the displayed items in the import
tree to only those that are of the appropriate type within the
repositories. Likewise, information on this type provides the mechanism
to use to preview a selected resource.
Unfortunately, I haven't actually written code to use the plugin in
myself so I can't give any first-hand pointers, though I have put some
thoughts inline with your requests anyway. The author of the plugin,
(Continue reading)