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/ipn
Andrew Lytvynov 593c086866
clientupdate: distinguish when auto-updates are possible (#9896)
clientupdate.Updater will have a non-nil Update func in a few cases
where it doesn't actually perform an update:
* on Arch-like distros, where it prints instructions on how to update
* on macOS app store version, where it opens the app store page

Add a new clientupdate.Arguments field to cause NewUpdater to fail when
we hit one of these cases. This results in c2n updates being "not
supported" and `tailscale set --auto-update` returning an error.

Updates #755

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
1 year ago
..
conffile ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 1 year ago
ipnauth all: update copyright and license headers 2 years ago
ipnlocal clientupdate: distinguish when auto-updates are possible (#9896) 1 year ago
ipnserver logpolicy, various: allow overriding log function 1 year ago
ipnstate client/web: restrict full management client behind browser sessions 1 year ago
localapi ipn/ipnlocal: set the push device token correctly 1 year ago
policy ipn: prefer allow/denylist terminology 2 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 1 year ago
backend.go cmd/tailscale,ipn/ipnlocal: print debug component names 1 year ago
conf.go ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 1 year ago
doc.go all: update copyright and license headers 2 years ago
fake_test.go all: update copyright and license headers 2 years ago
ipn_clone.go ipn: add PostureChecks to Prefs 1 year ago
ipn_test.go net/packet: split off checksum munging into different pkg 1 year ago
ipn_view.go ipn: add PostureChecks to Prefs 1 year ago
prefs.go ipn: add PostureChecks to Prefs 1 year ago
prefs_test.go ipn: add PostureChecks to Prefs 1 year ago
serve.go ipn: use NodeCapMap in CheckFunnel 1 year ago
serve_test.go ipn: use NodeCapMap in CheckFunnel 1 year ago
store.go ipn: avoid useless no-op WriteState calls 1 year ago
store_test.go ipn: avoid useless no-op WriteState calls 1 year ago