1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 07:57:30 +08:00

8965 Commits

Author SHA1 Message Date
28acec2adb Merge pull request #4703 from ipfs/extract/routing
Extract: routing package to github.com/ipfs/go-ipfs-routing
2018-02-14 12:33:22 -08:00
10b96a39de Merge pull request #4557 from elopio/patch-1
update link to filestore experimental status
2018-02-14 12:31:53 -08:00
54d87b4ce0 Extract: routing package to github.com/ipfs/go-ipfs-routing
This extracts the routing package to its own repository
(https://github.com/ipfs/go-ipfs-routing). History has
been preserved. The new module has been gx'ed and published.

Imports have been rewritten and re-ordered accordingly.

An internal dependency to go-ipfs/repo has been removed
by substituting it with the go-datastore.Batching interface.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-14 18:33:52 +01:00
2a5f344338 Merge pull request #4682 from djdv/fix/win-make
Fix/win make
2018-02-13 14:54:49 -08:00
e613e9dcfc Fix make deps on Windows
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-02-13 17:10:25 -05:00
4aaf24f56d Merge pull request #4658 from ipfs/fix/session-cleanup
shutdown notifications engine when closing a bitswap session
2018-02-13 13:11:57 -08:00
3461622cd4 Merge pull request #4685 from ipfs/extract/flags-delay-etc
Extract: flags, delay, ds-help
2018-02-13 13:01:28 -08:00
1474aa994c Merge pull request #4695 from ipfs/fix/missing-detect-race-rewrite
Fix: ipns_test: missing go-detect-race rewrite
2018-02-13 12:55:49 -08:00
18a9a691b6 Merge pull request #4696 from ipfs/doc/golint-pin
Doc: golint-ify pin package
2018-02-13 12:54:52 -08:00
682ca11dd8 Fix: ipns_test: missing go-detect-race rewrite
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-13 13:04:07 +01:00
d7cd059165 Doc: golint: remove stuttering in pin package
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-13 13:00:48 +01:00
ee7a8f3482 Docs: golint-ify pin package
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-13 12:53:20 +01:00
982af8af69 More consistency in imports
Per @magik6k comments.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-13 11:29:32 +01:00
f2e38f54a3 Merge pull request #4646 from ipfs/lgierth-patch-1
Fix mulitaddr typo
2018-02-13 00:29:29 -08:00
e5f80fae5e Merge pull request #4689 from ipfs/doc/golint-path
Doc: golint-ify path package.
2018-02-13 00:22:49 -08:00
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