-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently we don't check whether dependencies are met when installing addons. The commits here add support for this as follows: 1. We change repository updates to occur all at once, prior to addons being installed. This ensures that the repositories are always up to date so we don't have issues with repoA being up to date, while addons in repoA depend on repoB which is not up to date. 2. On repo update, we check dependencies and if not found (or not installable) we mark the addon as broken, rendering it uninstallable. 3. In addition, we check dependencies on install (which handles install from zip for instance) and fail the install for an addon if a dependency can't be installed. 4. Lastly, we ensure that CAddonDatabase::GetAddon() returns the latest version of the addon, so that we only ever attempt to install the latest in the case of more than one version being present in repositories.
- Loading branch information
Showing
26 changed files
with
378 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.