Skip to content

Conversation

@ffried
Copy link

@ffried ffried commented Apr 12, 2021

This attempts to resolve #68 by adding support for a channel query parameter.
The new parameter is mutually exclusive with version and if version is provided channel is ignored.

The current implementation tries to find the best version by searching for the highest version number with the highest probability. I'm not a 100% sure if this is the best approach, but it should work for now I think.

@ffried ffried force-pushed the feature/channel_request branch 4 times, most recently from bf7708f to 2c6750d Compare April 12, 2021 09:38
Signed-off-by: Florian Friedrich <[email protected]>
@ffried ffried force-pushed the feature/channel_request branch from 2c6750d to 98cd7c4 Compare April 19, 2021 18:11
@MorrisJobke
Copy link
Contributor

@ffried Thanks a lot for your work on this. In general this feature looks useful, unfortunately it changes a lot of the existing code base which I try to keep as minimal as possible.

In the not too close future we plan to move the updater server into a more general purpose API to retrieve version information. I will keep you updated on this and link it here. For now I would like to leave this PR open and just want to let you know that we have not over seen it.

@ffried
Copy link
Author

ffried commented May 18, 2021

@MorrisJobke Thanks for the info! This means I don't need to keep this PR up-to-date (resolving conflicts), correct?

@MorrisJobke
Copy link
Contributor

@MorrisJobke Thanks for the info! This means I don't need to keep this PR up-to-date (resolving conflicts), correct?

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

allow a requeststring like "?channel=(production|stable|daily)" to return URL to latest .tgz of chosen channel

2 participants