Commit Graph

253 Commits

Author SHA1 Message Date
Juan Batiz-Benet
7ae3706b6d fuse: no longer require fuse to compile ipfs
This commit removes the dependency on go-fuse-version, and thus the
fuse headers. It also introduces an elaborate troubleshooting process
that diagnoses whether fuse installed -- and which version -- with as
little requirements as possible (attept to use sysctl, fall-back on
the go-fuse-version binary, etc). It then nicely instructs the user
what to do next.
2015-01-28 05:18:41 -08:00
Juan Batiz-Benet
913a733e9b helpful panics 2015-01-26 13:45:01 -08:00
Juan Batiz-Benet
fe00ad8a2c nat upnp and pmp libs 2015-01-24 12:41:49 -08:00
Juan Batiz-Benet
eb79b1b637 Merge pull request #645 from jbenet/net-notif
Network Notifications
2015-01-24 10:25:53 -08:00
Juan Batiz-Benet
7e8a17aa7d updated goprocess for godep restore test 2015-01-24 09:33:09 -08:00
Juan Batiz-Benet
b63cbf5331 updated peerstream 2015-01-24 09:13:43 -08:00
Matt Bell
487ef33e67 core/commands: Added progress bar to 'cat'
squash! core/commands: Added progress bar to 'cat'

Vendored progress bar lib
2015-01-23 18:29:30 -08:00
Juan Batiz-Benet
bb2d81ace2 Merge pull request #622 from jbenet/webui-commands
Webui Commands
2015-01-23 16:51:11 -08:00
Juan Batiz-Benet
bf1690f42e fixed fd leaks in go-reuseport 2015-01-23 16:17:49 -08:00
Juan Batiz-Benet
c43f97d64e updated goprocess, for periodic 2015-01-23 02:08:29 -08:00
Juan Batiz-Benet
f6278735ef net/diag: recursively decrement timeouts.
Not sure this works. we dont have tests for net diag.
We should make some.
cc @whyrusleeping.
2015-01-23 02:08:28 -08:00
Juan Batiz-Benet
8d08e1e3d6 reuseport: respect dialer timeout 2015-01-23 01:46:55 -08:00
Matt Bell
926b96463d core/commands: Added 'log read' command
squash! core/commands: Added 'log read' command

core/commands: Use a unidirectional channel for 'log read' output
2015-01-22 16:28:59 -08:00
Juan Batiz-Benet
ee4c727c83 update reuseport for the check 2015-01-20 19:34:49 -08:00
Juan Batiz-Benet
908ff837fd updated peerstream (race) 2015-01-20 11:26:55 -08:00
Juan Batiz-Benet
9062b9fe6c connect timing fixes to reuseport 2015-01-19 23:18:52 -08:00
Juan Batiz-Benet
7a3e0cdc75 CR updates to go-reuseport + go-sockaddr 2015-01-19 23:18:52 -08:00
Juan Batiz-Benet
911a3c90bc added go-reuseport + go-sockaddr 2015-01-19 23:18:51 -08:00
Juan Batiz-Benet
eb50900fff updated multiaddr-net for WrapNetListener 2015-01-19 23:18:51 -08:00
Brian Tiger Chow
043b57f075 update random 2015-01-18 15:09:54 -08:00
Juan Batiz-Benet
2963f48f62 Merge pull request #554 from jbenet/feat/reprovide
basic reprovider implementation
2015-01-17 03:03:01 -08:00
Jeromy
acfc35212e add backoff retry to reprovider 2015-01-17 04:31:50 +00:00
Brian Tiger Chow
9700d2f94b use atomicfile for safer writes
for now, allow daemon and client to both hit config
2015-01-14 03:02:23 -08:00
Juan Batiz-Benet
dc6b548094 vendor fixed go-fuse-version 2015-01-13 22:12:29 -08:00
Juan Batiz-Benet
b36ca66f7c multiaddr update: recognize link local ip6 2015-01-12 19:15:02 -08:00
Juan Batiz-Benet
ab824a51ff added debug printing to peerstream 2015-01-12 10:53:53 -08:00
Juan Batiz-Benet
92e8a7bcd5 updated datastore for proper query handling
Queries now can be cancelled and the resources collected
2015-01-11 20:52:33 -08:00
Juan Batiz-Benet
c0cc951118 updated goprocess 2015-01-11 16:59:22 -08:00
Juan Batiz-Benet
f9ca67ef04 updated datastore (Query) 2015-01-11 16:59:22 -08:00
Juan Batiz-Benet
14b4c8223b updated peerstream: fixed hanging bug
peerstream would hang when it got many temporary errors.
temp errors should not count as an error. Now, it will
only exit when an error is not temporary.

I kept the acceptErr channel because it will no longer
cause a bad hang. The goroutine is exiting, so if it
blocks until acceptErr is read, it's fine. If users
launch tons of listers and see goroutines building up,
they know they should be reading + logging those.
2015-01-11 12:55:33 -08:00
Juan Batiz-Benet
fd3e0bb37c added temp-err-catcher 2015-01-11 12:55:33 -08:00
Juan Batiz-Benet
6b308292e7 go humanize 2015-01-10 01:11:10 -08:00
Juan Batiz-Benet
01f9ef3c54 added fuseversion for osxfuse 2015-01-10 01:07:43 -08:00
Juan Batiz-Benet
e1a0486e15 updated go-multiaddr-net (disabled utp) 2015-01-09 06:16:29 -08:00
Juan Batiz-Benet
19a5f088d5 updated multiaddr 2015-01-09 06:13:24 -08:00
Juan Batiz-Benet
c88a4b2ccc peerstream update (gc conns) 2015-01-07 19:01:10 -08:00
Juan Batiz-Benet
12fd3555a1 added dep github.com/jbenet/goprocess 2015-01-06 08:54:04 -08:00
Juan Batiz-Benet
4309d15edb updated msgio (varints) 2015-01-02 08:46:45 -08:00
Juan Batiz-Benet
4d08eb0140 updated multihash (io) 2015-01-02 08:46:44 -08:00
Juan Batiz-Benet
8acfcebd67 use yamux as go-peerstream transport
go-peerstream update to use github.com/hashicorp/yamux
2015-01-01 23:24:09 -08:00
Juan Batiz-Benet
a2abf108a0 peerstream update
peerstream was updated to use pluggable transports, including
muxado. The interface was also simplified slightly.
2015-01-01 07:05:39 -08:00
Juan Batiz-Benet
5f603deecd updated spdystream (lock) 2014-12-31 07:22:00 -08:00
Juan Batiz-Benet
0fe9f0603b bugfix in spdystream
and updated go-peerstream

cc @whyrusleeping
2014-12-31 00:34:05 -08:00
Juan Batiz-Benet
5c2cc6089f updated go-peerstream (close fix) 2014-12-28 04:05:57 -08:00
Juan Batiz-Benet
8b4c7cf34b peerstream updated (data race) 2014-12-23 08:51:57 -08:00
Juan Batiz-Benet
1f59e18d36 whoops deps 2014-12-17 23:25:38 -08:00
Juan Batiz-Benet
ba323c3e48 make vendor 2014-12-17 23:25:38 -08:00
Juan Batiz-Benet
3b29653022 updated msgio + secio 2014-12-16 05:10:45 -08:00
Juan Batiz-Benet
6944531026 updated msgio (bufixes) 2014-12-16 05:10:44 -08:00
Juan Batiz-Benet
62204fce65 added ctxgroup and router 2014-12-16 05:10:44 -08:00
Juan Batiz-Benet
aed70170dc msgio proper write 2014-12-12 02:45:22 -08:00
Juan Batiz-Benet
477f5c8838 update msgio (combine) 2014-12-12 02:45:22 -08:00
Juan Batiz-Benet
6040a3efcc make vendor (datastore fail??) 2014-12-08 20:53:31 -08:00
Juan Batiz-Benet
3db0da504f updated leveldb 2014-12-06 16:22:10 -08:00
Juan Batiz-Benet
59c1ab2fc3 Merge pull request #406 from jbenet/new-msgio
updated msgio
2014-12-06 16:20:51 -08:00
Juan Batiz-Benet
97e0f73e79 msgio: updated to remove max size 2014-12-06 11:26:47 -05:00
Brian Tiger Chow
c40fe2af17 feat(blockstore) write cache
vendors hashicorp/golang-lru dependency. (Mozilla Public License, version 2.0)

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 23:31:01 -08:00
Brian Tiger Chow
fb5779661b fix(bs/notifications) use SubOnceEach to provide uniqueness guarantee
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

