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

8650 Commits

Author SHA1 Message Date
0dd0f25271 bitswap virtual test net code should send messages in order
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-12 23:40:15 -08:00
d4d30f4e8a bitswap: actually *update* wantlist entries in outbound wantlist messages
Before, we weren't using a pointer so we were throwing away the update.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-12 21:02:19 -08:00
c9080f99e8 Import re-ordering
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-12 22:51:42 +01:00
7406a5f1b2 Extract: thirdparty/ds-help submodule
It has been moved to its own repository:

    * github.com/ipfs/go-ipfs-ds-help

History has been preserved. It has been published
with gx. Imports have been updated and re-ordered
accordingly.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-12 22:51:03 +01:00
fd04905adb Extract: flags and thirdparty/delay submodules
They have been moved to their own repositories:

* github.com/ipfs/go-ipfs-delay
* github.com/ipfs/go-ipfs-flags

History has been preserved. They have been published
with gx'ed. Imports have been updated and re-ordered
accordingly.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-12 22:51:03 +01:00
cc1b549885 Doc: golint-ify path package.
This removes all go-lint warnings in the path package.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-12 22:18:18 +01:00
190524b050 Merge pull request #4676 from ipfs/doc/golint-routing
Doc: golint-ify routing module
2018-02-12 13:09:28 -08:00
d3c005a7ca Merge pull request #4686 from ipfs/extract/detect-race
Extract go-detect-race from Godeps
2018-02-12 12:39:39 -08:00
a4115e9e14 Extract go-detect-race from Godeps
I have forked it, put it under ipfs namespace, published to gx

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-12 12:35:34 +01:00
1a37c0a870 avoid publishing if notification system has been shut down
(will deadlock)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-11 12:51:50 -08:00
bee272a05e Fix mulitaddr typo
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-02-10 03:49:37 +01:00
2baa3312d1 bitswap: test canceling subscription context after shutting down
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-09 17:33:57 -08:00
53958266d6 bitswap: finish unsubscribing from the pubsub instance before shutting it down
Otherwise, we'll deadlock and leak a goroutine. This fix is kind of crappy but
modifying the pubsub library would have been worse (and, really, it *is*
reasonable to say "don't use the pubsub instance after shutting it down").

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-09 12:19:21 -08:00
2b99858dda remove excessive time.Now() calls from bitswap sessions
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-09 12:18:58 -08:00
64c19cc904 WIP: fix wantlist clearing by closing down session
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-09 12:18:58 -08:00
82e1ff585f shutdown notifications engine when closing a bitswap session
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-09 12:18:58 -08:00
eca0486e1a Merge pull request #4569 from ipfs/add-sharding-experimental-flag
Added sharding to experimental features
2018-02-09 09:54:23 -08:00
953d7d4672 Doc: golint-ify routing module
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-09 13:10:06 +01:00
25eeb1e250 Merge pull request #4638 from MichaelMure/statlocal
add a --with-local option to ipfs files stat
2018-02-08 14:21:16 -08:00
990e4df32e Merge pull request #4661 from ipfs/extract/chunk
Extract: importers/chunk module as go-ipfs-chunker
2018-02-08 08:43:58 -08:00
381977476f Extract: chunker: rename "chunk" to "chunker" as it is more consistent
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:49:39 +01:00
76d228cf75 Extract chunker: Use last gx'ed go-ipfs-chunker
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:43:29 +01:00
1811425aab go-ipfs-chunker: Use the stable gx'ed release
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:51 +01:00
f47424d9b0 Fix missing rename in tests
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:15 +01:00
7aa1ab5368 Remove whyrusleeping/chunker from godeps
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:15 +01:00
c613fbec38 WIP: Extract: importers/chunk module as go-ipfs-chunker
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:15 +01:00
9014c64f85 Merge pull request #4628 from dirkmc/fix/namesys-verify-pubk
namesys: verify signature in ipns validator
2018-02-07 15:47:08 -08:00
f829093c63 go fmt
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-07 16:28:40 -05:00
7b99538f3c namesys: discard records with invalid EOL in record selection
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-07 16:18:12 -05:00
84fe5827b9 namesys: more comments
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-07 16:18:12 -05:00
dbedee5940 namesys: differentiate between validation errors
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-07 16:18:12 -05:00
e980e68f86 Comment fixes
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-07 16:18:12 -05:00
dafa140e1f Code cleanup
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-07 16:18:12 -05:00
5e8c9481ee namesys: verify signature in ipns validator
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-07 16:18:12 -05:00
3106135dd5 Merge pull request #4662 from ipfs/fix/freebsd-tests
Fix some tests on FreeBSD
2018-02-07 12:50:12 -08:00
4ba73b805d Merge pull request #4669 from ipfs/extract/posinfo
Extract posinfo package to github.com/ipfs/go-ipfs-posinfo
2018-02-07 12:49:29 -08:00
95daef4ed1 Merge pull request #4664 from ipfs/doc/golint-unixfs
Golint-ify unixfs module
2018-02-07 12:47:57 -08:00
12354cc652 Merge pull request #4665 from ipfs/doc/golint-merkledag
Golint: fix golint warnings in merkledag submodule
2018-02-07 12:40:02 -08:00
f0289e5ccc Merge pull request #4653 from ipfs/fix/4647
document make targets
2018-02-07 12:38:53 -08:00
69497a6144 golint: merkledag_test: reorder imports
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 19:27:45 +01:00
5abb3c6025 document test_go_test make target
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-07 09:25:55 -08:00
bb061d615c Extract posinfo package to github.com/ipfs/go-ipfs-posinfo
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 13:39:53 +01:00
f4f450d774 Golint: remove extra // in comment
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 12:33:58 +01:00
3ec869fee7 Golint: improve unixfs/dagreader.go comments
Per @whys suggestions

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 10:07:19 +01:00
d04de00f17 Golint: improve comments in merkledag/errservice.go
Per @kevina's comments

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 09:58:43 +01:00
2743dd246f Golint: merkledag: let NewDagService return *dagService
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 00:35:35 +01:00
91a9b86442 fix t0086-repo-verify.sh on FreeBSD
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-06 20:35:17 +01:00
576872076c unixfs/mod: use errors.New() for all defined errors
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:19:30 +01:00
79baf42e1e Golint: improve io.Find documentation
per @stebalien's comment

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:17:59 +01:00
8bb45fda8e Golint: make BufDagReader public
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:14:48 +01:00