Commit Graph

2778 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
254dda2823
Merge pull request #5677 from chenminjian/refact/cmd/repo
refact(cmd/repo): repo's sub cmds uses new cmd lib
2018-11-05 08:42:49 -08:00
chenminjian
ff27f9f112 refact(cmd/repo): normalize fsck cmd name
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-03 17:12:49 +08:00
chenminjian
5afa7ebfdc refact(cmd/repo): repo verify uses new cmd lib
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-03 17:12:32 +08:00
chenminjian
f7b6ee3c87 refact(cmd/repo): repo fsck and repo version uses new cmd lib
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-03 17:04:44 +08:00
Steven Allen
5c5b03ea31 Revert "Merge pull request #5708 from ipfs/fix/log-ndjson"
This reverts commit f0bf99361e, reversing
changes made to d5c8fa50c8.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-02 21:17:22 -07:00
Steven Allen
0d80fc54c3 gx: update go-log and sha256
fixes #5709

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-02 21:17:20 -07:00
chenminjian
17e7892036 enhance(cmd/verify): add goroutine count to improve verify speed
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-02 13:30:12 -07:00
Steven Allen
ec9fac7379 gx: update go-ipld-cbor
(might as well do this at the same time)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-02 13:17:44 -07:00
hannahhoward
943a5de974 Update go-mfs and go-unixfs
So we can get go-unixfs v1.2.0

License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-02 13:16:56 -07:00
Steven Allen
f659eec3d9
Merge pull request #5719 from chenminjian/fix/cmd/version
fix(flag/version): flag `all` should have a higher priority
2018-11-02 13:13:02 -07:00
Overbool
488db7d2f2 commands/p2p: use cmds.EmitOnce in single value
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 12:06:26 -07:00
Overbool
7292c1da23 commands/p2p: use new cmds lib
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 12:06:26 -07:00
Overbool
4a2c3cb3cf commands/dht: use res.Emit directly
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:14:14 -07:00
Overbool
7e7a04e21f commands/dht: use new cmds lib
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:14:14 -07:00
Overbool
e1d1f68f08 commands/object: use cmds.EmitOnce in single value
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
0fe7bdfce9 commands/object: add comment
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
df58a2d617 commands/object: fix object diff option error
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00