1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 00:39:31 +08:00

8650 Commits

Author SHA1 Message Date
54a3556207 Merge pull request #4940 from schomatis/fix/dag/dedup-addnodelink
dag: deduplicate AddNodeLinkClean into AddNodeLink
2018-04-17 21:13:45 +09:00
e047b58a33 dag: deduplicate AddNodeLinkClean into AddNodeLink
`AddNodeLink` used to cache the linked node whereas `AddNodeLinkClean`
did not, however, at some point the former was changed to do the same
thing as the latter (i.e., not cache the linked node). That is, they now
do the same thing so there's no reason to have both.

The name `AddNodeLink` is preserved, even though it used to imply the
cache functionality contrasting with the `Clean` suffix of
`AddNodeLinkClean`, with this function removed the cache connotation
doesn't hold anymore.

License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-04-16 22:25:24 -03:00
62e20ef260 gx: update go-ds-flatfs
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-04-11 11:40:21 -04:00
aec1713885 Fix typo in error message
I've never written a line of go in my life, but I came across this typo
while using go-ipfs and thought I might as well just fix it myself. I'm
pretty sure you guys are really busy.

License: MIT
Signed-off-by: Max Kerp <maxkerp@gmail.com>
2018-04-11 15:33:18 +02:00
6b3915ba90 ci: run go vet, disable docker on jenkins
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
9a3ff19fa8 ci: Make sure to fetch deps on go build
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
3e41b15906 sharness: Don't escape colors in junit xml
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
d25e82616e sharness/junit: Better test tree in jenkins
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
d6fe0c195d ci: New Jenkinsfile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
ea4a46250c sharness/junit: fixes after review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
b2b68c8214 sharness/junit: review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
83c57eda1f sharness: Fix tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
3eb614fcb2 sharness: Generate JUnit test reports
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
0cb22ccf35 Merge pull request #4845 from ipfs/fix/default-net-bootstrap
fix default-net profile not reverting bootstrap config
2018-04-09 09:02:45 +09:00
dd23bec97e profile: fix test profile tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-08 13:59:12 +02:00
5a632f7017 fix default-net profile not reverting bootstrap config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-08 13:59:12 +02:00
8c2a4206d9 Merge pull request #4888 from ipfs/fix/dedup-keys
dedup keys in GetMany
2018-04-08 09:43:01 +09:00
8c00a74190 Merge pull request #4846 from ipfs/feat/profile-help
Fix missing profile docs
2018-04-08 09:42:08 +09:00
585d97f3a5 Merge pull request #4889 from ipfs/feat/faster-hamt
improve performance of HAMTs
2018-04-08 09:41:19 +09:00
2535220864 mk: add tarball support
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-04-05 19:18:22 +02:00
18eb6e8842 Merge pull request #4903 from ipfs/doc/ipns-pubsub
document ipns pubsub
2018-04-05 08:48:06 +09:00
bb47b63971 Change Windows build documentation
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-04-03 14:24:47 -04:00
36bcbed889 fix typo
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-04-02 22:39:41 +03:00
0466956509 words words words
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-04-02 22:31:04 +03:00
d9cd2929f0 more words for ipns pubsub documentation
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-03-31 10:12:54 +03:00
f360ed7e2b add clarifying note on ipns pubsub documentation
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-03-30 22:52:33 +03:00
c59b624e11 docs/experimental-features: document ipns pubsub
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-03-30 20:33:45 +03:00
ecb4095099 Merge pull request #4829 from ipfs/fix/error-style
Fix error style for most errors
2018-03-30 02:15:04 -07:00
b290286dd7 misc: Fix a few typos
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:47:22 +02:00
2ee5cfb90f fix error style
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:43:27 +02:00
1907e66eb8 add benchmark for hamt walking
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-29 18:20:28 -07:00
f1ae13d721 faster hamt logic
1. Use a custom bitfield type instead of bigints.
2. Make iterating over a hamt *significantly* faster.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-29 18:20:28 -07:00
dbb2ca2ece remove redundant validation logic
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-29 18:19:55 -07:00
e2387ebbb6 fix hamt node not protobuf error
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-29 18:19:55 -07:00
fa9489ef72 Merge pull request #4631 from ipfs/refactor/extract-fs-lock
refactor: extract fs lock into go-fs-lock
2018-03-29 17:59:04 -07:00
9ed9ab5772 Merge pull request #4807 from ipfs/feat/coreapi/refactor-opts
coreapi: Refactor options
2018-03-29 16:53:42 -07:00
daac910312 Merge pull request #4884 from ipfs/fix/lazy-hamt
don't resolve children unnecessarily when listing a sharded directory
2018-03-29 16:37:39 -07:00
d82bf5f59b Merge pull request #4885 from ipfs/fix/visit-when-asked
only visit nodes in EnumerateChildrenAsync when asked
2018-03-29 16:35:34 -07:00
5770bf8d6f Merge pull request #4890 from ipfs/feat/fast-ls
infer type from CID when possible in ls command
2018-03-29 16:31:39 -07:00
4792621536 misc: sort imports
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-29 12:22:33 -07:00
816787448f refactor: extract fs lock into go-fs-lock
License: MIT
Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
2018-03-29 12:22:33 -07:00
3b0e16e38b infer type from CID when possible in ls command
We don't need to fetch the linked node when it's a raw node, we already know
it's a file.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-28 19:53:55 -07:00
0f376b5718 test duplicate CIDs in getMany
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-28 14:13:10 -07:00
97ac9c4e4f dedup keys in GetMany
Otherwise, GetMany on the children of a node with duplicate links may fail

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-28 14:12:57 -07:00
3f6519b420 Merge pull request #4742 from ipfs/gx/go-datastore
Update to latest go-datastore. Remove thirdparty/datastore2
2018-03-27 22:18:47 -07:00
ee6c95c22e test listing a sharded directory with a missing block.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-27 22:18:17 -07:00
08388e739a only visit nodes in EnumerateChildrenAsync when asked
No idea why this was changed this was introduced in:

08f342e8bada4f4eb0c5462a3623f0c2b828240f (part of #3598)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-27 16:48:59 -07:00
e06436d090 don't resolve children unnecessarily when listing a sharded directory
We only need to get the child if it's a shard.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-27 15:01:32 -07:00
e8c6308c76 Fix blockstore dep in verifbs
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
954ad6e679 Re-order imports in core/mock/mock.go
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00