-
-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[four-point-oh?] Concept for a dependency resolver on package level #1631
Comments
Even though barely used, plugins can provide dependency/library specification upstream via Libraries are installed/updated during package installation. The same would need to happen for packages with the difference that those need to be disabled before installing or upgrading. As dependencies are not known before a package has been downloaded and extracted, we again end up in disabling and enabling packages nearly one by one, which is the main cause of all the trouble with packages keeping disabled after upgrade or batch install/upgrade operations being rather unreliable. This should not be the outcome of any future change again. Note: Just try to copy a Package Control.sublime-settings with about 70 packages to a new ST setup and try to let PC 3.4 install everything. You'll need dozens of restarts with dozens of error dialogs before everything is up and running. Hence a solution would look like:
|
see also: #1089 |
Originally posted by @deathaxe in #1628 (comment)
If we accept that package dependencies are installed after the fact and ST needs to be restarted in some cases (LSP-helpers that depend on LSP), the repository.json scheme must not be updated as far as I can see.
This would already suit many plugins since the package dependencies are mostly optional (e.g. providing extra functionality if Terminus or Debugger are available).
I could attempt to provide a PR in this case.
The text was updated successfully, but these errors were encountered: