Skip to content

Add support for releases with "asset" patterns #72

@deathaxe

Description

@deathaxe

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    crawlerIssues related to the crawler

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions