mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-14 01:04:14 +00:00
96350d7600
This is a tiny tool to grab the GitHub releases info and generate a more concise version of it. The conciseness comes from two aspects: - We select only the latest stable and pre. There is no need to offer upgrades to versions that are older than the latest. (There might be, in the future, when we hit 2.0. We can revisit this at that time.) - We use our structs to deserialize and reserialize the data. This means we remove all attributes that we don't understand and hence don't require. All in all the new response is about 10% the size of the previous one and avoids the issue where we only serve a bunch of release candidates and no stable. |
||
---|---|---|
.. | ||
main.go |