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
Juan Batiz-Benet
05a0a944ce
makefile: fix target in sharness tests
2015-01-10 01:07:43 -08:00
Christian Couder
9e8fc3826a
install-sharness.sh: use git instead of wget and shasum
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-09 23:13:48 +01:00
Juan Batiz-Benet
2faafa8478
test/Makefile
2015-01-07 07:57:22 -08:00
Juan Batiz-Benet
28cf220de1
dockertest -> test/3nodetest
2015-01-07 07:57:22 -08:00
Juan Batiz-Benet
b479602b61
moved epictest -> test/epictest
2015-01-07 07:24:21 -08:00
Juan Batiz-Benet
cecfa45745
moved sharness tests to a subdir.
...
kept bin in place
2015-01-07 07:10:17 -08:00
Juan Batiz-Benet
07b923d7a4
ipfs block stat cmd
2015-01-07 00:55:27 -08:00
Juan Batiz-Benet
0395a7af1e
ipfs add output not sorted, cmds files sorted
...
I made the commands lib dir listing sort the contents
so we get the same sequence of files from it repeatably.
2015-01-06 14:02:49 -08:00
Christian Couder
3b65f1a507
Add sharness tests for recursive add
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-06 13:12:23 -08:00
Jeromy
e3cf893616
implement recursive indirect blocks
...
improve efficiency of multilayered indirect blocks
clean up tests
panic cleanup
clean up logic, improve readability
add final root node to the dagservice upon creation
importer: simplified dag generation
test: updated hashes using latest code
@whyrusleeping this is why the sharness tests
were failing: the hashes are added manually to
make sure our generation doesn't change.
cleanup after CR
fix merkledag tests
fix small block generation (no subblocks!)
2015-01-06 19:43:56 +00:00
Juan Batiz-Benet
0ba6bca130
sharness tests: added note re: daemon init
2015-01-05 08:08:56 -08:00
Juan Batiz-Benet
e785ad1d64
sharness: make sure not mounted
...
if a test is cancelled, unmount may not run. then, must
run umount before mounting, just to make sure.
2015-01-05 08:04:52 -08:00
Juan Batiz-Benet
b372b4879e
sharness: init: bootstrap rm -all
...
sharness tests should not bootstrap to the dht. it
may be useful to test that specifically, but not on
the other tests.
2015-01-05 08:00:16 -08:00
Brian Tiger Chow
a8127a28e1
fix: force clean test results directory
...
Without `-f`, `make clean` fails on machines that don't have the dir.
cc @jbenet
2015-01-05 00:16:53 -08:00
Juan Batiz-Benet
c47b808d77
sharness/init: fixed ipfs init output
2015-01-05 00:09:49 -08:00
Jeromy
b241c8048f
fix sharness test for ipfs init output
2015-01-05 00:02:56 -08:00
Juan Batiz-Benet
e407c2ef83
sharness: override test_cmp for verbose
2015-01-04 22:53:21 -08:00