Skip to content
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

Support Github releases auto-update #217

Open
aymanbagabas opened this issue Apr 9, 2021 · 3 comments
Open

Support Github releases auto-update #217

aymanbagabas opened this issue Apr 9, 2021 · 3 comments

Comments

@aymanbagabas
Copy link

I would love to see support for Github releases as an auto-update source. We can use Github API to fetch a list of releases along with their assets https://docs.github.com/en/rest/reference/repos#releases

@MattIPv4
Copy link
Member

MattIPv4 commented Apr 9, 2021

Relying on GitHub releases would be a very specific feature to GitHub, we already support the far more generic concept of Git tags, which you have to use when you create a release on GitHub iirc. I'm not sure what adding support for this would achieve that our support for git tags doesn't already?

@aymanbagabas
Copy link
Author

Some projects don't distribute their assets in the git repository, instead, they rely on GitHub releases take Iosevka as an example. The repository only contains the source code and the releases page contains all the assets.

@MattIPv4
Copy link
Member

MattIPv4 commented Apr 9, 2021

Ah, yeah, I guess that somewhat makes sense, though the example you've given wouldn't be supported still as cdnjs does not host ZIP files -- I guess there could be some packages that have their distributable files directly exposed in the assets of a release but not anywhere else (NPM package, repo, etc.)

I think before we invest any time into working to support this, I'd like to better gauge the interest and need for it -- what packages are there out there that cdnjs should have currently but can't because they only release their distributable assets via GitHub release assets?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants