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

1534 Commits

Author SHA1 Message Date
842de46ccf test: moved installed things into own dirs
I moved installed things into own dirs bin and lib.

@chriscool sorry to move things around again, the top level
test dir was getting a bit clutterd.
2014-11-08 20:12:02 -08:00
5680c112ef test: install random from vendored code 2014-11-08 18:49:28 -08:00
49f30b1597 added random to godeps 2014-11-08 18:49:01 -08:00
7ee0c6dcea Merge pull request #285 from jbenet/bugfix/284
prevent NAT check if given nil multiaddr
2014-11-08 18:33:04 -08:00
36a4ee7087 prevent NAT check if given nil multiaddr 2014-11-08 12:24:17 -08:00
e489a8872b Merge pull request #278 from chriscool/install-sharness
Install sharness
2014-11-07 18:05:27 -08:00
e211b6543a Add a README.md to explain a few things 2014-11-08 02:44:03 +01:00
2b5f1b2d8c Install sharness in a 'sharness' directory
It is cleaner if sharness is installed in its own
directory.
2014-11-08 02:44:03 +01:00
39c1930ed4 Merge pull request #274 from jbenet/install-sharness
Install sharness + add to tests to coverage
2014-11-07 17:31:19 -08:00
04efbb9a55 test: install random locally for travis. 2014-11-07 17:24:13 -08:00
c9ffe1a281 tests: use ipfs but with the right tool
Addresses comments in: 7e14f1737d
2014-11-07 16:24:44 -08:00
7ab38696f6 travis: fix install random error 2014-11-07 15:24:31 -08:00
7e14f1737d test/: build own ipfs tool to test
The tests were using the globally installed ipfs.
This commit changes it to build + use its own ipfs binary.
2014-11-07 15:16:29 -08:00
53c2cacdd0 travis: use make test 2014-11-07 14:56:09 -08:00
37279d55ca install go-random 2014-11-07 14:54:58 -08:00
efe4e05665 added install + tests to toplevel 2014-11-07 14:54:58 -08:00
7e46d95145 Use a FUSE prerequisite to skip mount tests
When there is no fuse we should skip all mount
tests and using a FUSE prerequisite is a good
way to do that.
2014-11-07 14:54:58 -08:00
fc6213db09 dont test mount when no fuse 2014-11-07 14:53:55 -08:00
e5198b1446 bitswap error -> debug (use IPFS_LOGGING=debug) 2014-11-07 14:53:55 -08:00
728d977b09 go install in travis test 2014-11-07 14:53:55 -08:00
eee15baeb6 remove test-sharness-config 2014-11-07 14:53:55 -08:00
54651618e8 install aggregate-results.sh too 2014-11-07 14:53:55 -08:00
8198ba94d6 add sharness tests to travis 2014-11-07 14:53:55 -08:00
9535cb5802 install sharness 2014-11-07 14:53:55 -08:00
350b8333b3 Merge pull request #277 from jbenet/fuse-fix
Fix buffer size bug in fuse mounts
2014-11-07 14:27:19 -08:00
387d0a935d ipns test: unused import + rmv old comment 2014-11-07 14:21:12 -08:00
9434f6e531 tests: use shasum instead of sha1sum
sha1sum is not in osx by default.
shasum seems to be everywhere.
2014-11-07 14:13:12 -08:00
bc0e31922b probably fix the cat bug 2014-11-07 14:13:11 -08:00
2e2d02a741 probably fix OSX ipns bug 2014-11-07 14:13:11 -08:00
3155fa2c6f Merge pull request #267 from jbenet/maybebtc-november
Miscellaneous fixes
2014-11-07 13:09:27 -08:00
62f1614fc5 Merge pull request #248 from chriscool/test_ipfs_mount
Add test for ipfs mount
2014-11-06 14:41:10 -08:00
22ac599703 test ipfs cat and ipfs add with a 100MB file
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-06 23:00:45 +01:00
a9d90852db version bump (checking autoinstall) 2014-11-06 12:14:15 -08:00
550b98b7fd doc(peer) 2014-11-05 10:15:17 -08:00
074722cf8a fix(peer) update latency 2014-11-05 10:15:17 -08:00
de170927ad fix(commands/request) cast safely
should be able to look at a function in isolation and prove it won't
panic. if that's not possible, should cast safely.
2014-11-05 10:15:17 -08:00
d3f9aadd3e fix(commands/http/client) cast safely 2014-11-05 10:15:17 -08:00
67bc9cc89d feat(init) display peer id in init command
use case:

Just configured and installed a node.

benefits:

1) reduces friction when setting up a new node

2) reveals useful details about the workings of the system. It's the
user's first encounter with her node's identity. The tour can build on
the user's knowledge.

```
ipfs (maybebtc-november) λ. ipfs init -f
initializing ipfs node at /Users/btc/.go-ipfs
generating key pair
peer identity: QmcRbn41Vc2CvbpLYfN36mAWusErKWvAAHbq92LPra2gFT
```
2014-11-05 10:15:17 -08:00
e6ee19ed92 feat(Dockerfile) use ENTRYPOINT
Fixes #258

https://github.com/jbenet/go-ipfs/issues/258
2014-11-05 10:15:17 -08:00
83716af890 fix(bitswap) shut down async 2014-11-05 10:13:24 -08:00
d742984968 Merge pull request #272 from jbenet/context-dial-peer
add context to DialPeer interface
2014-11-05 10:08:40 -08:00
390f4d7419 readability(util) Do -> ContextDo
@jbenet
2014-11-05 10:07:16 -08:00
40c5cca117 fix(bitswap) always cancel on return 2014-11-05 10:04:20 -08:00
a529378ce0 fix(bitswap) don't 'go' local function calls 2014-11-05 10:04:20 -08:00
97e11c7d01 fix(do) child listens on ctx too 2014-11-05 10:04:20 -08:00
68618f3fb8 fix(net) use Do to respect the caller's context 2014-11-05 10:04:20 -08:00
ed247ec154 add do 2014-11-05 10:04:20 -08:00
23096de3c4 fix(net) pass contexts to dial peer 2014-11-05 10:04:20 -08:00
c60d011764 fix(exchange) add context to DialPeer 2014-11-05 10:04:20 -08:00
9d7e0bbd4b Merge pull request #273 from jbenet/fix-data-races
Fix data races in #270
2014-11-05 10:02:46 -08:00