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

Enhancement: Add ability to filter out prerelease, alpha, etc. on github API calls #1036

Open
dchurch315 opened this issue Mar 8, 2024 · 0 comments

Comments

@dchurch315
Copy link
Contributor

dchurch315 commented Mar 8, 2024

Requesting a new feature πŸ§‘β€πŸ’»

I've made a couple of ext-repos using deb-get and one issue that comes up often is that the API call to grab LATEST can also grabs pre-releases of the app. Most of the examples I've seen in the commits to deal with this issue involve making grep snips on the resulting URL call to get only actual releases but this is a fragile method as each github owner can (and will unfortunately) change their filenames periodically. Likewise this approach is not portable between apps.

I propose adding a variable that would allow adding the prerelease boolean FALSE to the github API call - this will leverage github handling this for deb-get. Perhaps it could even be made the default behavior with the variable allowing folks to force to turn on getting prereleases if they so desire.

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

1 participant