Daniel Mack
45b34e2bcb
bootstrap: check for presence of bootstrap nodes earlier
...
Rather than checking for the presence of bootstrap nodes on each iteration
of the deferred function, do the check at initialization time and report an
error immediately.
License: MIT
Signed-off-by: Daniel Mack <daniel@zonque.org>
2018-11-12 22:45:47 +01:00
Steven Allen
a88cd82a70
Merge pull request #5760 from overbool/refactor/cmds/encoder
...
cmds: use MakeTypedEncoder
2018-11-10 10:11:26 -08:00
Steven Allen
4e7014ee4e
Merge pull request #5759 from overbool/fix/bitswam/sort-wantlist
...
cmds/bitswap: sort wantlist
2018-11-10 10:09:24 -08:00
Overbool
f4976e6b4e
cmds/bitswap: sort wantlist
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-10 12:19:15 +08:00
Overbool
51fa833fda
cmds: use MakeTypedEncoder
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-10 12:11:45 +08:00
Steven Allen
085217eb5e
Merge pull request #5730 from overbool/refactor/cmds/update
...
cmds/update: use new cmds lib
2018-11-09 11:57:24 -08:00
Overbool
5002d59d8c
cmds/update: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-09 11:14:48 -08:00
Steven Allen
19a662040a
Merge pull request #5756 from overbool/refactor/cmds/file
...
cmds/file: use new cmds lib
2018-11-08 18:30:35 -08:00
Overbool
cd108a0f88
cmds/file: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-09 09:26:52 +08:00
Steven Allen
8189650216
Merge pull request #5750 from overbool/refactor/cmds/rm-reduntant-func
...
cmds: remove reduntant func
2018-11-08 01:01:17 -08:00
Overbool
57b0c0f792
cmds: remove reduntant func
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-08 15:21:50 +08:00
Steven Allen
98f6b2f684
Merge pull request #5679 from overbool/refactor/commands/refs
...
commands/refs: use new cmds
2018-11-07 13:57:56 -08:00
Steven Allen
b622e33482
Merge pull request #5674 from overbool/refactor/commands/pin
...
commands/pin: use new cmds lib
2018-11-07 13:29:31 -08:00
Steven Allen
5c15857e33
pin: handle progress in post-run, everything else in the encoder
...
Otherwise, we break the HTTP API (slightly).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-07 13:19:15 -08:00
Overbool
62ce03ed14
cmds/pin: use PostRun in pin add
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
52cd246c04
cmds/pin: use EmitOnce for single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
1e7149cd00
commands/pin: fix gofmt and block
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
6fc049b59f
commands/pin: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Steven Allen
901e9fb955
Merge pull request #5678 from overbool/refactor/commands/bootstrap
...
commands/boostrap: use new cmds
2018-11-07 11:56:09 -08:00
Steven Allen
ee11bc790b
Merge pull request #5743 from chenminjian/fix/cmd/add
...
fix(cmd/add): progressbar output error when input is read from stdin
2018-11-07 07:56:56 -08:00
chenminjian
fcea632b3d
fix(cmd/add): progressbar output error when input is read from stdin
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-07 07:52:15 -08:00
Steven Allen
e8d1a1f0c5
Merge pull request #5747 from ipfs/fix/5733
...
unexport GOFLAGS
2018-11-07 07:35:36 -08:00
Overbool
bc4a9ef7c2
cmds/bootstrap: use EmitOnce directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 17:14:56 +08:00
Overbool
bde95077c7
commands/boostrap: use new cmds
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 17:03:34 +08:00
Overbool
bb236cf5ad
cmds/refs: use emit directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 16:58:36 +08:00
Overbool
30c6dd9bc1
cmds/refs: remove redundant func
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 16:49:16 +08:00
Overbool
bd5be7efc8
commands/refs: drop goroutine
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 15:22:49 +08:00
Overbool
204a53247c
commands/refs: use new cmds
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 15:22:49 +08:00
Steven Allen
2aab5b9fba
unexport GOFLAGS
...
We want to explicitly pass these where we need them.
fixes #5733
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-06 14:26:38 -08:00
Steven Allen
887be02489
Merge pull request #5659 from overbool/refactor/use-new-cmds
...
refactor(cmds): use new cmds
2018-11-06 13:17:25 -08:00
Overbool
0afbafdeaf
cmds: use w.Write directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
2c48466630
commands: use EmitOnce for single object
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
46902e98e2
commands: use io.Writer in tabwriter
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
d26f97a902
fix(cmd/diag): inorder output
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
35959d623b
refactor(cmds): use new cmds lib in log
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
27bc0ecc2e
refactor(cmds): use new cmds lib in mount
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
b1efb997bf
refactor(cmds): use new cmds lib in config
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
b2badfbb06
refactor(cmds): use new cmds lib in diag
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Steven Allen
a8dd21a59b
Merge pull request #5673 from overbool/refactor/commands/filestore
...
commands/filestore: use new cmds lib
2018-11-06 13:01:24 -08:00
Overbool
b4b6fc6906
cmds/filestore: use PostRun in verify
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
c43658621d
commands/filestore: print StatusOtherError error
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
2462bf913a
commands/filestore: use res.Emit directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
013de54d98
commands/filestore: fix gofmt
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
dfde39151f
commands/filestore: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Steven Allen
392e1a971b
Merge pull request #5721 from rmorey/patch-1
...
Fix broken links
2018-11-06 08:39:38 -08:00
Steven Allen
5716926c76
Merge pull request #5573 from kjzz/fix/help
...
fix `ipfs help` bug #5557
2018-11-05 16:18:58 -08:00
Steven Allen
a6a78924bc
Merge pull request #5676 from overbool/refactor/commands/bitswap
...
commands/bitswap: use new cmds lib
2018-11-05 16:04:12 -08:00
Overbool
73fef489f5
commands/bitswap: use cmds.EmitOnce in single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-05 15:55:04 -08:00
Overbool
c5b44ded40
commands/bitswap: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-05 15:55:04 -08:00
Steven Allen
2efea65b0d
Merge pull request #5741 from ipfs/fix/broken-import
...
gx: fix broken import
2018-11-05 15:52:25 -08:00