1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

1818 Commits

Author SHA1 Message Date
c6d85c2a7d ls: resolve symlinks
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:34 -08:00
81621396a0 fix ls command to use the new coreinterface types
See: https://github.com/ipfs/interface-go-ipfs-core/pull/14

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:34 -08:00
ddd573e580 gomod: use cheggaa/pb from gopkg
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
42e191c017 gx: unrewrite
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:56 +01:00
4b57080fb0 Merge pull request #6050 from ipfs/fix/useless-online
cleanup daemon online logic
2019-03-05 09:11:11 -08:00
ca4ba6ca13 feat(cmds): hide peers info default in bitswap stat
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-04 19:11:29 -08:00
3dac4609a8 split 'mode' into IsOnline and IsDaemon flags
1. They don't _have_ to be mutually exclusive.
2. local, mode, etc is _really_ confusing.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-04 19:00:47 -08:00
ebee9ff4b4 fix: get rid of useless cctx.Online option
We never set this to true outside of tests and it's unclear what it's even
supposed to do.

This brings us back down to _two_ online-ish options from three.

fixes #5787

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-04 19:00:47 -08:00
5f11ed79be Merge pull request #6013 from AuHau/doc/logging
Improve CLI help pages
2019-03-04 18:25:40 -08:00
a301a711d9 Merge pull request #6045 from ZenGround0/fix/6044
Close #6044
2019-03-04 15:56:08 -08:00
ffbc4fb34e remove extra error check 2019-03-03 15:21:34 -05:00
5e5c040cc3 commands(help): remove --local and --stream-chanels options
Users should use --offline instead of --local and --stream-channels is sent by default (and doesn't do anything as far as I can tell)...

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 14:52:00 -08:00
b4d94c93c9 commands(dht): return final error
This error has always been exposed as a value (visible with the `-v` flag) but
we should also be returning it as a final error.

fixes #6032
fixes #4611

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 14:40:11 -08:00
3fa1bfe1bc gx: update cmds and flatfs
fixes #6028, fixes crash when writing after closing on flatfs.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 12:17:49 -08:00
f227862e88 gx: update go-ipfs-cmds, go-bitswap, go-libp2p-kad-dht, and go-mplex
Fixes the latest batch of bugs found in RC testing.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-27 12:39:24 -08:00
6972a9aa4d Gx Bubble. libp2p-6.0.38
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2019-02-27 01:10:59 +00:00
3c2536dd81 gx: update go-ipfs-cmds
fixes #6021

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-25 16:45:43 -07:00
0c4c82740d Add information about logging env. variables (#2692)
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
8ffaa62f98 Adding information about 'ipfs log' subcommand
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
5ed95347f5 Updating synopsis
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
fea7ae727f gx: update go-cid
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-20 20:29:06 -08:00
f924f57c61 gx: update go-bitswap and go-libp2p-kad-dht
* go-bitswap: fix some race conditions.
* go-libp2p-kad-dht: fix a goroutine leak.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-20 17:19:54 -08:00
0df4bb7685 Merge pull request #5704 from ipfs/fix/5703
fix: return the shortest, completely resolved path in the resolve command
2019-02-20 10:42:57 -08:00
2f17b951c2 gx: update deps
* Updates go-ipfs-cmds to try to get the tests to pass on travis.
* While we're at it, fix duplicate gx deps.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 13:12:21 -08:00
4bb1cb65e8 fix: return the shortest, completely resolved path in the resolve command
fixes #5703

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 12:08:27 -08:00
91ca5911be coreapi: return coreiface.ErrNotSupported when "catting" symlinks.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 03:48:04 -08:00
229f5f3b65 cat: revert change to 'not a directory' error (interop)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 20:55:06 -08:00
a356aeb9b9 cmds/config: make config get use EmitOnce
(interop)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 19:27:24 -08:00
cf418cd2db cmds/bootstrap: return the correct error on failure
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 19:24:07 -08:00
28cf3de0f9 Update protobuf
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-02-18 20:46:22 +01:00
cf0d4706e2 gx: update libp2p stuff
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-14 14:58:35 -08:00
402af03196 Merge pull request #5979 from AuHau/doc/namesys/ttl
Improve "name publish" ttl option documentation
2019-02-14 11:14:22 -08:00
e97a60b073 gx: update go-ipfs-files
fix compatibility issue with js-ipfs

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-11 10:48:58 -08:00
ff275f4c78 Improve name publish ttl option documentation
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-11 09:06:23 -08:00
648cc40ec3 coreapi: fix import grouping after extracting iface
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-09 01:57:26 +01:00
7ed6b518b6 coreapi: update imports to updated interface
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-09 01:42:32 +01:00
1ff6349729 coreapi: move namesys options to coreapi
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-08 19:27:39 +01:00
2c93eeffc6 gx: update go-libp2p-peer
Switch _back_ to the 0.4.18 style of peer IDs while we figure things out. See
https://github.com/libp2p/specs/issues/138.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-07 17:41:39 -08:00
ae1eb0d79d block put --pin option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-04 18:05:05 +01:00
803e9a7e66 Merge pull request #5962 from ipfs/feat/coreapi-async-ls
Port `ipfs ls` to CoreAPI
2019-02-02 13:33:29 -08:00
6939b602dd coreapi: mirror unixfs file types
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-02 17:29:22 +01:00
1fef9a51dd coreapi ls: merge ResolveType and ResolveSize
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-02 17:13:28 +01:00
d1b6ccaae9 coreapi: stream only ls, handle storting in command
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-02 03:44:54 +01:00
73f1e2dbf0 ls: use CoreAPI
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-02 00:21:36 +01:00
8111214223 docs: duplicate default helptext
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2019-02-01 09:14:24 -05:00
7c2aa0e9a9 gx: update go-unixfs to propagate archive changes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 20:58:32 +01:00
e71e700cc4 commands/get: move FileArchive here
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 17:43:04 +01:00
aa3e087e77 Use coreapi in ipfs get
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 17:43:04 +01:00
e2ab620f81 cmds/pin: fix pin imports
* Name them. Unfortunately, This makes the *actual* package names clear. I know
  this isn't "idiomatic go" but it's idiomatic go-ipfs.
* Remove the duplicate import.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-29 11:29:53 -08:00
7a08cf9cf3 cmds/pin: modify test
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-01-29 11:29:48 -08:00