You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/version
Brad Fitzpatrick ba5aa2c486 version, cmd/tailscale: add version.Meta, tailscale version --json
Add `tailscale version --json` JSON output mode. This will be used
later for a double-opt-in (per node consent like Tailscale SSH +
control config) to let admins do remote upgrades via `tailscale
update` via a c2n call, which would then need to verify the
cmd/tailscale found on disk for running tailscale update corresponds
to the running tailscaled, refusing if anything looks amiss.

Plus JSON output modes are just nice to have, rather than parsing
unstable/fragile/obscure text formats.

Updates #6995
Updates #6907

Change-Id: I7821ab7fbea4612f4b9b7bdc1be1ad1095aca71b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
distro paths, version/distro: detect Synology DSM version better, use for socket path 2 years ago
.gitignore version: greatly simplify redo nonsense, now that we use VERSION. 4 years ago
cmdname.go all: use strs.CutPrefix and strs.CutSuffix more 2 years ago
cmdname_ios.go all: remove old +build tags 2 years ago
cmp.go version: don't allocate parsing unsupported versions, empty strings 3 years ago
cmp_test.go safesocket: remove the IPN protocol support 2 years ago
export_test.go safesocket: remove the IPN protocol support 2 years ago
modinfo_test.go net/tlsdial,tstest,version: use go command from $PATH 1 year ago
print.go version: advertise unstable track in CLI, daemon start-up 1 year ago
prop.go version, cmd/tailscale: add version.Meta, tailscale version --json 1 year ago
race.go all: remove old +build tags 2 years ago
race_off.go all: remove old +build tags 2 years ago
version.go version, cmd/tailscale: add version.Meta, tailscale version --json 1 year ago
version_test.go safesocket: remove the IPN protocol support 2 years ago