c7af4a6fa2
Bugfix: !online -> online
...
Caused panic.
2014-09-30 11:34:28 -07:00
42a918d39a
Merge pull request #127 from jbenet/feat/snappy-cmd
...
Feat/snappy cmd
2014-09-30 03:47:02 -07:00
17f147eff8
vendor go-logging + camlistore/lock
2014-09-30 03:33:51 -07:00
c054619827
do init id offline, only dont parse keys
...
(test was failing)
2014-09-30 03:31:24 -07:00
7492a708a3
daemon_test: use proper temp dir
2014-09-30 03:24:57 -07:00
6aa15ddb94
fixed close sync issue
2014-09-30 03:24:57 -07:00
d0380b739d
const for lock file, + fix unreachable Close
2014-09-30 03:24:57 -07:00
508a5b7a94
amendment to core context + cancels
2014-09-30 03:22:30 -07:00
4b5e0291f8
core context + cancels
...
Erroring out in core setup should cancel the context
to ensure subsystems are shut down. This has to happen
all over the place we use contexts.
@perfmode @whyrusleeping
2014-09-30 03:22:30 -07:00
f2db4b77ac
don't load identity in offline mode (temp)
...
**For now**, we don't need to load/parse the private key
(which causes a signficant delay in commands) when doing
things entirely offline. This may change, and in that case
the private key should be loaded on demand.
2014-09-30 03:22:29 -07:00
e311ccbf43
respect the lock file, also cpu profile
2014-09-30 03:22:29 -07:00
9c221719f9
switch over to using a lock file for daemon connections
2014-09-30 03:20:15 -07:00
ac1430456c
changed gitignore to accomodate atom
...
See https://github.com/atom/atom/issues/3660
2014-09-30 03:19:13 -07:00
5594432236
this import snuck in
...
wish go-dep warned you about dependency problems.
cc @whyrusleeping
2014-09-29 13:33:57 -07:00
be9c114650
no need for ; here
...
cc @mildred
2014-09-29 13:32:44 -07:00
f223aef486
Merge pull request #126 from mildred/master
...
Rework config file location
2014-09-29 13:27:58 -07:00
832d84ef3c
When initializing datastore, create directory with correct permissions.
2014-09-29 21:54:35 +02:00
2a3ab23f1d
Check the datastore is writeable when initializing
2014-09-29 21:54:35 +02:00
dc1aafbafd
Fix error handling
2014-09-29 21:54:35 +02:00
e200c089fa
Correct style.
2014-09-29 21:54:35 +02:00
7705dfb939
Refactor config file location, add IPFS_CONFIG_DIR
...
Removed config.Filename and replace it with config.GetConfigFilePath that
takes a configuration directory as argument instead. Makes code simpler.
ipfs.getConfigDir now also return the default configuration dir instead of
an empty string in some cases.
2014-09-29 21:54:35 +02:00
73077d1f72
Implement ipfs init -d (change datastore location)
2014-09-29 21:54:08 +02:00
68f1a1a260
update readme and a couple comments
2014-09-27 18:50:38 -07:00
727b6bf9a3
udpated commands and RPC dialing to work with new configuration changes
2014-09-27 16:02:50 -07:00
8b68776fff
Merge pull request #128 from jbenet/feat/peerstorefix
...
Peerstore Fix
2014-09-27 01:39:05 -07:00
484d6004f7
crypto: abstracted Key and added Equals.
2014-09-27 00:18:54 -07:00
c7bd8b78dd
handshake catch
2014-09-26 23:58:44 -07:00
198b6e2bae
remove stale TODO
2014-09-26 23:55:28 -07:00
ee3be129fc
set util.ErrNotFound = ds.ErrNotFound
2014-09-26 23:37:36 -07:00
c1219303a0
fixed muxer errors
2014-09-26 03:57:34 -07:00
2507680d77
ok fixed queue test
2014-09-26 03:26:48 -07:00
943c3df416
increment time for queue test
...
it's failing when machine slow (travis)
2014-09-26 02:52:41 -07:00
e6b96b9c75
ammend tests with changes
2014-09-26 02:41:46 -07:00
53f0b117f5
update net with peerstore
2014-09-26 02:41:46 -07:00
0817ffa366
spipe + handshake with peerstore
2014-09-26 02:41:46 -07:00
a93a31f20b
peerstore: re-export ErrNotFound
...
This is to avoid having to import ds elsewhere.
2014-09-26 02:41:46 -07:00
80a927f279
Merge pull request #121 from jbenet/feat/addrs-in-config
...
config: rename addresses
2014-09-26 02:36:29 -07:00
671b09569a
Merge branch 'feat/network-error-propagation-1'
2014-09-24 23:36:52 -04:00
e2a9c5de00
feat(net:service, routing) remove error return value
2014-09-24 23:35:36 -04:00
0e494690b3
feat(bitswap:network) propagate errors up the stack
...
Rather than pushing errors back down to lower layers, propagate the
errors upward.
This commit adds a `ReceiveError` method to BitSwap's network receiver.
Still TODO: rm the error return value from:
net.service.handler.HandleMessage
This is inspired by delegation patterns in found in the wild.
2014-09-24 23:35:36 -04:00
bc883bd0cf
Merge branch 'ipfs-context-2'
2014-09-24 23:35:06 -04:00
303ebd894d
config: changed language from Peers to Bootstrap
2014-09-24 05:31:25 -07:00
193aebc4c0
config: rename addresses
...
WARNING: change breaks old configs.
@whyrusleeping @perfmode
This commit changes the way addresses are stored in config files.
It lumps Identity.Address and RPCAddress into Addresses. This
commit also fixes several golint issues.
2014-09-24 05:28:35 -07:00
63a2855a49
feat(util:context) add error logging to context
...
This commit...
is a second attempt at: https://github.com/jbenet/go-ipfs/pull/68
partially addresses: https://github.com/jbenet/go-ipfs/issues/66
is the result of discussion at:
https://gist.github.com/perfmode/f2951c1ed3a02c484d0b
2014-09-23 21:08:36 -04:00
ac7404a6e4
Merge branch 'feat/mock-dht'
2014-09-23 18:24:08 -04:00
c044d9c32e
move mock routing tests to proper directory
2014-09-23 18:23:46 -04:00
414ff34194
change back to using Client method
2014-09-23 18:23:46 -04:00
c45cc8c448
implement a mock dht for use in testing
2014-09-23 18:23:46 -04:00
f00197542c
Merge pull request #104 from jbenet/feat/fix-ping
...
Fixed Ping (minor)
2014-09-23 16:20:00 -04:00
9eabd80e55
Merge pull request #107 from epitron/master
...
Fixed a link in the README (and capitalization).
2014-09-23 13:11:24 -07:00