f3f186b493
Fix goroutine leak in pin
...
License: MIT
Signed-off-by: Alec Brickner <alecjbrick@gmail.com>
2018-05-10 19:08:10 -07:00
b675ade0d8
gx: update go-ipfs-cmds
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-04-24 15:01:16 -04:00
3c32040ad8
fix unused imports
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-20 16:53:09 +02:00
c225c344e4
Merge pull request #4833 from ipfs/misc/remove-dead-code
...
misc: Remove some dead code
2018-04-20 23:39:55 +09:00
076fd91e5f
Merge pull request #4835 from ipfs/fix/typos
...
misc: Fix a few typos
2018-04-20 23:35:58 +09:00
8e63ddf7c8
fix json
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-04-19 12:13:33 +02:00
df59b29fdc
Extract exchange/offline to go-ipfs-exchange offline
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-04-19 12:07:36 +02:00
9955208f8b
Extract: exchange/interface.go to go-ipfs-exchange-interface
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-04-19 12:07:30 +02:00
8c00a74190
Merge pull request #4846 from ipfs/feat/profile-help
...
Fix missing profile docs
2018-04-08 09:42:08 +09:00
b290286dd7
misc: Fix a few typos
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:47:22 +02:00
2ee5cfb90f
fix error style
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:43:27 +02:00
fa9489ef72
Merge pull request #4631 from ipfs/refactor/extract-fs-lock
...
refactor: extract fs lock into go-fs-lock
2018-03-29 17:59:04 -07:00
9ed9ab5772
Merge pull request #4807 from ipfs/feat/coreapi/refactor-opts
...
coreapi: Refactor options
2018-03-29 16:53:42 -07:00
816787448f
refactor: extract fs lock into go-fs-lock
...
License: MIT
Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
2018-03-29 12:22:33 -07:00
3b0e16e38b
infer type from CID when possible in ls command
...
We don't need to fetch the linked node when it's a raw node, we already know
it's a file.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-28 19:53:55 -07:00
954ad6e679
Re-order imports in core/mock/mock.go
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
69a6bd2770
Revert go-libp2p-kad-dht and related changes to a working version
...
This uses a working libp2p-kad-dht and libp2p-record libraries,
reverts the changes that were introduced to support the newer versions
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
30cf14ef9e
Replace the rest of thirdparty/datastore2 with go-datastore
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
3ee1d76d88
Update to latest go-datastore
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
57d6a7c2db
Fix missing profile docs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-26 19:16:57 +02:00
a98a4f40d3
Merge pull request #4873 from ipfs/fix/4871
...
make the tar writer handle sharded ipfs directories
2018-03-25 12:47:40 -07:00
12c3179614
coreapi: don't use underscores in opt reciever funcs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-25 14:09:59 +02:00
c354e19628
coreapi: use defined functions for pin type option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-25 13:58:29 +02:00
b1b96fc9db
Merge pull request #4856 from ipfs/fix/stats-bs-header
...
cmds/stat: remove useless header if not polling
2018-03-24 19:50:22 -07:00
79f56c1831
coreapi: remove options from interfaces
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-24 23:25:11 +01:00
6895fc653f
return a nice error when listing sharded directories
...
Unfortunately, fixing this would require breaking the API.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 16:03:02 -07:00
70bf571742
bump tar dep to make it resolvable
...
It wasn't pinned and `gx publish -f` gave a different hash.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 10:53:55 -07:00
41d82eeeb5
Merge pull request #4733 from dirkmc/feat/namesys-value-count
...
Add options for record count and timeout for resolving DHT paths
2018-03-23 09:59:26 -07:00
1fb90ad62c
Merge pull request #4857 from ipfs/extract/thirdparty-tar
...
Extract: thirdparty/tar
2018-03-23 09:41:31 -07:00
4f601a0ec0
Merge pull request #4859 from ipfs/fix/govet
...
Fix go vet warnings
2018-03-23 09:10:43 -07:00
6b180b2f7c
Merge pull request #4832 from ipfs/fix/bootstrap-cmd-prefix
...
Use prefix in bootstrapWritePeers
2018-03-22 23:32:47 -07:00
aaf6ee78cc
Merge pull request #4809 from djdv/fix/get/outpath
...
Fix get output path
2018-03-22 23:29:17 -07:00
e99b91a644
Merge pull request #4802 from ipfs/feat/coreapi/split-iface
...
coreapi: Split the interface into multiple files
2018-03-22 23:27:22 -07:00
59ad0f8c4b
Merge pull request #4755 from schomatis/fix/add/hash-only
...
add: hash-only: set the prefix for MFS root
2018-03-22 23:18:23 -07:00
a9dfe410d2
Merge pull request #4563 from ipfs/fix/block-mhtype
...
commands/block: use CIDv1 with custom mhtype
2018-03-22 23:03:56 -07:00
494f242b76
Parse string time (eg 30s) instead of assuming seconds for —-dht-timeout
...
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-03-22 12:52:09 -04:00
221652fcfb
fix govet warnings
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-22 17:31:22 +01:00
9a2f2976f2
Use latests tar-utils
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-22 00:28:44 +01:00
5bbaa75bea
Extract: thirdparty/tar
...
This module was sort of extracted to whyrusleeping/tar-utils long ago.
I gxed that, imported commits from go-ipfs to the current state, and
extracted it.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-21 18:02:25 +01:00
21fae5bfad
cmds/stat: remove useless header if not polling
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-21 15:36:58 +01:00
bfdfb8d9cd
pin cmd: fix pinLsAll context use
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
ae528640d9
misc: Remove some dead code
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
7824c2cf4e
check arguments after handling help
...
otherwise, we block on required arguments from stdin before processing the help
flag.
fixes #4837
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 15:58:34 -07:00
ed54f58df7
use prefix in bootstrapWritePeers
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-19 01:36:51 +01:00
45fd7d213f
pre-populate required arguments from request body
...
This way, we can always assume that indexing a required argument works.
Also:
* test that the command tree doesn't have any obvious bugs (duplicate options,
arguments in the wrong order, etc).
* simplify the usage ParseBodyArgs.
* remove unnecessary check in the get command.
fixes #4823
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-18 13:04:25 -07:00
958483f6bc
Merge pull request #4822 from ipfs/fix/emit-once
...
fix: use EmitOnce where only single response is to be sent
2018-03-17 11:35:17 -07:00
116269a12b
upgrade commands that used StringArguments
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-16 20:06:54 -07:00
ead64854e6
cmd/pubsub: fix pubsub peers format brakage
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-17 02:48:27 +01:00
42d1aa5bf7
cmd/pubsub: fix pubsub ls
emiting plain strings instead of JSON
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-16 14:01:37 +01:00
59178057a2
fix: use EmitOnce where only single response is to be sent
...
Part of #4818
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-16 10:17:34 +01:00