vendor forked pubsub to get SubOnceEach

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 20:53:30 +00:00
Brian Tiger Chow
e393edcc28 Revert "hotfix(dep) duplicates TEMP DONT MERGE TO MASTER"
This reverts commit 49004e9743.
2014-12-05 20:53:29 +00:00
Brian Tiger Chow
044db5bee8 hotfix(dep) duplicates TEMP DONT MERGE TO MASTER
before merging, fork and send a PR to tuxy

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 20:53:29 +00:00
Christian Couder
9d7d02c21c Update github.com/maybebtc/logrus dependency
This patch was generated by running:

$ godep update github.com/maybebtc/logrus

Without this, `godep restore` fails like this:

```
$ LANG=C godep restore
fatal: reference is not a tree: 005463f8fb49c4a6f36181e05157e111ec5cf8a3
godep: restore: exit status 128
```

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-25 06:44:46 +01:00
Juan Batiz-Benet
c90c16eee4 updated multiaddr + added utp 2014-11-20 09:14:48 -08:00
Juan Batiz-Benet
43452fdeb7 updated multiaddr + multiaddr-net
I broke out multiaddr/net to its own package so
that multiaddr parsing could remain lean. multiaddr-net
will vendor special implementations of protocols (like utp)
2014-11-20 00:58:48 -08:00
Brian Tiger Chow
884d629a56 deps(eventlog) no need to augment Logger
allow framework to add level to log so level can be applied when using
text formatter

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 00:44:18 -08:00
Brian Tiger Chow
5fa31f8e6c deps(go-datastore) update
This commit updates go-datastore in order to access new LevelDb Close()
method

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 00:43:37 -08:00
Brian Tiger Chow
2d6b10f605 deps(eventlog) disable logrus' mutation of event keys
now, logrus does not automatically inject time, msg, level metadata

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:01:01 -08:00
Brian Tiger Chow
b03fbf73f5 deps(eventlog) use maybebtc fork
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:01:01 -08:00
Brian Tiger Chow
9a38b28416 deps(logging) vendor logrus (MIT)
Experimenting with LD JSON logging

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Juan Batiz-Benet
5a372f6996 vendor manners - for real this time
sorry everyone.
2014-11-15 22:24:13 -08:00
Brian Tiger Chow
e9131df344 deps(go-random)
fixes #293

https://github.com/jbenet/go-ipfs/issues/293
2014-11-15 02:10:52 -08:00
Brian Tiger Chow
9f798e86b2 fix(deps) transitive dependency was missing
programmer error

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 00:46:25 -08:00
Brian Tiger Chow
eb5bb1daa8 feat(debugerror)
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

impl errorf

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

return a debug error

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 17:04:48 -08:00
Juan Batiz-Benet
1e434ef3c4 vendor: updated random + fixed test import
There is a dummy test import: test/lib/random-dep.go
Because godep doen't yet vendor binaries nicely.
2014-11-08 20:12:02 -08:00
Juan Batiz-Benet
49f30b1597 added random to godeps 2014-11-08 18:49:01 -08:00
Juan Batiz-Benet
f0f202ed08 updated multiaddr 2014-11-05 02:31:23 -08:00
Jeromy
950957240a address comments from PR 2014-11-01 16:07:56 -07:00
Jeromy
a8069024e9 cut down on allocations 2014-11-01 16:07:56 -07:00
Jeromy
f89cfc1108 moved pipes package 2014-11-01 16:07:56 -07:00
Jeromy
07733b17b3 msgio pooling first hack 2014-11-01 16:07:56 -07:00
Juan Batiz-Benet
210b5df78c use my go-logging fork
until https://github.com/op/go-logging/pull/30 is merged
2014-10-25 03:43:17 -07:00
Juan Batiz-Benet
bd5a1c0c0f Merge pull request #192 from jbenet/dhtfixes
dht fixes
2014-10-22 22:20:36 -07:00
Juan Batiz-Benet
54032ce38b updated vendoring 2014-10-22 05:29:22 -07:00
Henry
deb9aebc48 vendor inconshreveable/go-update and it's deps 2014-10-22 11:24:34 +02:00
Jeromy
6458ddcd32 flesh out pinning object, needs tests and cli wiring still 2014-10-22 00:28:41 -07:00
Juan Batiz-Benet
f7c1ed39e0 renamed datastore.go -> go-datastore 2014-10-21 15:10:58 -07:00
Juan Batiz-Benet
4cb48da228 updated datastore 2014-10-21 03:30:41 -07:00
Henry
320ac339bb checkin github.com/mitchellh/go-homedir" 2014-10-15 12:27:53 +02:00
Juan Batiz-Benet
917be90437 updated multiaddr for net pkg 2014-10-11 03:07:36 -07:00
Juan Batiz-Benet
726f53ff41 updated multiaddr 2014-10-10 20:43:04 -07:00
Juan Batiz-Benet
afec2d3d23 vendored go-semver 2014-10-09 20:01:49 -07:00
Juan Batiz-Benet
9ebf3ae640 keytransform ds 2014-10-08 14:33:31 -07:00
Juan Batiz-Benet
20a20c9e1a updated multiaddr 2014-10-06 04:07:22 -07:00
Juan Batiz-Benet
d7d3af3faf vendoring protobuf + go-is-domain 2014-10-05 15:15:49 -07:00
Juan Batiz-Benet
8a7f6aca99 godeps: updated datastore 2014-10-03 14:45:21 -07:00
Juan Batiz-Benet
f085d594aa vendoring ipns things 2014-10-01 00:44:22 -07:00
verokarhu
4510977a4d fix imports on mux 2014-09-30 22:59:55 +03:00
verokarhu
cf0100c97c vendor github.com/gorilla dependencies 2014-09-30 22:59:55 +03:00
Juan Batiz-Benet
17f147eff8 vendor go-logging + camlistore/lock 2014-09-30 03:33:51 -07:00
Juan Batiz-Benet
34a0580ea6 godep multiaddr update 2014-09-22 04:05:19 -07:00
Brian Tiger Chow
455c6582f5 refactor(bitswap) leverage third-party pubsub lib
use a third-party pubsub library for internal communications

Insights:
* Within bitswap, the actors don't need anything more than simple pubsub
behavior. Wrapping and unwrapping messages proves unneccessary.

Changes:
* Simplifies the interface for both actors calling GetBlock and actors
receiving blocks on the network
* Leverages a well-tested third-party pubsub library

Design Goals:
* reduce complexity
* extract implementation details (wrapping and unwrapping data, etc)
from bitswap and let bitswap focus on composition of core algorithms
operations
2014-09-22 04:05:13 -07:00
Juan Batiz-Benet
035d600f28 Godeps: use in net + new multiaddr 2014-09-22 04:05:12 -07:00
Brian Tiger Chow
7f39299033 chore(deps:go-multiaddr) update to b90678896b52c
procedure is to execute
```
cd my/github.com/jbenet/go-multiaddr
git pull
cd my/github.com/jbenet/go-ipfs
godep update github.com/jbenet/go-multiaddr
```
2014-09-11 11:15:22 -07:00
Brian Tiger Chow
7968b45e58 vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json

update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00