pyrevit.versionmgr.updater

Handle updating pyRevit repository and its extensions.

pyrevit.versionmgr.updater.check_for_updates()

Check whether any available repo has pending updates.

pyrevit.versionmgr.updater.get_all_extension_repos()

Return a list of repos for all installed extensions.

pyrevit.versionmgr.updater.get_thirdparty_ext_repos()

Return a list of repos for installed third-party extensions.

pyrevit.versionmgr.updater.get_updates(repo_info)

Fetch updates on repository.

Parameters:repo_info (pyrevit.coreutils.git.RepoInfo) – repository info wrapper object
pyrevit.versionmgr.updater.has_core_updates()

Check whether pyRevit repo has core updates.

This would require host application to be closed to release the file lock of core DLLs so they can be updated separately.

pyrevit.versionmgr.updater.has_pending_updates(repo_info)

Check for updates on repository.

Parameters:repo_info (pyrevit.coreutils.git.RepoInfo) – repository info wrapper object
pyrevit.versionmgr.updater.update_pyrevit()

Update pyrevit and its extension repositories.

pyrevit.versionmgr.updater.update_repo(repo_info)

Update repository.

Parameters:repo_info (pyrevit.coreutils.git.RepoInfo) – repository info wrapper object