d01bb650b3
dont use bitswap session for cat just yet
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-15 16:44:18 -08:00
53af4530ed
Merge pull request #4711 from ipfs/extract/pq
...
Extract thirdparty/pq to go-ipfs-pq
2018-02-15 15:33:15 -08:00
6956dad579
Merge pull request #4712 from ipfs/extract/godep-pubsub
...
Point briantigerchow/pubsub GoDep'ed module to the gx'ed version
2018-02-15 15:17:26 -08:00
9b6a63e768
Extract thirdparty/pq to go-ipfs-pq
...
This moves the `thirdparty/pq` package to https://github.com/ipfs/go-ipfs-pq .
History has been retained. The new package has been gx'ed and published.
Imports have been updated accordingly.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 23:08:08 +01:00
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
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
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
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
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
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
e338cdf5be
Handling requested changes.
...
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
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
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
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
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