Commit Graph

130 Commits

Author SHA1 Message Date
Matt Bell
2028d37076 test/sharness: Added basic gateway tests 2015-01-28 16:46:00 -08:00
Jeromy
72a5902e12 address concerns from PR 2015-01-28 19:36:30 +00:00
Jeromy
f1267d0624 change ipns resolve/publish to store raw keys, not b58 encoded 2015-01-28 19:36:30 +00:00
Juan Batiz-Benet
cbe07776e3 test/sharness: make sure to output vars in quotes
cc @whyrusleeping: you werent doing so
cc @mappum: you were trying to escape them, but
   were un-escaping them in cases with longer quotes.
2015-01-28 01:04:06 -08:00
Juan Batiz-Benet
ed16840414 test/sharness: "echo -n" bug
In OSX, the `echo -n` was _somehow_ printing "-n" out... not
really sure why, as the bsd `echo` program supports -n. I changed
this to printf -- which is safer.
2015-01-28 00:53:41 -08:00
Juan Batiz-Benet
72f703642a test/sharness: style fix
Let's use `>file`, not `> file`, as it makes it easier to parse.
2015-01-28 00:49:50 -08:00
Juan Batiz-Benet
c283c0a690 test/sharness: allow testing of daemon without FUSE
This commit allows sharness tests to run daemon tests when the FUSE
option is off. Unsure why this was previously included.
2015-01-28 00:36:30 -08:00
Brian Tiger Chow
bbcc259eaf fix(sharness): Initializing daemon... output 2015-01-27 17:04:38 -08:00
Juan Batiz-Benet
1eb0bfe834 Merge pull request #668 from jbenet/hack
misc user-friendliness fixes
2015-01-26 19:00:09 -08:00
Juan Batiz-Benet
76d9d89aff user friendliness in logs + output 2015-01-26 17:01:00 -08:00
Matt Bell
45ed27e273 test/sharness: get: Quote variables 2015-01-26 17:00:40 -08:00
Matt Bell
23f810e187 test/sharness: Fixed get gzip archive test 2015-01-24 21:40:19 -08:00
Juan Batiz-Benet
e2db6418ae get: disable failing tests
@mappum these tests are failing (1 on osx and 1 on travis).
May be related to the versions of tar? not sure.
2015-01-24 10:22:43 -08:00
Juan Batiz-Benet
aac98914a5 Merge pull request #596 from chriscool/add_dependencies_test
Add "test/dependencies" dir and "godep restore" test
2015-01-24 09:42:39 -08:00
Matt Bell
76534bd279 test/sharness: Added tests for get 2015-01-24 07:19:39 -08:00
Matt Bell
4ee3d39253 cmd/ipfs: Added key size to 'ipfs init' output 2015-01-23 19:14:59 -08:00
Christian Couder
31d07f0f7b Add "test/dependencies" dir and "godep restore" test
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-23 21:27:45 +01:00
Juan Batiz-Benet
95d58b2a4a core: cleaned up bootstrap process 2015-01-23 05:25:31 -08:00
Jeromy
eb6afd3edc fix interface for coreunix.Cat, now takes a path 2015-01-23 06:39:20 +00:00
Brian Tiger Chow
df9e6ce640 refactor: rename IPFS_DIR -> IPFS_PATH
closes #394 https://github.com/jbenet/go-ipfs/issues/394
2015-01-21 17:09:39 -08:00
Juan Batiz-Benet
f6111d82fe Merge pull request #558 from jbenet/feat/gc
initial implementation of repo-gc command
2015-01-21 16:48:28 -08:00
Jeromy
1244fd251d update tests, and ensure 'default' blocks are pinned 2015-01-22 00:16:30 +00:00
Jeromy
8e7d984751 updates from PR, tests tests tests! 2015-01-21 08:55:50 +00:00
Brian Tiger Chow
2149f8f446 cleanup 2015-01-20 23:43:21 -08:00
Brian Tiger Chow
ac64c2c9e7 extra args to benchmark Makefile 2015-01-20 23:43:20 -08:00
Jeromy
4de881a185 move GC code into core/repo, and add sharness test 2015-01-21 04:28:02 +00:00
Jeromy
9adcfe7bc2 address concerns from PR 2015-01-21 04:28:02 +00:00
Jeromy
ccb36277dd fix pinning UX, and add tests to match 2015-01-21 04:28:01 +00:00
Jeromy
5b20e86ed4 sharness test for pinning changes 2015-01-21 04:28:01 +00:00
Brian Tiger Chow
a58515ffb2 add benchmark for ipfs add CLI 2015-01-20 17:01:09 -08:00
Brian Tiger Chow
6b8d3e3c69 use extracted unit package 2015-01-20 17:01:09 -08:00
Brian Tiger Chow
b0596cd4ff rename coreio to coreunix 2015-01-18 14:41:43 -08:00
Brian Tiger Chow
a025fc9adf refactor(core) switch style to type assertions
@jbenet cool with this?
2015-01-18 14:41:43 -08:00
Brian Tiger Chow
4b5ff960c9 feat(core): use repo.Repo in core constructor 2015-01-18 14:41:42 -08:00
Brian Tiger Chow
884143bf9c move generic packages to thirdparty (see thirdparty/README.md) 2015-01-18 14:04:45 -08:00
Brian Tiger Chow
631d2154f2 fix(fsrepo): use "please run ipfs init" message 2015-01-13 03:09:32 -08:00
Brian Tiger Chow
196bc04541 test(bootstrap, config): ensure user-provided keys are protected 2015-01-13 03:09:32 -08:00
Brian Tiger Chow
53f201cea9 fix(test/sharness/Makefile): remove ipfs binary when cleaning 2015-01-13 03:09:31 -08:00
Juan Batiz-Benet
ed41ac27fd daemon: refactor common parts of serve funcs 2015-01-12 01:01:21 -08:00
Brian Tiger Chow
223ee4df1a refactor(core): move Add, Cat to core/io 2015-01-11 01:23:27 -08:00
Brian Tiger Chow
707874c3a5 refactor(core): init node.Blocks in shared NewIPFSNode constructor 2015-01-11 01:23:26 -08:00
Brian Tiger Chow
34e8f3ee26 refactor(core): init DAG and its dependents in shared constructor
fix: remove merkledag import

may need to squash this commit into the merkledag move commit
2015-01-11 01:23:26 -08:00
Brian Tiger Chow
91808e18f7 refactor: use core.ConfigOption return type 2015-01-11 01:23:26 -08:00
Brian Tiger Chow
7cebb33e81 fix: remove dead code 2015-01-11 01:23:26 -08:00
Brian Tiger Chow
5c46597c53 use the core.NewIPFSNode constructor
NB: all commits (from master) pass tests up to this point.

fix: squashme into use core constructor
2015-01-11 01:23:26 -08:00
Brian Tiger Chow
401b8f413d misc: move initialization sqaush 2015-01-11 01:23:26 -08:00
Brian Tiger Chow
efb75ee5ba refactor: move add and cat to the core 2015-01-11 01:23:25 -08:00
Brian Tiger Chow
85401d53fd refactor: use the Core in the integration test 2015-01-11 01:23:25 -08:00
Brian Tiger Chow
007ffd40bd refactor: move LatencyConfig 2015-01-11 01:23:25 -08:00
Juan Batiz-Benet
136ef70f00 calc_test for picking link block size 2015-01-10 01:22:45 -08:00