a6fb581371
Merge pull request #2867 from ipfs/feature/api-offline
...
Add way to check if node is online or offline
2016-06-18 23:00:57 -07:00
c10ed855a5
Add test for online field in diag sys
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-18 19:15:04 +02:00
e67a21ed6a
Add net.online to diag sys command
...
Currently there was no sure way to check if node is in online
or offline mode.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-18 12:39:13 +02:00
2a3bba3a2b
Merge pull request #2862 from ipfs/revert-multi-gopath
...
Revert "Makefile, bin: Support multiple GOPATH components"
2016-06-17 11:11:39 -07:00
0f3ae0736a
Merge pull request #2853 from ipfs/feature/decapitalize-Debug
...
Decapitalized log.Debug messages
2016-06-17 10:26:20 -07:00
ad461c611e
Revert "Makefile, bin: Support multiple GOPATH components"
...
This reverts commit ff75bc0318579fa743a35d316c61d2f8c4ab92ce,
which broke building on windows. See ipfs/go-ipfs#2833 .
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-17 15:32:40 +02:00
868a1e3679
Merge pull request #2857 from ipfs/feature/test-race-blockstore
...
Remove failing blockstore with context test
2016-06-16 10:44:45 -07:00
a4801ed024
Merge pull request #2858 from ipfs/deps/libp2p/3.3.4
...
update go-libp2p to 3.3.4
2016-06-15 13:33:40 -07:00
de56a47bc0
update go-libp2p to 3.3.4
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-15 13:04:49 -07:00
87d05260af
Merge pull request #2856 from ipfs/fix/send-msg-race
...
pass reference to reader instead of using the one on the object
2016-06-15 12:47:01 -07:00
5a08e9e08a
Remove failing blockstore test with context
...
Why is it failing:
process is started, cancel() is called,
between we satart listening to the channels
in select statemnet there is race of three things
that can happent:
1. Task can complete
2. Task can start closing <- expected
3. Task already closed
This race causes failures of the test.
It is basing heavily on race of conditions where
the task not closing, nor the task is completed
before channels are being listened.
It is quite impossible to resolve without
adding bunch of timings in there, which we
want to avoid, as there is no atomic
"send message on channel and select" in Golang
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-15 21:06:34 +02:00
e5e2f2c19c
Merge pull request #2822 from ipfs/feature/stdin-stable
...
Change logic of stdin input to be last and only if required
2016-06-15 11:32:42 -07:00
9dbce4fac9
Update contribute.md
2016-06-15 11:18:42 -07:00
63c8a9eb16
pass reference to reader instead of using the one on the object
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-15 11:13:35 -07:00
9a88107b16
Merge pull request #2854 from ipfs/feature/go-vet-fixes
...
Remove errors pointed out by govet
2016-06-15 10:16:05 -07:00
16245dbd99
Merge pull request #2778 from ipfs/feature/CORS-on-gateway-by-default
...
Add CORS headers to Read Only Gateway Default config
2016-06-15 09:59:30 -07:00
b6a3435bb5
Decapitalized log.Debug messages
...
According to golang standards, these should not be capitalized nor having a trailing period, AFAIK.
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-06-15 08:56:34 +01:00
323441d757
Merge pull request #2855 from ipfs/feature/test-repeated-ip
...
Fix DHT tests failing because of repeated addresses
2016-06-14 20:16:11 -07:00
32cdbbdffa
Fix DHT tests failing because of repeated addresses
...
Due to SO_REUSE_PORT it is possible for a localhost:0
address to repeat. This causes failure in DHT tests
where we spun up a lot of nodes inside test.
As for a birthday paradox it is enough to use 140
ports to get 20% chance for collision which was causing
failure in our case.
The fix is to disable REUSE_PORT routine for the
tests and leave it running for sharness tests where
not that many addresses are used at the same time.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-14 16:39:15 +02:00
a2cd3ebca0
Remove errors pointed out by govet
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-14 13:40:16 +02:00
628e458e7d
Add regression sharness test for ipfs init
...
This tests expects ipfs init with no arguments to work
even with occuipied stdin.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
6822c0c670
Revert "Revert "Implements repository initialization with default config""
...
This reverts commit 77ef3913d9f5682c5a0dedbba5488e794e9da1b5.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
4190076c66
Add the time-out script
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
da4e54c3db
Change stdin handling to be only used if needed
...
or if user asks for it
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
79e9bd842c
Merge pull request #2838 from ipfs/feature/datastore-to-gx
...
Migrate go-datastore to gx
2016-06-12 19:56:40 -07:00
0ff2dc996c
Merge pull request #2841 from ipfs/feat/efficient-dht
...
a few small changes to make the dht more efficient
2016-06-12 14:05:33 -07:00
a14bd71749
Move golang-lru to gx
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 10:02:44 +02:00
35bb502261
Remove go-os-rename
...
It is included in go-datastore
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:58 +02:00
58d222fbd5
Remove codahale/hdrhistogram as it is not longer used
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:58 +02:00
6bd66cc8c3
Move metrics to gx
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:56 +02:00
7910c6e4b7
Remove snappy from Godeps
...
It is in go-datastore
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:15 +02:00
cafd81c8c6
Import go-datastore to gx
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:15 +02:00
6217e1f141
Remove go-datastore from Godeps
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:23:43 +02:00
260e7a0098
sort peers outside of locks
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 23:07:06 -07:00
ecbca7e0f4
Merge pull request #2813 from ipfs/feature/ping-api
...
Improve ping API a bit by returning failure in case of only failure
2016-06-11 18:40:22 -07:00
44c8746114
a few small changes to make the dht more efficient
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 17:08:34 -07:00
c9ddc7d1d5
Merge pull request #2798 from ipfs/feat/smarter-bitswap
...
Make bitswap better
2016-06-11 16:52:45 -07:00
c0e971108d
Merge pull request #2840 from ipfs/deps/update-utp-manet
...
Deps/update utp manet
2016-06-11 16:23:57 -07:00
4c1201badb
update iptb and multinode tests
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 15:54:28 -07:00
7c8e641436
pull in libp2p updates with utp fixes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 10:33:44 -07:00
444a8dc2f6
Merge pull request #2812 from ipfs/feature/refs-local-api
...
Fix refs local marshalling
2016-06-10 11:35:06 -07:00
62fb45b125
Merge pull request #2831 from ipfs/feature/test-stanity
...
Add some sanity tests for the misdial failure
2016-06-10 08:32:50 -07:00
b731c795d9
Merge pull request #2826 from ipfs/fix/dht-ctx-respect
...
respect contexts while reading messages in dht
2016-06-09 16:31:21 -07:00
e4440ce027
Fix typo in test
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-10 00:50:50 +02:00
6fd7ce3a50
Merge pull request #2829 from ipfs/feature/update-go-log
...
Update go-log
2016-06-09 15:43:12 -07:00
a84006a24c
Add some sanity tests for the misdial failure
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-10 00:11:00 +02:00
73463cd208
respect contexts while reading messages in dht
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-09 15:10:06 -07:00
eaccd07505
Update go-log
...
https://github.com/ipfs/go-log/pull/3
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 23:37:09 +02:00
7d5ba11edd
Merge pull request #2808 from karalabe/multi-component-gopath
...
Makefile, bin: Support multiple GOPATH components
2016-06-09 14:33:06 -07:00
9cb55b0fa8
Merge pull request #2825 from ipfs/feature/Godeps-to-gx-part-whatever
...
Migrations to gx
2016-06-09 14:32:33 -07:00