1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 07:57:30 +08:00

4319 Commits

Author SHA1 Message Date
b12cc09f64 select with context when sending on channels
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-12 11:32:06 -07:00
952dc9c60f go-ipfs version 0.3.5
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
v0.3.5
2015-06-11 20:32:30 -07:00
feba3e1da5 Merge pull request #1334 from ipfs/patch/patch
'key' objects dont marshal to json well
2015-06-08 13:36:11 -07:00
c214210354 add some basic testing for object patch 2015-06-08 10:19:26 -07:00
b4f55d337a 'key' objects dont marshal to json well 2015-06-08 10:19:26 -07:00
217fe2687c Merge pull request #1287 from ipfs/feat/httpApiTcpPort0
httpGw: make /tcp/0 work
2015-06-08 03:46:35 -07:00
4b337bb7e8 daemon: addressed CR comments 2015-06-08 11:08:10 +02:00
07b3415cdb http endpoints: dont print before listen
also splits api, gw and fuse bring up into helper functions
2015-06-08 10:56:05 +02:00
aad700bd6d Merge pull request #1342 from ipfs/observe-addr-twice
Better symmetric NAT avoidance.
2015-06-07 18:14:52 -07:00
500bb51759 p2p/net/identify: clump addr observers into groups
Different mutliaddrs is not enough. Nodes may share transports.
NAT port mappings will likely only work on the base IP/TCP port
pair. We go one step further, and require different root (IP)
addrs. Just in case some NATs group by IP. In practice, this is
what we want: use addresses only if hosts that are on different
parts of the network have seen this address.
2015-06-07 17:00:56 -07:00
96ed20bffe p2p/protocol/identify: dont double count observers
If the same peer observed the same address twice, it would be
double counted as different observations. This change adds a map
to make sure we're counting each observer once.

This is easily extended to require more than two observations,
but i have not yet encountered NATs for whom this is relevant.
2015-06-07 16:48:02 -07:00
39716077b4 Merge pull request #1341 from ipfs/use-go-sleep
Use github.com/chriscool/go-sleep
2015-06-07 03:58:53 -07:00
14a3315dc7 sharness/test-lib: use go-sleep to sleep
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-07 10:29:08 +02:00
fd449af227 test/Makefile: build go-sleep
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-07 10:28:13 +02:00
268894c85f Merge pull request #1340 from harlantwood/patch-1
fix typo
2015-06-06 21:31:15 -07:00
553960d413 Merge pull request #1339 from ipfs/update-cheggaaa-pb
Godeps: update cheggaaa/pb to the latest version
2015-06-06 16:35:49 -07:00
d4e0ad97df Vendor github.com/chriscool/go-sleep
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-06 23:07:21 +02:00
e82e5cd87e fix typo 2015-06-06 13:42:54 -07:00
24de361001 Godeps: update cheggaaa/pb to the latest version
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-05 23:48:17 +02:00
13cd226bff Merge pull request #1317 from ipfs/builder-default
make the default repo for corebuilder work
2015-06-03 16:30:02 -07:00
6b16981979 make the default repo for corebuilder work 2015-06-03 16:06:15 -07:00
6cff7e87f6 Merge pull request #1299 from ipfs/feat/patch
implement patch command
2015-06-03 15:56:00 -07:00
40e423d6dc implement an ipfs patch command for modifying merkledag objects
WIP: object creator command

better docs

move patch command into object namespace

dont ignore cancel funcs

addressing comment from CR

add two new subcommands to object patch and clean up main Run func

cancel contexts in early returns

switch to util.Key
2015-06-03 15:24:07 -07:00
0494a4db2c Merge pull request #1327 from rht/cleanup-rand
Swap all 'crypto/rand' rng in tests with 'math/rand'
2015-06-03 15:11:25 -07:00
0397bdf5d3 Merge pull request #1329 from ipfs/implement-test-seq
ipfs-test-lib: implement test_seq()
2015-06-03 15:10:54 -07:00
238fac5488 Merge pull request #1330 from ipfs/fix/test-deps
fix up some dependencies to avoid circular record deps
2015-06-03 15:10:16 -07:00
59cac0a161 test-lib: use test_seq()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-03 23:53:24 +02:00
3c2e0ba586 ipfs-test-lib: implement test_seq()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-03 23:51:50 +02:00
c2b7456b49 fix up some dependencies to avoid circular record deps 2015-06-03 14:27:31 -07:00
898863d632 Merge pull request #1323 from ipfs/revert-godeps-update
Revert "godeps: update everything to master"
2015-06-03 14:26:16 -07:00
db98e77de9 add a test for issue repro 2015-06-03 08:41:25 -07:00
rht
f239a38fbb golint on core/commands 2015-06-03 18:44:28 +07:00
rht
e671ab2f42 Swap all 'crypto/rand' rng in tests with 'math/rand' 2015-06-03 18:12:34 +07:00
18297e2dc9 Merge pull request #1326 from rht/master
Test repeat in 10 sec: increase check frequency tenfold
2015-06-03 03:30:17 -07:00
rht
c14ab9bd51 go vet on core/commands 2015-06-03 17:20:40 +07:00
rht
9bdc1d6060 Test repeat in 10 sec: increase check frequency tenfold 2015-06-03 16:49:03 +07:00
546415b174 Revert "godeps: update everything to master"
This reverts commit dc758b1c819cc9dd638e54e81df62e8f8c52a393.
2015-06-02 14:55:32 -07:00
7fbfecf6fa Merge pull request #1319 from travisperson/bug/name-help-fix
Text under `ipfs name --help` incorrect
2015-06-02 00:46:20 -07:00
11780198b6 Text under ipfs name --help incorrect
Change help text to display proper results from an `ipfs name resolve`.
2015-06-02 00:08:33 -07:00
c9ad7a98f9 Merge pull request #1315 from ipfs/fix/prov-store
fix rampant memory leak in providers records storage
2015-06-01 17:25:54 -07:00
abb85fc194 fix rampant memory leak in providers records storage
address comments from CR

use map and array combo for better perf
2015-06-01 17:00:33 -07:00
9a9eb8416f Merge pull request #1318 from ipfs/feat/keypkg
move util.Key into its own package under blocks
2015-06-01 16:44:19 -07:00
ef294431d4 move util.Key into its own package under blocks 2015-06-01 16:10:08 -07:00
fd8a51d862 Merge pull request #1314 from ipfs/webui-v0.2.0
updated webui to 0.2.0
2015-06-01 00:49:15 -07:00
e9fec3d5ee updated webui to 0.2.0 2015-06-01 00:37:02 -07:00
a79655084d Merge pull request #1312 from ipfs/disable-failing-iptb-tests
disable constantly failing iptb tests
2015-06-01 00:02:14 -07:00
0f7f8ead04 disable constantly failing iptb tests
the iptb tests are failing all the time on travis. It's possible
this is still a port problem, and it may be something else.
Regardless, right now they're just adding noise.
2015-05-31 16:05:31 -07:00
0ecf7babd4 Merge pull request #1269 from ipfs/rm-testing
move core mock into its own package
2015-05-31 15:59:47 -07:00
4a78a9729d remove testing imports from non testing code
rename bserv mock to mock_test

swap out testing.T for an interface
2015-05-31 15:41:59 -07:00
d1d67f6ec6 Merge pull request #1311 from multikatt/patch-1
Update option help for ipfs stats bw --poll
2015-05-31 15:38:06 -07:00