Commit Graph

11097 Commits

Author SHA1 Message Date
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
Łukasz Magiera
73f3078490 gx: fix broken import
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-11-06 00:43:39 +01: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
Steven Allen
3f4b95b812
Merge pull request #5718 from ipfs/fix/makesource
fix the maketarball script
2018-11-05 08:17:15 -08:00
Steven Allen
7e26ef5881
Merge pull request #5729 from dtkav/feat/cmd/webui-link
output link to WebUI on daemon startup
2018-11-05 07:51:47 -08:00
Steven Allen
c5c437949e
Merge pull request #5695 from ipfs/misc/pulgin-datastores
Move persistent datastores to plugins
2018-11-05 07:06:06 -08:00
Łukasz Magiera
5bfb8867f7 Load static plugins in init
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-11-05 15:45:49 +01:00
Łukasz Magiera
c154f7f01e Move datastores to plugins
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-11-05 15:40:23 +01:00
Steven Allen
67d9bb98e9
Merge pull request #5726 from ipfs/gx/update-log-and-sha
gx: update go-log and sha256
2018-11-05 06:24:18 -08:00
Łukasz Magiera
cb16462885 update t0290-cid with new dash codec
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-11-03 22:59:56 +01: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