1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 09:59:13 +08:00

6201 Commits

Author SHA1 Message Date
a692dbaee9 Merge pull request #2941 from ipfs/feat/backoff-clear-connect
Feat/backoff clear connect
2016-07-05 15:19:31 -07:00
1f3b3c5bc4 Merge pull request #2943 from ipfs/fix/dht-key-handling
fix handling of dht records and local fixups
2016-07-05 15:11:15 -07:00
8c2496c9d9 add a test for swarm connect not triggering a backoff
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 14:44:19 -07:00
b56d481080 better checking of dht keys
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 13:40:08 -07:00
3e54fb47a9 fix handling of dht records and local fixups
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 12:34:03 -07:00
7968399712 clear dial backoff on explicit dial
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-04 12:27:41 -07:00
979edf3a96 update go-libp2p
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-04 12:27:26 -07:00
ad5730d14a Merge pull request #2885 from ipfs/feature/bloom-cache
Add ARC caching and bloom filter for blockstorage
2016-07-04 11:56:59 -07:00
f13506c11a blocks/blockstore: style cleanup of bloomcache
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-04 20:34:46 +02:00
e92e6662a7 test: fix races in bloomcache tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-04 20:34:07 +02:00
98f877af81 blocks/blockstorage: use automic for bloom.active
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-04 20:12:13 +02:00
5d83d89f36 blocks/blockstore: Add bloom filter
Replace write_cache with bloom_cache
Improve ARC caching
Fix small issue in case of AllKeysChan fails
deps: Update go-datastore
blocks/blockstore: Invalidate ARC cache before deletin block
deps: Update go-datastore

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-03 22:16:28 +02:00
50a7df6c8e Merge pull request #2937 from ipfs/feature/docker-dev-suffix
docker: take -dev version suffix into account
v0.4.3-dev
2016-07-02 19:42:02 -07:00
afda38f201 test: really no need for relative path to gx deps
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-03 01:45:06 +02:00
5bda53e55b docker: take version suffixes like -dev into account
The double and single quotes got too damn complicated, so heredoc we go!

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-03 01:45:02 +02:00
4fa85cc4d4 Merge pull request #2933 from ipfs/deps/update-datastore/0.1.2
update go-datastore changes 0.1.2
2016-07-01 23:14:24 -07:00
0aafa6db8c update go-datastore changes 0.1.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-01 22:40:57 -07:00
62de65c1bc Merge pull request #2908 from ipfs/feature/t0080-offline
test: Run t0080-repo test offline
2016-07-01 21:34:32 -07:00
e446b3d394 test: Run t0080-repo test offline
Resolves #2906

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 20:29:48 -07:00
cfcc0dbfb1 Merge pull request #2903 from ipfs/feat/dskey-encoding
encode keys to datastore with base32 standard encoding
2016-07-01 16:48:41 -07:00
0782c4dc03 encode keys to datastore with base32 standard encoding
Fixes #2601

Also bump version to 0.4.3-dev

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-01 14:15:06 -07:00
f3d5fe6c65 Merge pull request #2926 from ipfs/feature/fix-test-parse-symlink-#2925
Resolve symlinks of testfiles
2016-07-01 09:44:01 -07:00
c4e8210584 Merge pull request #2929 from ipfs/feature/docker-go-update
docker: remove go version constraint
2016-07-01 08:46:39 -07:00
f0aa0e20e2 Merge pull request #2928 from ipfs/feature/fix-error-providers
routing: Use correct error variable
2016-07-01 08:45:49 -07:00
8cdf819af9 docker: remove go version constraint
There's only ever one version of a given package
per Alpine release, so GO_VERSION is superfluous
and only breaks the build if the go packages is updated.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-01 16:33:16 +02:00
7fe6995a1c routing: Use correct error variable
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 14:51:19 +02:00
b68e37f4c3 Resolve symlinks of testfiles
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 09:48:06 +02:00
fe7b01f14e Resolve symlink if it is directly referenced in cli (#2897)
* Resolve symlink if it is directly referenced in cli

test: Directly referenced symlink should be resolved

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* sharness: add test for symlink in the middle

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 12:06:50 -07:00
d72c9fcd3e Add flag to ls to not resolve type of subnodes (#2824)
* Disable resolving of the typ by default in ls

Add option to resolve type using ls but
set it to false by default.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Make ipfs ls show type if it is avaliable locally

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Make resolve-type default to true

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 12:06:01 -07:00
7fa88fd941 Merge pull request #2785 from ipfs/feature/auto-synopsis
Add synopsis autogenerator
2016-06-28 12:05:15 -07:00
1c0f18dfed Add default true options handling
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
f144a84247 Add default to recursive option
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
b17506a181 Make primary option the longer one
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
d9d0446d45 Remove new line after synopsis section
As synopsis is only one line long it is overkill

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
adf405210d Remove existing synopsis
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
6cafb46584 Add Synopsis generator test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
206529730a Add Synopsis autogenerator
Generates synopsis automagically

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
80fcac8d0e Merge pull request #2913 from ipfs/feature/test-stdin-hang
sharness: Tests for #2868 - --help hanging on stdin
2016-06-28 10:40:49 -07:00
559214499e Merge pull request #2860 from ipfs/feat/provide-storage
Write providers to disk to avoid memory leaks
2016-06-28 10:23:56 -07:00
9cbec47a23 sharness: Tests for #2868 - --help hanging on stdin
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 15:43:03 +02:00
3b2993dd9a Merge pull request #2902 from thomas-gardner/commands
commands: remove EnableStdin support for StringArg [v2]
2016-06-27 23:00:16 -07:00
68c87ed1b1 Merge pull request #2904 from ipfs/feature/repo-runtime-check
Add option for datastore read rehashing
2016-06-27 16:09:24 -07:00
d489f82b59 use no padding encoding
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-27 14:43:01 -07:00
dead777272 Add sharness test for read blockstore rehashing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-27 11:28:44 +02:00
959fe64dd3 providers test with multiple peers
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-25 22:59:57 -07:00
f18267535f Merge pull request #2895 from ipfs/chriscool-patch-1
Update link to issue guide
2016-06-25 22:41:49 -07:00
059b726bb5 commands: update go-log dependency
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-06-26 12:36:25 +10:00
2ad63fd0df commands: improve test coverage for FileArg parsing
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-06-26 12:28:55 +10:00
ddc8d0c60c commands: remove EnableStdin support for StringArg
With verbose flag:
* remove EnableStdin() flags on all StringArg,

* remove all unneeded parsing code for StringArg, and print an
* informative message if `ipfs` begins reading from a CharDevice,

* remove broken go tests for EnableStdin cli parsing, and add some
* trivial test cases for reading FileArg from stdin,

* add a panic to prevent EnableStdin from being set on
* StringArg in the future.

Resolves: #2877, #2870
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-06-26 12:28:55 +10:00
8f91069e50 Write providers to disk to avoid memory leaks
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-25 09:53:59 -07:00