Public Member Functions | |
def | finish_zip (self, int index, int response_code, os.PathLike filename) |
None | launch_zip (self, str zipdir) |
def | run (self) |
None | run_git (self, str clonedir) |
None | run_git_clone (self, str clonedir) |
None | run_git_update (self, str clonedir) |
def | update_metadata (self) |
None | update_status (self) |
def | update_zip_status (self, int index, int bytes_read, int data_size) |
Public Attributes | |
bakdir | |
git_progress | |
repo | |
update_timer | |
zip_complete | |
zip_download_index | |
zipdir | |
Static Public Attributes | |
failure = QtCore.Signal(Addon, str) | |
progress_made = QtCore.Signal(int, int) | |
status_message = QtCore.Signal(str) | |
success = QtCore.Signal(Addon, str) | |
def addonmanager_workers.InstallWorkbenchWorker.finish_zip | ( | self, | |
int | index, | ||
int | response_code, | ||
os.PathLike | filename | ||
) |
References addonmanager_workers.InstallWorkbenchWorker.bakdir, addonmanager_workers.ConnectionChecker.failure, addonmanager_workers.InstallWorkbenchWorker.failure, addonmanager_workers.DependencyInstallationWorker.failure, addonmanager_workers.UpdateAllWorker.failure, addonmanager_workers.UpdateSingleWorker.failure, addonmanager_workers.CheckSingleUpdateWorker.repo, addonmanager_workers.InstallWorkbenchWorker.repo, change_branch.ChangeBranchDialogModel.repo, package_details.PackageDetails.repo, addonmanager_workers.UpdateWorker.status_message, addonmanager_workers.CacheMacroCode.status_message, addonmanager_workers.GetMacroDetailsWorker.status_message, addonmanager_workers.InstallWorkbenchWorker.status_message, addonmanager_workers.UpdateMetadataCacheWorker.status_message, addonmanager_workers.UpdateAllWorker.status_message, addonmanager_workers.ConnectionChecker.success, addonmanager_workers.InstallWorkbenchWorker.success, addonmanager_workers.DependencyInstallationWorker.success, addonmanager_workers.UpdateAllWorker.success, addonmanager_workers.UpdateSingleWorker.success, addonmanager_workers.InstallWorkbenchWorker.update_metadata(), addonmanager_workers.InstallWorkbenchWorker.zip_complete, and addonmanager_workers.InstallWorkbenchWorker.zipdir.
None addonmanager_workers.InstallWorkbenchWorker.launch_zip | ( | self, | |
str | zipdir | ||
) |
References addonmanager_workers.ConnectionChecker.failure, addonmanager_workers.InstallWorkbenchWorker.failure, addonmanager_workers.DependencyInstallationWorker.failure, addonmanager_workers.UpdateAllWorker.failure, addonmanager_workers.UpdateSingleWorker.failure, addonmanager_workers.CheckSingleUpdateWorker.repo, addonmanager_workers.InstallWorkbenchWorker.repo, change_branch.ChangeBranchDialogModel.repo, and package_details.PackageDetails.repo.
Referenced by addonmanager_workers.InstallWorkbenchWorker.run().
def addonmanager_workers.InstallWorkbenchWorker.run | ( | self | ) |
References addonmanager_workers.InstallWorkbenchWorker.launch_zip(), addonmanager_workers.CheckSingleUpdateWorker.repo, addonmanager_workers.InstallWorkbenchWorker.repo, change_branch.ChangeBranchDialogModel.repo, package_details.PackageDetails.repo, and addonmanager_workers.InstallWorkbenchWorker.run_git().
Referenced by femexamples.examplesgui.FemExamples.clicked(), and femsolver.task.Task.protector().
None addonmanager_workers.InstallWorkbenchWorker.run_git | ( | self, | |
str | clonedir | ||
) |
Referenced by addonmanager_workers.InstallWorkbenchWorker.run().
None addonmanager_workers.InstallWorkbenchWorker.run_git_clone | ( | self, | |
str | clonedir | ||
) |
References addonmanager_workers.InstallWorkbenchWorker.git_progress, addonmanager_workers.CheckSingleUpdateWorker.repo, addonmanager_workers.InstallWorkbenchWorker.repo, change_branch.ChangeBranchDialogModel.repo, package_details.PackageDetails.repo, addonmanager_workers.UpdateWorker.status_message, addonmanager_workers.CacheMacroCode.status_message, addonmanager_workers.GetMacroDetailsWorker.status_message, addonmanager_workers.InstallWorkbenchWorker.status_message, addonmanager_workers.UpdateMetadataCacheWorker.status_message, addonmanager_workers.UpdateAllWorker.status_message, addonmanager_workers.ConnectionChecker.success, addonmanager_workers.InstallWorkbenchWorker.success, addonmanager_workers.DependencyInstallationWorker.success, addonmanager_workers.UpdateAllWorker.success, addonmanager_workers.UpdateSingleWorker.success, and addonmanager_workers.InstallWorkbenchWorker.update_metadata().
None addonmanager_workers.InstallWorkbenchWorker.run_git_update | ( | self, | |
str | clonedir | ||
) |
References addonmanager_workers.ConnectionChecker.failure, addonmanager_workers.InstallWorkbenchWorker.failure, addonmanager_workers.DependencyInstallationWorker.failure, addonmanager_workers.UpdateAllWorker.failure, addonmanager_workers.UpdateSingleWorker.failure, addonmanager_workers.CheckSingleUpdateWorker.repo, addonmanager_workers.InstallWorkbenchWorker.repo, change_branch.ChangeBranchDialogModel.repo, package_details.PackageDetails.repo, addonmanager_workers.UpdateWorker.status_message, addonmanager_workers.CacheMacroCode.status_message, addonmanager_workers.GetMacroDetailsWorker.status_message, addonmanager_workers.InstallWorkbenchWorker.status_message, addonmanager_workers.UpdateMetadataCacheWorker.status_message, addonmanager_workers.UpdateAllWorker.status_message, addonmanager_workers.ConnectionChecker.success, addonmanager_workers.InstallWorkbenchWorker.success, addonmanager_workers.DependencyInstallationWorker.success, addonmanager_workers.UpdateAllWorker.success, addonmanager_workers.UpdateSingleWorker.success, and addonmanager_workers.InstallWorkbenchWorker.update_metadata().
def addonmanager_workers.InstallWorkbenchWorker.update_metadata | ( | self | ) |
References addonmanager_workers.CheckSingleUpdateWorker.repo, addonmanager_workers.InstallWorkbenchWorker.repo, change_branch.ChangeBranchDialogModel.repo, and package_details.PackageDetails.repo.
Referenced by addonmanager_workers.InstallWorkbenchWorker.finish_zip(), addonmanager_workers.InstallWorkbenchWorker.run_git_clone(), and addonmanager_workers.InstallWorkbenchWorker.run_git_update().
None addonmanager_workers.InstallWorkbenchWorker.update_status | ( | self | ) |
References addonmanager_workers.InstallWorkbenchWorker.git_progress, Base::SequencerBase.isRunning(), Gui::GUISingleApplication.isRunning(), Gui::PythonDebugger.isRunning(), addonmanager_workers.CheckWorkbenchesForUpdatesWorker.progress_made, addonmanager_workers.FillMacroListWorker.progress_made, addonmanager_workers.CacheMacroCode.progress_made, addonmanager_workers.InstallWorkbenchWorker.progress_made, addonmanager_workers.UpdateMetadataCacheWorker.progress_made, addonmanager_workers.UpdateAllWorker.progress_made, NetworkManager.NetworkManager.progress_made, addonmanager_workers.UpdateWorker.status_message, addonmanager_workers.CacheMacroCode.status_message, addonmanager_workers.GetMacroDetailsWorker.status_message, addonmanager_workers.InstallWorkbenchWorker.status_message, addonmanager_workers.UpdateMetadataCacheWorker.status_message, and addonmanager_workers.UpdateAllWorker.status_message.
Referenced by package_details.PackageDetails.branch_changed(), package_details.PackageDetails.disable_clicked(), addonmanager_workers.CheckSingleUpdateWorker.do_work(), package_details.PackageDetails.enable_clicked(), and Addon.Addon.status().
def addonmanager_workers.InstallWorkbenchWorker.update_zip_status | ( | self, | |
int | index, | ||
int | bytes_read, | ||
int | data_size | ||
) |
References addonmanager_workers.CheckWorkbenchesForUpdatesWorker.progress_made, addonmanager_workers.FillMacroListWorker.progress_made, addonmanager_workers.CacheMacroCode.progress_made, addonmanager_workers.InstallWorkbenchWorker.progress_made, addonmanager_workers.UpdateMetadataCacheWorker.progress_made, addonmanager_workers.UpdateAllWorker.progress_made, NetworkManager.NetworkManager.progress_made, addonmanager_workers.UpdateWorker.status_message, addonmanager_workers.CacheMacroCode.status_message, addonmanager_workers.GetMacroDetailsWorker.status_message, addonmanager_workers.InstallWorkbenchWorker.status_message, addonmanager_workers.UpdateMetadataCacheWorker.status_message, addonmanager_workers.UpdateAllWorker.status_message, and addonmanager_workers.InstallWorkbenchWorker.zip_download_index.
addonmanager_workers.InstallWorkbenchWorker.bakdir |
Referenced by addonmanager_workers.InstallWorkbenchWorker.finish_zip().
Referenced by addonmanager_workers.InstallWorkbenchWorker.finish_zip(), addonmanager_workers.InstallWorkbenchWorker.launch_zip(), addonmanager_workers.UpdateAllWorker.on_failure(), addonmanager_workers.ConnectionChecker.run(), addonmanager_workers.DependencyInstallationWorker.run(), addonmanager_workers.InstallWorkbenchWorker.run_git_update(), addonmanager_workers.UpdateSingleWorker.update_macro(), and addonmanager_workers.UpdateSingleWorker.update_package().
addonmanager_workers.InstallWorkbenchWorker.git_progress |
Referenced by NetworkManager.NetworkManager.abort(), addonmanager_workers.UpdateMetadataCacheWorker.download_completed(), addonmanager_workers.UpdateAllWorker.on_failure(), addonmanager_workers.UpdateAllWorker.on_success(), addonmanager_workers.FillMacroListWorker.retrieve_macros_from_git(), addonmanager_workers.FillMacroListWorker.retrieve_macros_from_wiki(), addonmanager_workers.UpdateAllWorker.run(), addonmanager_workers.CacheMacroCode.update_and_advance(), addonmanager_workers.InstallWorkbenchWorker.update_status(), and addonmanager_workers.InstallWorkbenchWorker.update_zip_status().
addonmanager_workers.InstallWorkbenchWorker.repo |
Referenced by package_details.PackageDetails.branch_changed(), package_details.PackageDetails.change_branch_clicked(), change_branch.ChangeBranchDialogModel.data(), package_details.PackageDetails.disable_clicked(), package_details.PackageDetails.display_repo_status(), addonmanager_workers.CheckSingleUpdateWorker.do_work(), package_details.PackageDetails.enable_clicked(), addonmanager_workers.InstallWorkbenchWorker.finish_zip(), addonmanager_workers.InstallWorkbenchWorker.launch_zip(), package_details.PackageDetails.macro_readme_updated(), package_details.PackageDetails.requires_newer_freecad(), addonmanager_workers.InstallWorkbenchWorker.run(), addonmanager_workers.InstallWorkbenchWorker.run_git_clone(), addonmanager_workers.InstallWorkbenchWorker.run_git_update(), package_details.PackageDetails.set_change_branch_button_state(), package_details.PackageDetails.set_disable_button_state(), package_details.PackageDetails.show_repo(), and addonmanager_workers.InstallWorkbenchWorker.update_metadata().
|
static |
Referenced by addonmanager_workers.InstallWorkbenchWorker.finish_zip(), addonmanager_workers.UpdateMetadataCacheWorker.process_icon(), addonmanager_workers.UpdateMetadataCacheWorker.process_metadata_txt(), addonmanager_workers.UpdateMetadataCacheWorker.process_package_xml(), addonmanager_workers.UpdateMetadataCacheWorker.process_requirements_txt(), addonmanager_workers.CacheMacroCode.run(), addonmanager_workers.GetMacroDetailsWorker.run(), addonmanager_workers.InstallWorkbenchWorker.run_git_clone(), addonmanager_workers.InstallWorkbenchWorker.run_git_update(), addonmanager_workers.CacheMacroCode.update_and_advance(), addonmanager_workers.InstallWorkbenchWorker.update_status(), and addonmanager_workers.InstallWorkbenchWorker.update_zip_status().
Referenced by addonmanager_workers.InstallWorkbenchWorker.finish_zip(), addonmanager_workers.UpdateAllWorker.on_success(), addonmanager_workers.ConnectionChecker.run(), addonmanager_workers.DependencyInstallationWorker.run(), addonmanager_workers.InstallWorkbenchWorker.run_git_clone(), addonmanager_workers.InstallWorkbenchWorker.run_git_update(), addonmanager_workers.UpdateSingleWorker.update_macro(), and addonmanager_workers.UpdateSingleWorker.update_package().
addonmanager_workers.InstallWorkbenchWorker.update_timer |
addonmanager_workers.InstallWorkbenchWorker.zip_complete |
Referenced by addonmanager_workers.InstallWorkbenchWorker.finish_zip().
addonmanager_workers.InstallWorkbenchWorker.zip_download_index |
addonmanager_workers.InstallWorkbenchWorker.zipdir |
Referenced by addonmanager_workers.InstallWorkbenchWorker.finish_zip().