1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-20 02:21:48 +08:00

9377 Commits

Author SHA1 Message Date
e6bc923425 coreapi unixfs: multi file support in unixfs coreapi
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 15:15:28 +02:00
675106d759 coreapi unixfs: rebase fixes for fileAdder.AddAllAndPin
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
374fb00cc3 coreapi unixfs: separate option to enable inlining
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
9887a05e43 coreapi unixfs: docs on options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
679d60993d coreapi unixfs: cleanup options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
49946c69c4 coreapi unixfs: pin/local/hash-only options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
c056e5a8de coreapi unixfs: Simpler output handling
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
6337e69ff7 coreapi unixfs: layout/chunker options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
041e55d706 coreapi unixfs: options for RawLeaves / Inline
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
06a4218a03 coreapi unixfs: better add tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
c68ab5620a coreapi unixfs: cid prefix options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
795d1ea540 coreapi unixfs: use fileAdder directly
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
78b8e6e0a4 Merge pull request #5551 from ipfs/fix/coreapi/swrm-type
coreapi swarm: unify impl type with other apis
2018-10-02 17:25:13 -07:00
18716b9546 Merge pull request #5552 from leerspace/patch-1
add version, usage, and planning info for urlstore
2018-10-02 17:24:35 -07:00
035ce914ff add version, usage, and planning info for urlstore
License: MIT
Signed-off-by: John Reed <john@re2d.xyz>
2018-10-02 18:59:45 -05:00
7b478209b9 coreapi swarm: unify type with other apis
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 01:49:55 +02:00
4f9bde807b Merge pull request #4803 from ipfs/feat/coreapi/swarm
coreapi: Swarm API
2018-10-02 16:25:45 -07:00
080b0e1754 Merge pull request #5509 from ipfs/chores/add-sessions-to-ls-command-4908
Add sessions when fetching MerkleDAG in LS
2018-10-02 16:06:41 -07:00
d8ed9aba7d Merge pull request #5550 from ipfs/fix/coreapi-pin-lock
take the pinlock when updating pins
2018-10-02 16:05:45 -07:00
021fc9fb97 Merge pull request #5385 from ipfs/kevina/cid-cmd
Provide new "cid" sub-command.
2018-10-02 15:54:55 -07:00
bf654ea4f8 defer the pinlock till we actually need it
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-02 15:39:32 -07:00
ab69f0fb4d take the pinlock when updating pins
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-02 14:36:12 -07:00
5c8580d6ac Merge pull request #5506 from kjzz/fix/lock
add pin lock in AddallPin function
2018-10-02 11:45:40 -07:00
9569f99e25 Merge pull request #5546 from rob-deutsch/doc/debug
debug-guide.md added memory statistics command
2018-10-02 11:41:17 -07:00
dde11416f6 delete useless hash param in adder
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-02 11:33:12 -07:00
1379ee76f3 add pin lock in AddallPin function
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-02 11:33:12 -07:00
49bb9fba2a Merge pull request #5492 from ipfs/feat/unify-resolving
Cleanup instances of manual resolver construction
2018-10-02 10:08:58 -07:00
1ed555b87f Cleanup instances of manual resolver construction
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-02 18:35:14 +02:00
b2f6c3e3ed coreapi swarm: missing docs, review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-02 12:31:50 +02:00
0f3cea6a8e debug-guide.md added memory statistics command
License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-10-02 11:57:11 +10:00
54904a7691 Rename streamResults to streamResult.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:07:32 -04:00
7edc7de288 Eliminate emit closure, so something with errors on call to emit.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:07:16 -04:00
c0a873c27f Address code review.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:07:01 -04:00
88a7e58b58 Add basic sharness tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:53 -04:00
f3ea21c821 Reenable Stdin argument reading.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:36 -04:00
599bb7302e Right align numbers in "ipfs cid bases|codecs|hashes" output.
This also avoid using TabWriter as it doesn't support right aligning a
single column and also because its an overkill for this case.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:20 -04:00
e5622f628a Stream results for "ipfs cid format".
Note reading input from Stdin is broken.  Only the first result is accepted.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:02 -04:00
98e5999761 Factor out boiler plate code for PostRun in "ipfs filestore ls".
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:05:47 -04:00
30b861bc5a Remove "prefix" format string. Use WithDefault("%s') for `-f- option.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:05:29 -04:00
57f96019f7 Provide new "cid" sub-command.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:05:27 -04:00
e93aa25e97 Merge pull request #5544 from rob-deutsch/fix/5038
added binary executable files to .dockerignore
2018-10-01 16:31:14 +00:00
ea352f62d0 update routing-helpers
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-29 12:43:30 +02:00
ae7fd9a1cb added binary executable files to .dockerignore
fixed #5038

License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-29 14:17:39 +10:00
c4398fe3ae Merge pull request #5512 from ipfs/fix/reduce-critical-pinning-session-5376
Fix inability to pin two things at once
2018-09-28 17:56:32 +00:00
7ed1a5361f Repeat recurse/direct pin checks since they could have changed
License: MIT
Signed-off-by: Michael Avila <me@michaelavila.com>
2018-09-27 14:54:25 -07:00
254ac1b118 Fix inability to pin two things at once
License: MIT
Signed-off-by: Michael Avila <me@michaelavila.com>
2018-09-27 14:54:25 -07:00
8e4ce426a4 namesys: use routing.SearchValue
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-27 21:31:42 +02:00
f69cf07444 ipfs name resolve --stream
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-27 21:31:42 +02:00
804634d59b namesys: switch to async code
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-27 21:31:42 +02:00
6adb15f4fb namesys: async: go vet fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-27 21:31:42 +02:00