d47ff797d0
Document namesys options
...
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-28 17:06:31 -05:00
e8f79c8803
Use variadic options
...
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-28 16:57:58 -05:00
050a699bc8
merkledag_test.go: Handle short reads in makeTestDAG
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-27 18:40:02 +01:00
701fb82f93
merkledag_test: address #4704 review comments
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-27 18:37:50 +01:00
199a52d777
Merge pull request #4738 from ipfs/fix/rm-println
...
remove a spurious debug message
2018-02-26 11:46:25 -08:00
2e77f73d53
remove a spurious debug message
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-26 10:27:06 -08:00
5096025df2
Fix gateway test
...
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-25 20:46:55 -05:00
1abf8366ee
Add options for record count and timeout for resolving DHT paths
...
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-23 11:47:30 -05:00
9eb864a1d3
dag: refactor trickle importer
...
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-02-23 00:08:00 -03:00
e3d9e05ec2
fix race in TestWantlistClearsOnCancel
...
fixes #4726
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-21 12:35:56 -08:00
e2bad6ec5e
make files stat --with-local return immediately when no data is present
...
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-21 18:41:40 +01:00
95f308da20
Merge pull request #4724 from ipfs/gx/update-cmds
...
update go-ipfs-cmds
2018-02-20 20:47:22 -08:00
ca3b8224f6
remove some dead code
...
(it was causing go vet to complain)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 17:39:16 -08:00
45756b6d64
fix a bunch of go vet errors
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 17:37:35 -08:00
868855f625
fix legacy commands test for cmds lib changes
...
cmd.Call no longer returns an error
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 17:24:16 -08:00
2c68c15407
update go-ipfs-cmds
...
* May fix #4670
* Fixes #4683
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 16:43:00 -08:00
2ee4543c3e
Merge pull request #4713 from ipfs/feat/split-path-resolver
...
Feat: Separate "path" from "path/resolver"
2018-02-20 09:55:36 -08:00
986d569ac8
Merge pull request #4714 from ipfs/fix/revert-cat-session
...
dont use bitswap session for cat just yet
2018-02-15 23:42:30 -08:00
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
93d1a695d4
Feat: Separate "path" from "path/resolver"
...
Currently the "path" module does two very different things:
* Defines how ipfs paths look like and provides tools to parse/split etc.
* Provides a resolver to resolve paths.
This moves the resolver stuff to `path/resolver` and leaves the
path utilities in `path`.
The result is that now the IPFS `path` package just defines what a path
looks like and becomes a module that can be exported/re-used without problems.
Currently there are circular dependency cycles (resolve_test -> merkledag/utils,
merkledag->path), which the prevent the export of merkledag itself.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-16 00:20:30 +01: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
c42e684e6b
Golint merkledag_test.go
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 20:08:37 +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
ee6472904e
Feat: remove circular dependencies in merkledag package tests
...
This avoids using unixfs package and importer packages in
merkledag, which removes circular depedencies making it hard
to extract this module.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 00:38:02 +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