Commit Graph

23 Commits

Author SHA1 Message Date
Juan Batiz-Benet
fa8fc1aefc cmds2: check for updates 2014-11-14 03:20:46 -08:00
Juan Batiz-Benet
866c2c8915 updates + config: moved location of current version number 2014-11-04 18:58:15 -08:00
Juan Batiz-Benet
6ba45221d6 config/version: Update_ -> AutoUpdate_ 2014-11-04 18:57:03 -08:00
Juan Batiz-Benet
ef6d735019 updates: dont count dev versions as older
- if equinox says there is a new update, but the version number IS NOT
larger, we interpret that as no update (you may have gotten a newer
version by building it yourself).

- Also export ErrNoUpdateAvailable so clients don't also need to
import the equinox library to check the error.

cc @cryptix comments?
2014-10-26 01:38:44 -07:00
Juan Batiz-Benet
184c25430b go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
Juan Batiz-Benet
e20929af13 equinox.io app id 2014-10-22 15:17:03 -07:00
Juan Batiz-Benet
58aeaa7c02 auto-updates jbenet key 2014-10-22 15:05:36 -07:00
Juan Batiz-Benet
2561437a84 @jbenet's equinox pubkey 2014-10-22 14:43:22 -07:00
Henry
d9552fea18 updates: printing fixes 2014-10-22 12:34:00 +02:00
Henry
0a0c38fb91 using @jbenet's industrial lipstick to clean this up 2014-10-22 11:25:30 +02:00
Henry
cb73ea7ba4 removed duplicate logic 2014-10-22 11:25:30 +02:00
Henry
46dc322f82 fixed tests 2014-10-22 11:25:30 +02:00
Henry
81f84d6cea updated error messages and explicit import names 2014-10-22 11:25:30 +02:00
Henry
24e1e6d1e1 config: custom AutoUpdate type for validity 2014-10-22 11:25:30 +02:00
Henry
8f1fd2fcd9 ShouldAutoUpdate function 2014-10-22 11:25:30 +02:00
Henry
7ddf3836d0 implemented manual check and update (with signature verification) 2014-10-22 11:25:30 +02:00
Henry
2806260f5c use inconshreveable's go-update to check for updates 2014-10-22 11:24:34 +02:00
Henry
1e623f8823 added test to not commit bad version numbers 2014-10-22 11:24:34 +02:00
Henry
98d9df544f remove utils.PErr() 2014-10-15 13:17:04 +02:00
Juan Batiz-Benet
afec2d3d23 vendored go-semver 2014-10-09 20:01:49 -07:00
Peter Borzov
3e40ada0ee Log it when update checking request fails 2014-10-09 19:59:38 -07:00
Peter Borzov
8b90071478 Clean up error/warning messages for consistency 2014-10-09 19:59:32 -07:00
Peter Borzov
98ba0be060 Move versioning/updates stuff to a separate package 2014-10-09 19:59:15 -07:00