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()
  1. Recaches plugins
  2. Updates cherrypys static folders
  3. cache repositories
hasUpdate(identifier)

Check if plugin has an update uses cache

install(identifier, doCleanUp=True)

install a plugin

  1. checks if plugin is already installed
  2. checks if plugins is installed but has an update, if so move the old version to __old__oldFolderName
  3. chooses install method by the given “format” e.g. “zip”
  4. use the Appropriate installer
  5. if doCleanUp was True doCleanUp is called