univention.appcenter.actions package
Contents
univention.appcenter.actions package¶
- class univention.appcenter.actions.StoreAppAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]¶
Bases:
argparse.Action
- cache_class¶
alias of
univention.appcenter.app_cache.Apps
- class univention.appcenter.actions.UniventionAppAction[source]¶
Bases:
object
- parent_logger = <Logger univention.appcenter.actions (DEBUG)>¶
- property percentage¶
Submodules¶
univention.appcenter.actions.configure module¶
- class univention.appcenter.actions.configure.Configure[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Configures an application.
- help = 'Configure an app'¶
- logger = <Logger univention.appcenter.actions.configure (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.configure.progress (DEBUG)>¶
univention.appcenter.actions.credentials module¶
univention.appcenter.actions.domain module¶
- class univention.appcenter.actions.domain.Domain[source]¶
Bases:
univention.appcenter.actions.credentials.CredentialsAction
Shows information about the domain and enabled management of app installations.
- help = 'Domain management'¶
- logger = <Logger univention.appcenter.actions.domain (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.domain.progress (DEBUG)>¶
univention.appcenter.actions.get module¶
- class univention.appcenter.actions.get.StoreKeysAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]¶
Bases:
argparse.Action
- class univention.appcenter.actions.get.Get[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Fetches meta information about the app.
- help = 'Query an app'¶
- logger = <Logger univention.appcenter.actions.get (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.get.progress (DEBUG)>¶
univention.appcenter.actions.info module¶
- class univention.appcenter.actions.info.Info[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Shows information on the current state of the App Center itself.
- help = 'Show general info'¶
- classmethod get_compatibility()[source]¶
Returns the version number of the App Center. As App Center within a domain may talk to each other it is necessary to ask whether they are compatible. The version number will rise whenever a change was made that may break compatibility.
1: initial app center 12/12 (not assigned, appcenter/version was not supported) 2: app center with remote installation 02/13 (not assigned, appcenter/version was not supported) 3: app center with version and only_dry_run 03/13 4: app center with docker support and new App class 11/15 Starting with UCS 4.3 (03/18): The full UCS version
- logger = <Logger univention.appcenter.actions.info (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.info.progress (DEBUG)>¶
univention.appcenter.actions.install module¶
- class univention.appcenter.actions.install.Install[source]¶
Bases:
univention.appcenter.actions.install_base.InstallRemoveUpgrade
Installs an application from the Univention App Center.
- help = 'Install an app'¶
- prescript_ext = 'preinst'¶
- pre_readme = 'readme_install'¶
- post_readme = 'readme_post_install'¶
- logger = <Logger univention.appcenter.actions.install (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.install.progress (DEBUG)>¶
univention.appcenter.actions.install_base module¶
- class univention.appcenter.actions.install_base.StoreConfigAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]¶
Bases:
argparse.Action
univention.appcenter.actions.list_apps module¶
- class univention.appcenter.actions.list_apps.List[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Lists all available apps; shows installed version.
- help = 'List all apps'¶
- logger = <Logger univention.appcenter.actions.list (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.list.progress (DEBUG)>¶
univention.appcenter.actions.register module¶
- class univention.appcenter.actions.register.Register[source]¶
Bases:
univention.appcenter.actions.credentials.CredentialsAction
Registers one or more applications. Done automatically via install, only useful if something went wrong / finer grained control is needed.
- help = 'Registers an app'¶
- logger = <Logger univention.appcenter.actions.register (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.register.progress (DEBUG)>¶
univention.appcenter.actions.remove module¶
- class univention.appcenter.actions.remove.Remove[source]¶
Bases:
univention.appcenter.actions.install_base.InstallRemoveUpgrade
Removes an application from the Univention App Center.
- help = 'Uninstall an app'¶
- prescript_ext = 'prerm'¶
- pre_readme = 'readme_uninstall'¶
- post_readme = 'readme_post_uninstall'¶
- logger = <Logger univention.appcenter.actions.remove (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.remove.progress (DEBUG)>¶
univention.appcenter.actions.stall module¶
- class univention.appcenter.actions.stall.Stall[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Disbales updates for this app. Useful for suppressing warnings when an app reached its end of life but shall still be used.
- help = 'Stalls an app'¶
- logger = <Logger univention.appcenter.actions.stall (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.stall.progress (DEBUG)>¶
univention.appcenter.actions.update module¶
- class univention.appcenter.actions.update.Update[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Updates the list of all available applications by asking the App Center server
- help = 'Updates the list of apps'¶
- logger = <Logger univention.appcenter.actions.update (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.update.progress (DEBUG)>¶
univention.appcenter.actions.update_certificates module¶
- class univention.appcenter.actions.update_certificates.UpdateCertificates[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Update certificates for an application.
- help = 'Update certificates for an app'¶
- logger = <Logger univention.appcenter.actions.update-certificates (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.update-certificates.progress (DEBUG)>¶
univention.appcenter.actions.update_check module¶
- class univention.appcenter.actions.update_check.CheckUcsVersion(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]¶
Bases:
argparse.Action
- class univention.appcenter.actions.update_check.UpdateCheck[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Check if update to next ucs minor version is possible with the locally installed apps
For docker apps check if is available in next UCS version. For package based apps check if there is an app version with the same component in the next UCS version
- help = 'Check for all locally installed Apps if they are available in the next UCS version'¶
- classmethod app_can_update(app, next_version, next_apps)[source]¶
checks if update is possible for this app docker apps have to support the next version components must be available in the next version component id of package based app must be available in the next version
- logger = <Logger univention.appcenter.actions.update-check (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.update-check.progress (DEBUG)>¶
univention.appcenter.actions.upgrade module¶
- class univention.appcenter.actions.upgrade.Upgrade[source]¶
Bases:
univention.appcenter.actions.install.Install
Upgrades an installed application from the Univention App Center.
- help = 'Upgrade an app'¶
- pre_readme = 'readme_update'¶
- post_readme = 'readme_post_update'¶
- logger = <Logger univention.appcenter.actions.upgrade (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.upgrade.progress (DEBUG)>¶
univention.appcenter.actions.upgrade_search module¶
- class univention.appcenter.actions.upgrade_search.UpgradeSearch[source]¶
Bases:
univention.appcenter.actions.UniventionAppAction
Searches for available upgrades of apps.
- help = 'Searches for upgrades'¶
- logger = <Logger univention.appcenter.actions.upgrade-search (DEBUG)>¶
- progress = <Logger univention.appcenter.actions.upgrade-search.progress (DEBUG)>¶