packager icon indicating copy to clipboard operation
packager copied to clipboard

[Request] Check for Github releases for externals

Open Gethe opened this issue 3 years ago • 5 comments

If an external links to a github repo, I think it would be useful to check if it has uploaded releases (like if they too use this packager) and optionally use that instead of the repo download.

Gethe avatar Oct 13 '20 03:10 Gethe

Personally, I at least wouldn't want this to happen by default. My libraries are designed in such a way that packages are meant for people to download, and the repository is for the packager to pull from.

So if this is ever an option, it should be entirely optional.

Nevcairiel avatar Oct 13 '20 08:10 Nevcairiel

Oh of course, the default case shouldn't change.

Gethe avatar Oct 13 '20 16:10 Gethe

Maybe something like a warning message?

Tuller avatar Oct 13 '20 16:10 Tuller

Maybe support URLs like the following:

https://github.com/ferronn-dev/lib-classic-gear-planner/releases/download/latest/LibClassicGearPlanner.zip

This doesn't even need to be a github-specific thing; just a "zip" or "archive" type. This would support github releases without having to explicitly support github releases.

ferronn-dev avatar Aug 10 '21 15:08 ferronn-dev

Threw together https://github.com/BigWigsMods/packager/pull/105

ferronn-dev avatar Aug 10 '21 21:08 ferronn-dev