Addon Manager: Minor fixes and error tweaks

* Correct display of tags in list view
* Add error checking for branch name and url match
* Convert some messages to logs
This commit is contained in:
Chris Hennes
2022-02-23 17:05:08 -06:00
parent d88397f3d6
commit e7ca40623c
4 changed files with 42 additions and 9 deletions

View File

@@ -248,6 +248,8 @@ class UpdateWorker(QtCore.QThread):
repo.load_metadata_file(md_file)
repo.installed_version = repo.metadata.Version
repo.updated_timestamp = os.path.getmtime(md_file)
repo.verify_url_and_branch(addon["url"], addon["branch"])
self.addon_repo.emit(repo)
# querying official addons
@@ -288,6 +290,8 @@ class UpdateWorker(QtCore.QThread):
repo.load_metadata_file(md_file)
repo.installed_version = repo.metadata.Version
repo.updated_timestamp = os.path.getmtime(md_file)
repo.verify_url_and_branch(url, branch)
if name in py2only:
repo.python2 = True
if name in mod_reject_list: