Commit Graph

4835 Commits

Author SHA1 Message Date
Juan Batiz-Benet
2d16d252ea Merge pull request #848 from techfreek/master
peer short tags are improved
2015-03-04 16:02:46 -08:00
Juan Batiz-Benet
014f0108d3 Merge pull request #852 from jbenet/t0110_cleanup
t0110: cleanup using expr
2015-03-04 12:16:19 -08:00
Christian Couder
b01e535115 t0110: cleanup using expr
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-04 21:02:32 +01:00
Juan Batiz-Benet
32dd4dbfa9 Merge pull request #844 from jbenet/tests-fix
fix the tests
2015-03-04 08:39:26 -08:00
Juan Batiz-Benet
4dd2e8fde9 fixed dht kbucket race
closes #836
2015-03-04 08:28:55 -08:00
Juan Batiz-Benet
04a3a66c6c sharness/testlib: seed RANDOM
this is ugly. ideally would seed using date, but unclear
what a portable datetime is. date '+%s' doesnt work on osx.
2015-03-04 08:17:55 -08:00
Juan Batiz-Benet
25f042ce36 daemon: consolidate writable gway line 2015-03-04 08:17:54 -08:00
Juan Batiz-Benet
0510633a17 tests/sharness: t0111-gateway-writable
ideally this port would be a randomly picked unused port.
for now we just pick a different port than t0110-gateway.
2015-03-04 08:17:54 -08:00
Juan Batiz-Benet
2a40d7679e test/sharness: randomize api port workaround
we have a problem where initializing daemons with the same api port
often fails-- it hangs indefinitely. The proper solution is to make
ipfs pick an unused port for the api on startup, and then use that.
Unfortunately, ipfs doesnt yet know how to do this-- the api port
must be specified. Until ipfs learns how to do this, we must use
specific port numbers, which may still fail but less frequently
if we at least use different ones.
2015-03-04 07:34:05 -08:00
Juan Batiz-Benet
999471d9bf test/sharness/t004-add-cat: quote hashes 2015-03-04 07:34:05 -08:00
Juan Batiz-Benet
38425b1a06 fuse: fix read problem in osx
@whyrusleeping's fix in c88340b broke reading fuse in osx.
i'm not sure why... anyway, i chose to revert back to
io.ReadFull, but use the min of req.Size and r.Size(), which
should not encounter the reading problem in linux that a77ea2f
fixed in the first place.

This commit also changes ipns, which had not been changed.
2015-03-04 07:34:05 -08:00
Juan Batiz-Benet
f77dbe0a57 fuse/ipns: implement NodeReadlinker 2015-03-04 07:34:04 -08:00
Juan Batiz-Benet
9d167cd5e8 testfix: dont break 8k goroutine limit under race 2015-03-04 07:34:04 -08:00
Juan Batiz-Benet
0adde5cfa7 Merge pull request #851 from jbenet/test/pollDaemon
Test/poll daemon
2015-03-04 07:33:20 -08:00
Henry
14090d4a11 moved pollEndpoint to thirdparty/ 2015-03-04 16:25:41 +01:00
Henry
3f932af14d removed crazy logging 2015-03-04 16:18:41 +01:00
Henry
aa745fef07 specify new dep in sharenss Makefile 2015-03-04 15:06:26 +01:00
Henry
0204a0c174 cat log output on fail 2015-03-04 14:53:30 +01:00
Henry
56a32a306c using pollEndpoint to block in tests for 'daemon ready' (updates #844) 2015-03-04 14:50:17 +01:00
Alex
da80f22bfe Implemented @jbenet's suggestion to avoid panics if peerID is of length 0. 2015-03-03 09:20:23 -08:00
Alex
bd510e2a91 Merge branch 'master' of http://github.com/techfreek/go-ipfs 2015-03-02 23:55:22 -08:00
Alex
ee449cb884 Fixed #780 2015-03-02 23:53:30 -08:00
Juan Batiz-Benet
51a8bcbf64 Merge pull request #847 from jbenet/publish-webui
published new webui
2015-03-02 23:38:30 -08:00
Juan Batiz-Benet
7bc1de4ec5 published new webui
/ipfs/QmXX7YRpU7nNBKfw75VG7Y1c3GwpSAGHRev67XVPgZFv9R

ee74f75d0b
2015-03-02 23:33:10 -08:00
Juan Batiz-Benet
9f27556090 Merge pull request #823 from BrendanBenshoof/master
fixing bug 812
2015-03-02 17:02:24 -08:00
bbenshoof
ed179263f4 split the tests 2015-03-02 17:55:01 -05:00
Juan Batiz-Benet
8ec5182186 Merge pull request #838 from jbenet/t0111_fix_double_quoting
t0111: fix broken test due to bad double quoting
2015-03-02 14:35:14 -08:00
bbenshoof
ac5cfc5664 fixing bug 812 2015-03-02 17:07:21 -05:00
Juan Batiz-Benet
5e85b00819 Merge pull request #833 from jbenet/trailingDirSlash
beautify 'ipfs ls' and 'ipfs object links'
2015-03-01 06:31:27 -08:00
Henry
220aaf2802 sharness: don't be to smart about creating testData 2015-03-01 14:03:51 +01:00
Henry
9cf718932e ipfs ls: make sure to fully create testData 2015-03-01 14:03:51 +01:00
Henry
f5f5d5d9d2 newIpfsLs: add shareness test 2015-03-01 14:03:51 +01:00
Henry
607468a96d beautify 'ipfs ls' and 'ipfs object links' (updates #799) 2015-03-01 14:03:51 +01:00
Juan Batiz-Benet
dd588785e2 Merge pull request #821 from jbenet/updateFuseToCtxs
update to recent bazil.org/fuse
2015-03-01 05:00:44 -08:00
Henry
94f55f2d51 added implements check for root types and fixed remaining interfaces on nodes 2015-03-01 13:47:52 +01:00
Henry
335caf0bc7 implements check and fixed argument ordering 2015-03-01 13:47:52 +01:00
Henry
faef01a17e update to recent bazil.org/fuse (drop custom Error, Intr dropped in favor or context.Context) 2015-03-01 13:47:52 +01:00
Juan Batiz-Benet
3863ec351e Merge pull request #835 from jbenet/springClean
Spring clean
2015-03-01 04:46:47 -08:00
Henry
d743801638 godep: changed back to inflect upstream 2015-03-01 13:22:27 +01:00
Henry
d69bdecbc7 move back to upstream logrus 2015-03-01 00:59:33 +01:00
Henry
84262be070 godep&x/crypto: updated multihash and moved to x/crypto for blowfish 2015-03-01 00:49:44 +01:00
Christian Couder
17ca4f6429 t0111: use expr again to check location
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-28 18:27:54 +01:00
Christian Couder
f82526a5ca t0111: use URL variable to clarify code
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-28 08:21:55 +01:00
Christian Couder
d9d758cfde t0111: use "expr" more to check Location
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-28 08:14:15 +01:00
Christian Couder
158affac99 t0111: use "expr" to check Location
This makes it possible to simplify the code.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-28 08:06:04 +01:00
Christian Couder
c844fffef2 t0111: fix broken test due to bad double quoting
There was basically:

  curl ... "$URL 2>curl.out"

instead of:

  curl ... "$URL" 2>curl.out

So "curl.out" was not properly overwritten by the curl command.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-27 22:09:11 +01:00
Henry
6cc6a80039 godeps: maybebtc renamed is account 2015-02-27 14:40:45 +01:00
Henry
71245e5971 remove unused POut() 2015-02-27 14:19:19 +01:00
Henry
5b5d3221fd don't depend on go-logging - use it through util instead. 2015-02-27 14:19:08 +01:00
Henry
29e82d59f0 tell godep about our shareness dependency on go-humanize 2015-02-27 13:57:23 +01:00