Commit Graph

6094 Commits

Author SHA1 Message Date
Jeromy
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
Jeromy Johnson
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
Jeromy Johnson
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
Jeromy Johnson
9dbce4fac9 Update contribute.md 2016-06-15 11:18:42 -07:00
Jeromy
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
Jeromy Johnson
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
Jeromy Johnson
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
Jeromy Johnson
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
Jakub Sztandera
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
Jakub Sztandera
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
Jakub Sztandera
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
Jakub Sztandera
6822c0c670 Revert "Revert "Implements repository initialization with default config""
This reverts commit 77ef3913d9.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
Jakub Sztandera
4190076c66 Add the time-out script
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
Jakub Sztandera
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
Jeromy Johnson
79e9bd842c Merge pull request #2838 from ipfs/feature/datastore-to-gx
Migrate go-datastore to gx
2016-06-12 19:56:40 -07:00
Jeromy Johnson
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
Jakub Sztandera
a14bd71749 Move golang-lru to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 10:02:44 +02:00
Jakub Sztandera
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
Jakub Sztandera
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
Jakub Sztandera
6bd66cc8c3 Move metrics to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:56 +02:00
Jakub Sztandera
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
Jakub Sztandera
cafd81c8c6 Import go-datastore to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:15 +02:00
Jakub Sztandera
6217e1f141 Remove go-datastore from Godeps
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:23:43 +02:00
Jeromy
260e7a0098 sort peers outside of locks
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 23:07:06 -07:00
Jeromy Johnson
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
Jeromy
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
Jeromy Johnson
c9ddc7d1d5 Merge pull request #2798 from ipfs/feat/smarter-bitswap
Make bitswap better
2016-06-11 16:52:45 -07:00
Jeromy Johnson
c0e971108d Merge pull request #2840 from ipfs/deps/update-utp-manet
Deps/update utp manet
2016-06-11 16:23:57 -07:00
Jeromy
4c1201badb update iptb and multinode tests
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 15:54:28 -07:00
Jeromy
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
Jeromy Johnson
444a8dc2f6 Merge pull request #2812 from ipfs/feature/refs-local-api
Fix refs local marshalling
2016-06-10 11:35:06 -07:00
Jeromy Johnson
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
Jeromy Johnson
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
Jakub Sztandera
e4440ce027 Fix typo in test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-10 00:50:50 +02:00
Jeromy Johnson
6fd7ce3a50 Merge pull request #2829 from ipfs/feature/update-go-log
Update go-log
2016-06-09 15:43:12 -07:00
Jakub Sztandera
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
Jeromy
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
Jakub Sztandera
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
Jeromy Johnson
7d5ba11edd Merge pull request #2808 from karalabe/multi-component-gopath
Makefile, bin: Support multiple GOPATH components
2016-06-09 14:33:06 -07:00
Jeromy Johnson
9cb55b0fa8 Merge pull request #2825 from ipfs/feature/Godeps-to-gx-part-whatever
Migrations to gx
2016-06-09 14:32:33 -07:00
Jakub Sztandera
fb0aa63587 Move fsnotify to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 11:32:02 +02:00
Jakub Sztandera
c7d04e96b3 Move go-sysinfo to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 11:32:02 +02:00
Jakub Sztandera
35cdc1336f Move goleveldb to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 11:32:02 +02:00
Jakub Sztandera
d5702d7b3a Move atomicfile to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 11:32:02 +02:00
Jakub Sztandera
6d4975d82c Move go-humanize to gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 11:32:02 +02:00
Jeromy
d16591ad21 Make bitswap better
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-08 14:17:08 -07:00
Jakub Sztandera
1c9b6078e3 Improve ping API a bit by returning failure in case of only failure
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-08 19:58:44 +02:00
Jeromy Johnson
0e81124105 Merge pull request #2817 from ipfs/feat/dht-reuse-stream
reuse streams for dht messaging
2016-06-08 10:08:25 -07:00
Jeromy Johnson
bee40b144c Merge pull request #2819 from ipfs/cleanup/dht
clean up some dead code in the dht
2016-06-08 09:13:13 -07:00
Juan Benet
868969fc39 Added readme image
it needs to be added to the repo or something later.
2016-06-07 12:59:59 -07:00