Hector Sanjuan
6950d0688e
Point briantigerchow/pubsub GoDep'ed module to the gx'ed version
...
This removes briantigerchow/pubsub from Godeps and uses our
gx'ed version instead.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 23:05:49 +01:00
Whyrusleeping
476ad38ecc
Merge pull request #4700 from matrushka/ignore_invalid_key_files
...
Ignore invalid key files in keystore directory.
2018-02-15 14:03:10 -08:00
Whyrusleeping
b9b1495a7a
Merge pull request #4709 from ipfs/feat/session-exchanges
...
Add exchange.SessionExchange interface for exchanges that support sessions
2018-02-15 13:58:10 -08:00
Whyrusleeping
a5ec8e44cd
Merge pull request #4707 from ipfs/extract/blockstore
...
Extract blocks/blockstore package to go-ipfs-blockstore
2018-02-15 13:57:09 -08:00
Hector Sanjuan
5df160e9e5
Add exchange.SessionExchange interface for exchanges that support sessions.
...
Blockservice has an explicit dependency on bitswap so it can
call NewSession. It should rely on the exchange interfaces though, not
on specific implementations.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 21:11:21 +01:00
Hector Sanjuan
758e00bc4c
Extract blocks/blockstore package to go-ipfs-blockstore
...
This extracts the blocks/blockstore package and renames the
blocks/blockstore/util package to /blocks/blockstoreutil
(because util depends on Pin and I don't plan to extract
Pin and its depedencies).
The history of blocks/blockstore has been preserved. It has
been gx'ed and imported. Imports have been rewritten accordingly
and re-ordered.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 18:03:41 +01:00
matrushka
e338cdf5be
Handling requested changes.
...
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
matrushka
40aeea6abd
Added logging for ignored keyfiles in keystore.List and minor improvements.
...
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
matrushka
23e1179d34
Removing the tmp directory after the TestInvalidKeyFiles test.
...
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
matrushka
4bbaa2aa27
Modified keystore to ignore invalid key files inside the keystore directory.
...
* Has calls the validateName function before checking if we have the file
* List filters the returned list of file names by validateName.
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
Whyrusleeping
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
Whyrusleeping
10b96a39de
Merge pull request #4557 from elopio/patch-1
...
update link to filestore experimental status
2018-02-14 12:31:53 -08:00
Hector Sanjuan
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
Whyrusleeping
2a5f344338
Merge pull request #4682 from djdv/fix/win-make
...
Fix/win make
2018-02-13 14:54:49 -08:00
Dominic Della Valle
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
Whyrusleeping
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
Whyrusleeping
3461622cd4
Merge pull request #4685 from ipfs/extract/flags-delay-etc
...
Extract: flags, delay, ds-help
2018-02-13 13:01:28 -08:00
Whyrusleeping
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
Whyrusleeping
18a9a691b6
Merge pull request #4696 from ipfs/doc/golint-pin
...
Doc: golint-ify pin package
2018-02-13 12:54:52 -08:00
Hector Sanjuan
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
Hector Sanjuan
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
Hector Sanjuan
ee7a8f3482
Docs: golint-ify pin package
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-13 12:53:20 +01:00
Hector Sanjuan
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
Whyrusleeping
f2e38f54a3
Merge pull request #4646 from ipfs/lgierth-patch-1
...
Fix mulitaddr typo
2018-02-13 00:29:29 -08:00
Whyrusleeping
e5f80fae5e
Merge pull request #4689 from ipfs/doc/golint-path
...
Doc: golint-ify path package.
2018-02-13 00:22:49 -08:00
Jeromy
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
Steven Allen
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
Hector Sanjuan
c9080f99e8
Import re-ordering
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-12 22:51:42 +01:00
Hector Sanjuan
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
Hector Sanjuan
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
Hector Sanjuan
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
Whyrusleeping
190524b050
Merge pull request #4676 from ipfs/doc/golint-routing
...
Doc: golint-ify routing module
2018-02-12 13:09:28 -08:00
Whyrusleeping
d3c005a7ca
Merge pull request #4686 from ipfs/extract/detect-race
...
Extract go-detect-race from Godeps
2018-02-12 12:39:39 -08:00
Hector Sanjuan
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
Steven Allen
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
Lars Gierth
bee272a05e
Fix mulitaddr typo
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-02-10 03:49:37 +01:00
Steven Allen
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
Steven Allen
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
Steven Allen
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
Jeromy
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
Jeromy
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
Whyrusleeping
eca0486e1a
Merge pull request #4569 from ipfs/add-sharding-experimental-flag
...
Added sharding to experimental features
2018-02-09 09:54:23 -08:00
Hector Sanjuan
953d7d4672
Doc: golint-ify routing module
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-09 13:10:06 +01:00
Whyrusleeping
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
Whyrusleeping
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
Hector Sanjuan
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
Hector Sanjuan
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
Hector Sanjuan
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
Hector Sanjuan
f47424d9b0
Fix missing rename in tests
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:15 +01:00
Hector Sanjuan
7aa1ab5368
Remove whyrusleeping/chunker from godeps
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:15 +01:00