wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.79k stars 814 forks source link

Invalid dependency or package marks whole repository invalid #1526

Closed deathaxe closed 1 year ago

deathaxe commented 3 years ago

If either a package or dependency fails validation, the whole repository is added to the list of invalid sources.

If that happens everything a repository has to offer is unavailable, not just the one dep/pkg which is not valid. This may have unwanted heavy consequences.

Dependency

https://github.com/wbond/package_control/blob/8b947d227bfee2b514283e650c3f88c954ae1026/package_control/providers/repository_provider.py#L344-L351

Package

https://github.com/wbond/package_control/blob/8b947d227bfee2b514283e650c3f88c954ae1026/package_control/providers/repository_provider.py#L632-L639