Allow requesting a specific channel
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 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.
@MorrisJobke Thanks for the info! This means I don't need to keep this PR up-to-date (resolving conflicts), correct?
@MorrisJobke Thanks for the info! This means I don't need to keep this PR up-to-date (resolving conflicts), correct?
Yes.