Commit Graph

1949 Commits

Author SHA1 Message Date
Juan Batiz-Benet
8bf7948722 Merge pull request #369 from jbenet/utp
Add utp as a transport
2014-11-20 18:39:18 -08:00
Brian Tiger Chow
c3fd9b5b20 feat(Dockerfile) expose UDP 4002 for swarm traffic
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-20 16:27:39 -08:00
Brian Tiger Chow
93cf2bb176 style(net/conn) fmt -> debugerror
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-20 16:14:23 -08:00
Juan Batiz-Benet
6adfa35c3e Merge pull request #371 from chriscool/test_add_expensive_prereq
Add EXPENSIVE prereq to sharness tests
2014-11-20 12:03:23 -08:00
Christian Couder
196651d5f5 Add sharness mount tests with a 5 MB file
These new tests are not marked EXPENSIVE as they
should be fast enough even on Travis CI.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-20 20:46:02 +01:00
Christian Couder
c8e7a95644 Add an EXPENSIVE prereq and use it in t0040
We add this prereq to tests with a 100MB file
as they are slow on Travis CI.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-20 20:27:09 +01:00
Christian Couder
f06b9ca126 Rename test_launch_ipfs_mount into test_launch_ipfs_daemon_and_mount
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-20 20:11:03 +01:00
Christian Couder
1e077828cb Rename test_kill_ipfs_mount into test_kill_ipfs_daemon
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-20 20:03:41 +01:00
Juan Batiz-Benet
a1dcbbad80 init: note about addrs 2014-11-20 09:15:48 -08:00
Juan Batiz-Benet
f99117bcd2 swarm: try all peer's addresses
For simplicity this is sequential. This will be bad latency given
RTTs for all the handshakes, etc. Later on can make async or
at least open based on some priority of the channel.
2014-11-20 09:14:49 -08:00
Juan Batiz-Benet
48879dd56c conn: added (*dialer).DialAddr 2014-11-20 09:14:49 -08:00
Juan Batiz-Benet
c7fd1d9ddb swarm: refactored multiconn creation 2014-11-20 09:14:49 -08:00
Juan Batiz-Benet
e0dab75d54 swarm: better err on listen fail 2014-11-20 09:14:48 -08:00
Juan Batiz-Benet
c90c16eee4 updated multiaddr + added utp 2014-11-20 09:14:48 -08:00
Juan Batiz-Benet
8786602df1 config: nicer error to user 2014-11-20 09:14:48 -08:00
Juan Batiz-Benet
1a5cb300cb config: swarm is list of addrs 2014-11-20 09:14:48 -08:00
Juan Batiz-Benet
fc6bab7b73 net/conn: moved zero addr error 2014-11-20 01:27:18 -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
Juan Batiz-Benet
e1be96133c Merge pull request #366 from jbenet/parse-fix
Parse Fix
2014-11-20 00:25:41 -08:00
Matt Bell
922f84878c commands/cli: Added argument parse tests 2014-11-19 18:30:06 -08:00
Matt Bell
a69ddbb965 commands/cli: Fixed parse bug when optional argument is defined first 2014-11-19 18:29:56 -08:00
Juan Batiz-Benet
cefb0140cb Merge pull request #362 from chriscool/mount_bugs
Add sharness tests to document existing mount bugs
2014-11-19 13:03:49 -08:00
Christian Couder
882aac223e Add issue number to expected failures in sharness tests
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-19 21:21:03 +01:00
ᴍᴀᴛᴛ ʙᴇʟʟ
b38f01ed68 Merge pull request #365 from jbenet/windows-hotfixes
Windows Hotfixes
2014-11-19 05:39:52 -08:00
Matt Bell
ab16237bc7 core/commands: Added no-op Mount implementation for Windows 2014-11-19 05:29:48 -08:00
Matt Bell
4bd2fbc806 commands/cli: Ignore stdin on Windows 2014-11-19 04:30:29 -08:00
Matt Bell
7b09b7bdaf Merge pull request #364 from jbenet/pin-ls
Added 'pin ls' Command
2014-11-19 03:28:27 -08:00
Matt Bell
5461d76957 core/commands: Better syntax for 'pin ls' option value handling 2014-11-19 03:23:21 -08:00
Matt Bell
928f20b4bd core/commands: pin ls: Default type to 'direct' 2014-11-19 01:44:51 -08:00
Matt Bell
69ce2940a8 commands/cli: Fixed helptext option type 2014-11-19 00:54:59 -08:00
Matt Bell
9de01007d0 core/commands: pin ls: Accept 'type' option to specify type of pinned keys to list 2014-11-19 00:53:57 -08:00
Matt Bell
e6091be0c7 pin: Return copies of pinned keys, of each type (direct/indirect/recursive) 2014-11-19 00:53:23 -08:00
Matt Bell
ae6f00d766 commands: Fixed tests 2014-11-19 00:36:42 -08:00
Matt Bell
4c1a5f6816 core/commands: Restored 'pin'/'refs' option names 2014-11-19 00:36:30 -08:00
Matt Bell
87853f2bde core/commands: Made 'add' use OptionRecursivePath 2014-11-19 00:36:03 -08:00
Matt Bell
761392d8de commands/cli: Only allow recursive paths if -r option definition is OptionRecursivePath 2014-11-19 00:26:53 -08:00
Matt Bell
aa84f69231 commands: Added a 'Definition()' method to OptionValue to get a reference to the option definiton 2014-11-19 00:26:02 -08:00
Matt Bell
bbf3a1f4d4 commands: Changed Option to an interface 2014-11-19 00:24:55 -08:00
Matt Bell
277ba26120 commands: Gave global options exported names 2014-11-19 00:01:03 -08:00
Matt Bell
49dc13e5dd core/commands: Added plaintext marshaler for 'pin ls' 2014-11-18 23:20:38 -08:00
Matt Bell
db53de806c core/commands: Made 'refs' output u.Keys instead of strings 2014-11-18 23:20:20 -08:00
Matt Bell
477c246c6c core/commands: Fixed 'refs' option name collision 2014-11-18 23:09:53 -08:00
Matt Bell
edb8eeaecf core/commands: Created a general key list output type and plaintext marshaler 2014-11-18 23:08:56 -08:00
Matt Bell
961e4504f1 core/commands: Fixed pin flag name (conflicted with global -r/--recursive flag) 2014-11-18 23:03:41 -08:00
Matt Bell
afc7b6f48d core/commands: Added a 'pin ls' command 2014-11-18 23:02:33 -08:00
Matt Bell
90e5c7ffa8 pin: Added a Pinner#Set function to retrieve the set of pinned keys 2014-11-18 23:02:22 -08:00
Christian Couder
2e566a7de3 Add sharness tests to document existing mount bugs
This uses test_expect_failure to document some bugs
related to 'ipfs mount'.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-18 22:44:28 +01:00
Juan Batiz-Benet
91fe0d9534 Merge pull request #361 from jbenet/feat/transition-cmds
Transition Commands
2014-11-18 09:04:01 -08:00
Juan Batiz-Benet
d124a6719e skip for now 2014-11-18 08:50:08 -08:00
Juan Batiz-Benet
d1ab80224d test: hack around travis being slow
this is a hack around travis key-gen being really slow.
One option would be to add the --key-bits option to daemon
as well. Another option would be to find a better way to
wait for the output, rather than waiting n seconds.

cc @chriscool thoughts?
2014-11-18 08:33:47 -08:00