Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
galaxy.tool_shed.galaxy_install.metadata package
Submodules
galaxy.tool_shed.galaxy_install.metadata.installed_repository_metadata_manager module
- class galaxy.tool_shed.galaxy_install.metadata.installed_repository_metadata_manager.InstalledRepositoryMetadataManager(app: InstallationTarget, tpm: ToolPanelManager | None = None, repository: ToolShedRepository | None = None, changeset_revision: str | None = None, repository_clone_url: str | None = None, shed_config_dict: Dict[str, Any] | None = None, relative_install_dir: str | None = None, repository_files_dir: str | None = None, resetting_all_metadata_on_repository: bool = False, updating_installed_repository: bool = False, persist: bool = False, metadata_dict: Dict[str, Any] | None = None)[source]
Bases:
GalaxyMetadataGenerator
- app: InstallationTarget
- __init__(app: InstallationTarget, tpm: ToolPanelManager | None = None, repository: ToolShedRepository | None = None, changeset_revision: str | None = None, repository_clone_url: str | None = None, shed_config_dict: Dict[str, Any] | None = None, relative_install_dir: str | None = None, repository_files_dir: str | None = None, resetting_all_metadata_on_repository: bool = False, updating_installed_repository: bool = False, persist: bool = False, metadata_dict: Dict[str, Any] | None = None)[source]
- build_repository_ids_select_field(name='repository_ids', multiple=True, display='checkboxes')[source]
Generate the current list of repositories for resetting metadata.
- get_query_for_setting_metadata_on_repositories(order=True)[source]
Return a query containing repositories for resetting metadata. The order parameter is used for displaying the list of repositories ordered alphabetically for display on a page. When called from the Galaxy API, order is False.
- get_repository_tools_tups()[source]
Return a list of tuples of the form (relative_path, guid, tool) for each tool defined in the received tool shed repository metadata.
- reset_all_metadata_on_installed_repository()[source]
Reset all metadata on a single tool shed repository installed into a Galaxy instance.
- reset_metadata_on_selected_repositories(user, **kwd)[source]
Inspect the repository changelog to reset metadata for all appropriate changeset revisions. This method is called from both Galaxy and the Tool Shed.
- set_repository(repository, relative_install_dir: str | None = None, changeset_revision: str | None = None)[source]