-
-
Notifications
You must be signed in to change notification settings - Fork 812
Support download of custom build artifacts #1484
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
Comments
Maybe we can go a bit further with this? the github api has a wealth of info. {
"schema_version": "4.0.0",
"packages": [
{
"name": "Package",
"github": "user/sublime-package"
}
]
} Only problem seems to be the missing |
Github is only one of several supported hosting platforms. Hence a key like |
Our current approach is to use URLs, and then write code that can consume those URLs. I don't see why we'd need to add a key What would be a logical enhancement would be to change the If GitLab supports such a feature, someone could implement it in the GitLab provider. |
That's supported as of PC4.0.0-beta9 with support for PyPI as of beta10 |
Package Control downloads packages from
https://codeload.github.com/<user>/<repo>/zip/<tag>
which always downloads the whole exported repository of the given<tag>
.A plugin author might want to run a deploy workflow to create custom build artifacts, which may contain external libraries which are not part of the repository itself. Those build artifacts are available for download via
https://github.com/<user>/<repo>/releases/download/<tag>/<artifact>
. The<artifact>
is file name such as Emmet.zip.At the moment an
url
key needs to be specified in the repository.json to download such custom files.How about adding a
download
key, which if present is used to build the download url?Example:
The text was updated successfully, but these errors were encountered: