Commit Graph

3368 Commits

Author SHA1 Message Date
Matt Bell
ccfb10dde0 cmd/ipfs: Added root command for CLI-specific subcommands (init, daemon, etc.) 2014-11-14 03:16:01 -08:00
Matt Bell
c89826c1ef cmd/ipfs: Added HTTP RPC client to entry point 2014-11-14 03:16:01 -08:00
Matt Bell
26495b799d cmd/ipfs: Deleted existing CLI commands (to be refactored for the commands API) 2014-11-14 03:16:01 -08:00
Matt Bell
3e062f6e1e cmd/ipfs: Rewrote entry point to invoke commands via new command API 2014-11-14 03:16:01 -08:00
Matt Bell
0d830e5a24 server/http: Set Content-Type header based on command output 2014-11-14 03:16:01 -08:00
Matt Bell
12b0ebff7d server/http: Use Response as Reader instead of manually getting output data 2014-11-14 03:16:01 -08:00
Matt Bell
7564742305 server/http: Fixed error when using long encoding option name 2014-11-14 03:16:01 -08:00
Matt Bell
3d0ca14b96 core/commands: Added more advanced test subcommand 2014-11-14 03:16:00 -08:00
Matt Bell
3ae6117c5b server/http: Don't cast res.Error() to an Error (fixes panix on response errors) 2014-11-14 03:16:00 -08:00
Matt Bell
73353824e9 server/http: Added HTTP API handler 2014-11-14 03:16:00 -08:00
Matt Bell
e64ffb9ab3 core/commands: Added root command (with test subcommands) 2014-11-14 03:16:00 -08:00
Brian Tiger Chow
eff47794aa add a copy of daemon to be edited when creating new commands 2014-11-14 03:16:00 -08:00
Brian Tiger Chow
a5a7490b77 move daemon temporarily 2014-11-14 03:16:00 -08:00
Brian Tiger Chow
d1fa4bd9b5 copy to old location 2014-11-14 03:16:00 -08:00
Brian Tiger Chow
bc6800035b move ipfs commands 2014-11-14 03:16:00 -08:00
Jeromy
d4c819e97d log -> logf 2014-11-12 10:39:11 -08:00
Juan Batiz-Benet
1bde67ddf1 bugfix: swarm resolveUnspecAddr idiocy 2014-11-09 19:45:28 -08:00
Juan Batiz-Benet
3c66970078 Merge pull request #291 from chriscool/patch-2
Update test/README.md about sharness directory
2014-11-09 10:20:35 -08:00
Christian Couder
5dd17014fa Update test/README.md about sharness directory
Now sharness is in "lib/sharness"
2014-11-09 19:16:02 +01:00
Juan Batiz-Benet
52d6c40294 Merge pull request #290 from chriscool/test_ipfs_block
Add test script for block command
2014-11-09 09:21:49 -08:00
Christian Couder
fc1a35e35a Add test script for block command
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-09 18:00:25 +01:00
Juan Batiz-Benet
265106143c Merge pull request #286 from jbenet/docs
Add more documentation to ipfs
2014-11-08 22:49:55 -08:00
Jeromy
be5d01b6a6 more doc comments 2014-11-08 22:44:37 -08:00
Jeromy
d98808fad9 comments on vars in dht 2014-11-08 21:57:11 -08:00
Brian Tiger Chow
34561b0da8 docs(exchange) 2014-11-08 21:42:37 -08:00
Jeromy
a565587fdc work on readme 2014-11-08 21:42:37 -08:00
Jeromy
c62acb2763 copy handshake readme into a doc.go for pretty godoc results 2014-11-08 21:42:37 -08:00
Jeromy
b0f4b7c89d some net docs 2014-11-08 21:42:36 -08:00
Jeromy
e93257eb71 update the readme 2014-11-08 21:42:36 -08:00
Jeromy
8c20921a95 some more docs 2014-11-08 21:42:36 -08:00
Jeromy
4f083d54d6 write a few package doc strings to improve look of godoc 2014-11-08 21:42:36 -08:00
Juan Batiz-Benet
7ba3cadb6d Merge pull request #289 from jbenet/update-random-sharness-tests
Update random for test/
2014-11-08 20:21:54 -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
4bf3e967d8 test/t0040-add-and-cat updated hashes (new random) 2014-11-08 20:12:02 -08:00
Juan Batiz-Benet
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
Juan Batiz-Benet
5680c112ef test: install random from vendored code 2014-11-08 18:49:28 -08:00
Juan Batiz-Benet
49f30b1597 added random to godeps 2014-11-08 18:49:01 -08:00
Juan Batiz-Benet
7ee0c6dcea Merge pull request #285 from jbenet/bugfix/284
prevent NAT check if given nil multiaddr
2014-11-08 18:33:04 -08:00
Jeromy
36a4ee7087 prevent NAT check if given nil multiaddr 2014-11-08 12:24:17 -08:00
Juan Batiz-Benet
e489a8872b Merge pull request #278 from chriscool/install-sharness
Install sharness
2014-11-07 18:05:27 -08:00
Christian Couder
e211b6543a Add a README.md to explain a few things 2014-11-08 02:44:03 +01:00
Christian Couder
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
Juan Batiz-Benet
39c1930ed4 Merge pull request #274 from jbenet/install-sharness
Install sharness + add to tests to coverage
2014-11-07 17:31:19 -08:00
Juan Batiz-Benet
04efbb9a55 test: install random locally for travis. 2014-11-07 17:24:13 -08:00
Juan Batiz-Benet
c9ffe1a281 tests: use ipfs but with the right tool
Addresses comments in: 7e14f1737d
2014-11-07 16:24:44 -08:00
Juan Batiz-Benet
7ab38696f6 travis: fix install random error 2014-11-07 15:24:31 -08:00
Juan Batiz-Benet
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
Juan Batiz-Benet
53c2cacdd0 travis: use make test 2014-11-07 14:56:09 -08:00
Juan Batiz-Benet
37279d55ca install go-random 2014-11-07 14:54:58 -08:00
Juan Batiz-Benet
efe4e05665 added install + tests to toplevel 2014-11-07 14:54:58 -08:00