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

132 Commits

Author SHA1 Message Date
3a0d0e817a support async datastores 2019-12-19 00:59:31 -05:00
0906d7f3b1 fix (pinning): pin ls traverses all indirect pins. pin ls pin type precedence change - a direct/recursive pin is now labeled as such even if also indirectly pinned. 2019-12-02 13:53:14 -05:00
bc8a329a74 Update unixfs.go
use sync.Once instead
2019-11-18 17:26:14 +08:00
6a171a0b61 fix issue 6760, adding with hash-only, high CPU usage. 2019-11-15 14:58:59 +08:00
ec748a7b5b Merge pull request #6747 from ipfs/fix/only-hash-leak
fix(coreapi/add): close the fake repo used when adding with hash-only
2019-11-08 10:30:59 +00:00
6155fd17c1 fix bug 6748
ipfs add whit only hash, don't need to announce cid to other peer
2019-11-08 15:12:42 +08:00
e9e32f8ac6 fix(coreapi/add): close the fake repo used when adding with hash-only
fixes #6744
2019-11-04 18:05:35 +00:00
5f64b270f8 cmdkit -> cmds
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-10 23:00:20 -07:00
a54b64bede coreiface: updates for path name refactor
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-17 12:03:37 -07:00
667b7f9927 coreiface: updates for moving path to subpackage
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-17 12:03:37 -07:00
470d6ba7a8 commands(add): fix ipfs add --nocopy URL without enabling the filestore
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-29 12:12:38 +00:00
95906d3201 coreapi: remove Unixfs.Wrap
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-25 19:00:51 +01:00
964ef0b2e7 unixfs add: remove StdinName
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:20:24 +01:00
c5b81e918f coreapi: remove hidden file handling in add
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:17:58 +01:00
b8bc26a700 WIP almost working ipfs add
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:17:58 +01:00
332d4aeab1 coreapi unixfs: change Wrap logic to make more sense
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:17:58 +01: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
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
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
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
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
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
5512ad53c4 Gx update go-cidutil.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 14:49:47 -05: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
2c2f9f2bed coreapi: implement --local with Offline option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 16:40:51 +01:00
3183b1cb8e coreapi: Untangle from core.IpfsNode
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 16:40:09 +01:00
adc7490755 files2.0: updates for file type split
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
ce952a5641 files2.0: fix build errors
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
0618fd77be gx: update go-ipfs-files to 2.0
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
9dcec2b3e2 gx: update go-libp2p-peer
Reverts the changes that allowed small keys (ed25519 keys) to be inlined.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-07 15:37:23 -08:00
feb4808975 Gx update go-merkledag and related deps.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-11-28 17:21:36 -05:00