-
Notifications
You must be signed in to change notification settings - Fork 4
Description
To support packages which need an active build step, Package Control 4 supports github releases, additionally to "branches" and "tags".
It therefore supports an additional "asset" key, which is a pattern to select desired download asset from Github releases. Each release may contain multiple package variants targetting different ST builds.
It can also be used to replace prefixed tags as packages targetting different versions of ST can be grouped under a single semver tag.
Example: https://github.com/SublimeText/Liquid/releases/tag/4149-2.3.0
Another prominent use case are dependencies, which should use this strategy to be deployed as WHEEL files, ideally.
Example:
- repository https://github.com/packagecontrol/sublime_aio/releases/tag/v0.1.5
- channel: https://github.com/packagecontrol/channel/blob/026d99415281e1571063e2a6dc665800947f433c/repository.json#L1997-L2009
Effectively there are only few ST4-only dependencies, which can't/shouldn't be deployed via PyPI: lsp_utils, mdpopups, sublime_lib, sublime_aio, all of which would ideally switch to asset based releases so we can drop legacy dependency support from Package Control client.
The crawler needs to learn to resolve asset based releases to effectivly be able to switch to package_control_channel/four-point-oh branch and use it as THE new default under https://github.com/packagecontrol/channel.
It also requires the crawler to learn PyPI for continued support of Package Control 4.2.0, which won't get logic to resolve python packagtes directly.