syncthing/cmd
Jakob Borg 96350d7600
cmd/stupgrades: Generate appropriate upgrade data (fixes #5924) (#5960)
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.
2019-08-16 10:04:10 +02:00
..
stbench all: Fix comment typos 2017-11-04 07:20:11 +00:00
stcli all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
stcompdirs lib: Folder marker is now a folder 2017-09-02 05:52:38 +00:00
stcrashreceiver cmd/stcrashreceiver: Store and serve compressed reports (#5892) 2019-07-28 11:13:04 +02:00
stdisco all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stdiscosrv build, etc: Add systemd units and ufw rules for relay and discovery (fixes #5115) (#5350) 2019-08-08 18:04:52 +02:00
stevents all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stfileinfo all: Implement variable sized blocks (fixes #4807) 2018-04-16 19:08:50 +01:00
stfinddevice all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
stfindignored cmd/stfindignored: Default to current directory 2018-06-06 22:24:36 +02:00
stgenfiles all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
stindex all: A few more interesting linter fixes (#5502) 2019-02-02 12:09:07 +01:00
strelaypoolsrv lib/connections: Add QUIC protocol support (fixes #5377) (#5737) 2019-05-29 09:56:40 +02:00
strelaysrv all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
stsigtool cmd/stsigtool: Silence spurious Go 1.10 test/vet complaint 2017-12-10 19:42:17 +01:00
stupgrades cmd/stupgrades: Generate appropriate upgrade data (fixes #5924) (#5960) 2019-08-16 10:04:10 +02:00
stvanity all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stwatchfile all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
syncthing all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
todos all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
uraggregate cmd/ur*: Updates for 1.0 2019-01-03 21:46:02 +01:00
ursrv cmd/ursrv: Lint fixes 2019-05-18 11:59:32 +02:00
.gitignore Remove reprecated st* utils 2014-07-01 12:20:25 +02:00