Commit Graph

1904 Commits

Author SHA1 Message Date
Steven Allen
853ed0be5d chore: fix deprecation warnings 2019-09-26 15:38:12 -07:00
Steven Allen
c9f3d4b9ab cmds(help): fix swarm filter add/rm help text
These _are_ added/removed from the config.

fixes #4605
2019-09-20 15:02:11 -07:00
Steven Allen
f6f8d68574 version: don't print 'VERSION-' if no commit is specified
fixes #6022
2019-08-28 00:06:46 -07:00
Steven Allen
4f6069f218 cmds/refs: fix ipfs refs for sharded directories
fixes #6596
2019-08-21 18:25:46 -07:00
Steven Allen
641d9f6b09
Merge pull request #6539 from ipfs/fix/writable-gateway
fix and improve the writable gateway
2019-07-26 19:03:37 -07:00
Steven Allen
c312cfff27 feat: add install instructions for external commands
Issue reported on IRC.
2019-07-26 12:37:33 -07:00
Steven Allen
2c222741d1 fix: update for merkledag API changes 2019-07-25 19:26:06 -07:00
Steven Allen
41f301a3fd fix: parallel walk in gc & pin ls 2019-07-22 16:43:58 -07:00
Alan Shaw
76f29603a8 feat: add --long as alias for -l in files.ls
Allow passing --long or ?long=true as a more descriptive option name than "l".

refs: https://github.com/ipfs/go-ipfs#issuecomment-392477565
2019-07-17 15:17:57 +01:00
Steven Allen
9738d81c0c switch to new merkledag walk functions
EnumerateChildrenAsync has been renamed to WalkParallel to reflect the fact
that:

1. It visits the root.
2. It's parallel, not async.

To mirror this change, EnumerateChildren has also been renamed to Walk and now
behaves the same (except that it's not parallel).
2019-07-16 16:34:21 -07:00
Łukasz Magiera
3f7927f1d8 Update imports to go-filestore 2019-07-15 15:52:34 +02:00
Steven Allen
dc56b52734
Merge pull request #6501 from ipfs/docs/pin/update
Improve pin/update description
2019-07-12 08:11:37 -07:00
Steven Allen
20e64aeb34
Merge pull request #6493 from MichaelMure/streamed-pin-ls
pin cmd: stream recursive pins
2019-07-12 07:55:23 -07:00
Hector Sanjuan
146d9d2ac5 Improve pin/update description
I was unable to actually understand what pin update does from the existing
description.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-07-12 13:03:27 +02:00
Michael Muré
16b4d74d3b
pin cmd: fix incorect pin type for indirect pins 2019-07-11 18:19:19 +02:00
Michael Muré
9b21269e03
pin cmd: output the recursive pins first for performance 2019-07-11 14:33:34 +02:00
Michael Muré
4ec37b6f7b
pin cmd: document pin ls output types 2019-07-11 14:05:05 +02:00
Michael Muré
58ea970135
pin cmd: better struct naming 2019-07-11 13:59:09 +02:00
Michael Muré
dd06956d30
pin cmd: proper CID encoding and backward compat 2019-07-11 13:51:54 +02:00
Michael Muré
bb60184526 pin cmd: stream recursive pins
Add a --stream flag to stream the results instead of
accumulating the final result in memory.

This is a rework of https://github.com/ipfs/go-ipfs/pull/5005
2019-07-10 19:04:00 +02:00
Steven Allen
288a83ce7d feat: deprecate ipfs repo fsck command
This command is no longer necessary and is quite dangerous:

1. All lockfiles are now released by the OS when the daemon stops.
2. The API file is ignored when (a) the repo is initialized and (b) daemon is
off.

fixes #6435
2019-07-03 12:53:15 -07:00
Dirk McCormick
4b6175f75c fix: block put helptext 2019-06-12 12:44:01 -04:00
Dirk McCormick
bc02a61e7c fix: flush pin on block put 2019-06-12 10:31:39 -04:00
Łukasz Magiera
7be8475c9b block cmd: allow adding multiple blocks at once
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-06-03 20:19:33 -07:00
Steven Allen
5d468e23ea chore: deprecate go-ipfs-addr 2019-05-31 23:46:11 -07:00
Raúl Kripalani
e8c2852179 migrate to go-libp2p-core.
closes #6391

License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai>
2019-05-31 23:23:52 -07:00
Michael Avila
6d6ce8fba7
Introduce first strategic provider: do nothing
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:31 -07:00
Steven Allen
2b84b2ba13 chore: fix linter nits and tests that don't compile 2019-05-21 11:09:57 -07:00
Steven Allen
3aef795c9e commands/p2p(fix): avoid creating empty multiaddrs 2019-05-20 14:57:23 -07:00
Steven Allen
ec19d4c54f
Merge pull request #6321 from ipfs/ci/golangci-lint
Add golangci-lint
2019-05-15 13:38:31 -07:00
Steven Allen
ebff0c5f33 fix formatting in object get
fixes #6337

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-15 12:04:58 -07:00
Steven Allen
307d06b465
Merge pull request #6277 from ipfs/fix/3124
work towards fixing dht commands
2019-05-14 12:38:39 -07:00
Steven Allen
4924b80e10 chore: fix linter nits
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-14 09:38:26 -07:00
Steven Allen
5f64b270f8 cmdkit -> cmds
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-10 23:00:20 -07:00
Steven Allen
6e2858e8b6 ping: cleanup error message
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-08 23:12:12 -07:00
Steven Allen
e511b4cc57 ping: return an error on failure
Use PingResult errors for errors attached to individual pings.

This is a (minor) BREAKING CHANGE.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-08 23:06:47 -07:00
Steven Allen
6a91d14888 ping: compute average latency when interrupted
(this should always have been done on the client, IMO, but, oh well...)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-08 22:54:32 -07:00
Steven Allen
cab9ddf1ed ping: don't return success on failed pings
fixes #6298

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-08 22:54:22 -07:00
Steven Allen
cc2ab147ab commands(dht): load arguments from request body
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-30 01:06:10 -07:00
Steven Allen
9027eaa426 commands(dht): base64 encode value in get
Otherwise, it seems that something is treating this as UTF8 and normalizing it?

fix half of #3124

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-30 01:03:44 -07:00
Steven Allen
76dc6f5662 commands(dht): make it possible to return errors from printEvent
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-30 00:56:31 -07:00
Steven Allen
2713490304 commands(pin update): return resolved CIDs instead of paths
fixes #6269

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-29 13:38:08 -07:00
Steven Allen
5e28d489ab
Merge pull request #6272 from ipfs/fix/add/fileerr
add: Return error from iterator
2019-04-27 12:55:17 -07:00
Łukasz Magiera
6ffdce8abf add: return error from iterator
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-27 18:10:38 +02:00
Steven Allen
3ffbdfd942
Merge pull request #6259 from ipfs/feat/urlstore-coreapi
commands(feat): use the coreapi in the urlstore command
2019-04-26 12:23:05 -07:00
Steven Allen
39513c6e72 commands(feat): log when invoking deprecated urlstore command
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-26 10:45:08 -07:00
Steven Allen
d140a68982 commands(feat): remove redundant urlstore check
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-26 09:59:42 -07:00
myself659
63e18dac8d humanize for ipfs bitswap stat
License: MIT
Signed-off-by: Eric Wu <myself659@163.com>
2019-04-26 02:54:48 -07:00
Steven Allen
8beaee63b3 commands(chore): deprecate urlstore command
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-25 17:18:51 -07:00
Steven Allen
467beea940 commands(feat): use the coreapi in the urlstore command
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-25 17:15:07 -07:00