Repository¶
-
class
xdm.plugins.repository.RepoManager(repos)¶ Class to manage all reposetories and entry point for installing plugins
-
checkForUpdate()¶ Check on all installed plugins if an update is avalilable stores result in self.updateable_plugins and send messages to GUI
-
deinstall(identifier)¶ Deinstall a plugin by simply deleting the install folder recaches all plugins at the end
-
doCleanUp()¶ - Recaches plugins
- Updates cherrypys static folders
- cache repositories
-
hasUpdate(identifier)¶ Check if plugin has an update uses cache
-
install(identifier, doCleanUp=True)¶ install a plugin
- checks if plugin is already installed
- checks if plugins is installed but has an update, if so move the old version to __old__oldFolderName
- chooses install method by the given “format” e.g. “zip”
- use the Appropriate installer
- if doCleanUp was True doCleanUp is called
-