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

347 Commits

Author SHA1 Message Date
dde397ebc1 Refactor per code climate rules
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-11 09:55:13 -07:00
bfcea27d39 Use offlineProvider when --offline
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-08 16:44:28 -08:00
a9b6534687 Provide root node immediately when add and pin add
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-08 14:27:43 -08:00
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
42e191c017 gx: unrewrite
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:56 +01: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
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
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
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
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
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
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
65579081d9 coreapi: extract interface
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-09 01:07:46 +01:00
6ed9f1c1dd coreapi: fix failing dag test
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-08 20:38:44 +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
0cb82d5c39 coreapi: cleanup coredag references in interface
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-08 17:58:56 +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
df373ca387 Merge pull request #5971 from ipfs/fix/coreapi-seek-test
coreapi: fix seek test on http impl
2019-02-06 12:14:13 -08:00
48d537babe coreapi: fix seek test on http impl
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-05 20:20:27 +01:00
ae1eb0d79d block put --pin option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-04 18:05:05 +01: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
628cd7ed07 coreapi: resolve type/size in Unixfs.Ls
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-01 23:11:12 +01:00
d06a678e48 coreapi: asunc ls option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-01 20:12:48 +01:00
11ee7503de coreapi: use chan for returning results in Unixfs.Ls
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-01 19:48:43 +01:00
3f4311b6cc coreapi: add some seeker tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 22:43:21 +01: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
a151041311 coreapi: extract unixfile to go-unixfs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 17:43:04 +01:00
e4020f96bb coreapi: support symlinks in unixfile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 17:43:04 +01:00
7a08cf9cf3 cmds/pin: modify test
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-01-29 11:29:48 -08:00
99feecfdcc cmds/pin: use coreapi/pin
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-01-29 11:29:48 -08:00
53e55e3314 gx: update go-unixfs to 1.2.14 and go-bitswap to 1.1.21
(and everything else...)

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-23 11:01:38 -08:00
b2a5168468 Unixfs: enforce refs on files when using nocopy
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-23 05:17:46 -08:00
19ca1a819f Unixfs.Add nocopy test
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-23 05:17:46 -08:00
85eb8812fa Port dag commansds to CoreAPI
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-22 21:01:19 +01:00
480a3a3de1 coreapi: few more error check fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-21 21:36:11 +01:00
2e83a0a15a Merge pull request #5922 from ipfs/feat/coreapi/dag-ipld
coreapi: replace coreiface.DagAPI with ipld.DAGService
2019-01-21 17:56:36 +00:00
5512ad53c4 Gx update go-cidutil.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 14:49:47 -05:00
b819e3e94b coreapi: adjust some tests for go-ipfs-http-api
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-15 19:13:01 +01:00
eb23c90031 coreapi: replace coreiface.DagAPI with ipld.DAGService
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-12 16:05:02 +01:00
08cc5da55f gx: update deps
Importantly:

* fixes a bunch of MFS bugs
* pulls in some bitswap improvements

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-08 19:19:34 -08:00
81a2ffc407 CoreAPI: Don't panic when testing incomplete implementions
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-08 13:38:23 -08:00
2c28ef19ae coreapi: FetchBlocks option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 15:40:15 +01:00