rht
4b086eff5a
Remove Notice{,f} logging interface
...
And substitute the lines using Notice{,f} with Info{,f}
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
rht
78b6cc5f2d
Replace Critical{,f} with Error{,f}
...
Except when there is an explicit os.Exit(1) after the Critical line,
then replace with Fatal{,f}.
golang's log and logrus already call os.Exit(1) by default with Fatal.
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
Ho-Sheng Hsiao
bf22aeec0a
Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
...
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
Tommi Virtanen
fdd1cd8dc0
Remove fsrepo.At, make Open a constructor function
...
Nobody calls At without immediately calling Open.
First step, a mechanical transformation. Cleanups will follow.
2015-03-13 20:19:03 -07:00
Juan Batiz-Benet
58f39687cf
logs: removed all log.Errors unhelpful to users
...
Let's save log.Error for things the user can take action on.
Moved all our diagnostics to log.Debug. We can ideally reduce them
even further.
2015-02-03 01:06:07 -08:00
Juan Batiz-Benet
45e4352c9c
dropped down log.Errors
2015-01-26 19:13:44 -08:00
Brian Tiger Chow
3ec5c678ae
fix(updates): record the occurrence of the auto-update check
...
This may have been failing before.
2015-01-13 03:09:33 -08:00
Brian Tiger Chow
405afd2a02
refactor(config, repo): all writes go through FSRepo. next: privatize these
2015-01-13 03:09:31 -08:00
Brian Tiger Chow
5b3164de5c
refactor(repo/config) move config under repo
2015-01-13 03:09:30 -08:00
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