Jeromy Johnson
765fb0f612
Merge pull request #3523 from ipfs/feat/ipv6-bootstrap
...
bootstrap: add a few /ip6 nodes
2017-02-16 17:00:37 -08:00
Jeromy Johnson
e5def26b92
Merge pull request #3687 from ipfs/feat/sub-obj-dag-get
...
Feat/sub obj dag get
2017-02-16 15:51:34 -08:00
Kevin Atkinson
6867c87bcf
Add back removed test.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-02-15 17:35:29 -05:00
Kevin Atkinson
4b566ede96
Add tests for recursively pinning a dag (i.e. large file).
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-02-15 16:51:40 -05:00
Jeromy
cb611c8873
allow for sub-object resolution in dag get
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-13 19:15:17 -08:00
Jeromy
b4eeff2d84
update go-multihash and bubble up deps
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-12 12:25:41 -08:00
Jakub Sztandera
dd63187826
make: make default rule 'aggregate' in sharness
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
a2e3aa5d78
make: fix standalone sharness run
...
The comparison was wrong
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
f77d01a965
make: add dummy makefile in sharness directory
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
f630222580
make: rework makefiles for non-recursive make and add sharness coverage
...
This commit introduces non-recursive Makefile infrastructure that replaces current Makefile infrastructure.
It also generally cleanups the Makefiles, separates them into nicer sub-modules and centralizes common operations into single definitions.
It allows to depend on any target that is defined in the makefile, this means that for example `gx install` is called once when `make build test_expensive_sharness` is called instead of 4 or 5 times.
It also makes the dependencies much cleaner and allows for reuse of modules. For example sharness coverage collection (WIP) uses sharness target with amended PATH, previously it might have been possible but not without wiring in the coverage collection into sharness make runner code.
Yes, it is more complex but not much more. There are few rules that have to be followed and few complexities added but IMHO it is worth it.
How to NR-make:
1. If make is to generate some file via a target, it MUST be defined in Rules.mk file in the directory of the target.
2. `Rules.mk` file MUST have `include mk/header.mk` statement as the first line and `include mk/footer.mk` statement as the last line (apart from project root `Rules.mk`).
3. It then MUST be included by the closest `Rules.mk` file up the directory tree.
4. Inside a `Rules.mk` special variable accessed as `$(d)` is defined. Its value is current directory, use it so if the `Rules.mk` file is moved in the tree it still works without a problem. Caution: this variable is not available in the recipe part and MUST NOT be used. Use name of the target or prerequisite to extract it if you need it.
5. Make has only one global scope, this means that name conflicts are a thing. Names SHOULD follow `VAR_NAME_$(d)` convention. There are exceptions from this rule in form of well defined global variables. Examples: General lists `TGT_BIN`, `CLEAN`; General targets: `TEST`, `COVERAGE`; General variables: `GOFLAGS`, `DEPS_GO`.
3. Any rules, definitions or variables that fit some family SHOULD be defined in `mk/$family.mk` file and included from project root `Rules.mk`
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jeromy
c5f0f7f77c
fix printing out of binary escaped data for test
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-09 10:31:18 -08:00
Jeromy
85a06abacc
Fix marshaling of null cbor arrays
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
Fix non-canonical imports via dag put
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-08 16:24:31 -08:00
Jeromy
c00c142bf9
dag/get: fix link formatting in json output
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-06 10:36:57 -08:00
Jeromy Johnson
4add5b8a9a
Merge pull request #3631 from ipfs/lgierth-patch-1
...
migrations: update dist.ipfs.io path
2017-01-27 14:59:13 -08:00
Jeromy
7fc9c30168
close file before removing it in check writeable
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-01-26 22:43:54 -08:00
Jeromy
f28ba8559b
remove error for not having an upgrade
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-01-26 09:12:34 -08:00
Jeromy
8c3f78055e
add test check for pinning cbor objects
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-21 10:47:19 -08:00
Jeromy
29c530ac0e
update to the correct ipld cbor code
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-21 10:47:19 -08:00
Jeromy
e5bc81ad94
don't select README or SHARDING file for random corruption in t0086
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-01-21 10:19:50 -08:00
Jeromy
1366795f31
Change repo version to 5, use new flatfs sharding
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-19 14:59:12 -08:00
Jeromy Johnson
75cce80b5c
Merge pull request #3571 from ipfs/feat/better-enum-async
...
rewrite enumerate children async to be less fragile
2017-01-17 10:14:49 -08:00
Jeromy
397a35a33a
update test to print error from EnumerateChildren
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-12 13:51:53 -08:00
Jeromy Johnson
3faf8974ec
Merge pull request #3581 from ipfs/kevina/keystore
...
"ipfs key list": include the hash of the key id in addition to the name
2017-01-11 08:44:53 -08:00
Jeromy
a3b38e8be8
Add a test for the keystore
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-11 04:23:58 -08:00
Jeromy Johnson
8f165f305d
Merge pull request #3582 from ipfs/deps/negotiate-lazy-fix
...
update go-libp2p with negotiate lazy fixes
2017-01-11 03:32:20 -08:00
Jakub Sztandera
e8be741c7f
test: add simple multinode test for multiplex feature
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-01-10 14:52:04 -08:00
Jeromy
30aacd1b0a
update go-libp2p with negotiate lazy fixes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-10 14:52:00 -08:00
Jakub Sztandera
df67f3d1bd
test: add test for invalid routing option
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-01-10 19:07:58 +01:00
Jeromy
7c0149d048
set the agent version based on version string
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-06 06:37:47 -08:00
Jeromy Johnson
87f8bfd31b
Merge pull request #3539 from ipfs/feat/update-identify
...
update libp2p for identify configuration updates
2017-01-05 08:19:59 -08:00
Jeromy Johnson
d83a911254
Merge pull request #3562 from ipfs/kevina/minor-cr-0.4.5
...
Clean up minor issues in 0.4.5 cr.
2017-01-05 07:18:12 -08:00
Kevin Atkinson
78ff01757f
Fix typo and formatting issues.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-01-04 17:26:08 -05:00
Kevin Atkinson
980e341489
Add tests for "ls --resolve-type=false".
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-01-04 15:08:01 -05:00
Kevin Atkinson
6cc0903d25
Fix "ipfs ls" so it works correctly with raw leaves.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-01-03 21:20:04 -05:00
Kevin Atkinson
3526c26f31
Add test for adding directory with --raw-leaves option.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-01-02 21:19:03 -05:00
Jeromy
d8f257c264
update libp2p for identify configuration updates
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-27 02:13:59 -08:00
Jeromy Johnson
99d72c2781
Merge pull request #3515 from ipfs/fix/sharness/osx
...
Fixes nc on macOS not closing socket when the stdin sends EOF
2016-12-21 11:21:08 -08:00
Jakub Sztandera
abb4d1760b
sharness: don't run go-ipfs instance with default config
...
It conflicts with already running instance on the Dev's machine so
running this test requires disabling the normal ipfs.
The launch of ipfs here doesn't test much as we compare the config,
after initing from it and we also launch from default config in many
other cases (with few variables changed to not conflict with already
running standalone ipfs instance).
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-21 10:29:38 +01:00
Lars Gierth
9f71de8fcc
bootstrap: add a few /ip6 nodes
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-12-18 05:52:56 +01:00
Jeromy
8e23482c7e
Add a test for dag get with a path
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-17 13:36:56 -08:00
Jakub Sztandera
20665fc5e3
Fixes nc on macOS not closing socket when the stdin sends EOF
...
Uses `-d` option that is supported both by BSD and GNU nc.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-16 21:10:53 +01:00
Jeromy
4373bf9d75
merkledag: fix json marshalling of pbnode
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-14 13:11:49 -08:00
Jeromy Johnson
e893fb90b7
Merge pull request #3484 from ipfs/fix/pubsub-peers-cmd
...
cmd/pubsub: fix peers command topic filtering
2016-12-09 12:08:45 -08:00
Jeromy
f104b8ae57
cmd/pubsub: fix peers command topic filtering
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-08 21:26:09 -08:00
Jeromy
cf6e3219b6
cmd/block: add selection of multihash parameters to block put command
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-07 16:36:00 -08:00
Jeromy Johnson
0c413de87f
Merge pull request #3432 from keks/feat/pubsub-sharness
...
add sharness test for pubsub
2016-12-04 21:29:45 -08:00
Jan Winkelmann
993e7816f8
pubsub sharness tests after chriscool feedback
...
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-12-04 03:22:51 +01:00
Jan Winkelmann
1b3158f860
add sharness test for pubsub
...
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-12-04 03:22:49 +01:00
Jeromy
53d47669da
bubble up go-datastore deps
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 22:29:38 -08:00
Jeromy Johnson
0fcb92f3a1
Merge pull request #3403 from ipfs/feat/dg-reader-cleanup
...
Fix panic in dagreader with raw nodes
2016-11-22 11:30:08 -08:00
Jakub Sztandera
1e170e8d6d
Update go-libp2p across codebase
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-22 01:22:50 +01:00
Jakub Sztandera
8c260f5193
Add sharness test for raw node fetch
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 18:15:40 +01:00
Jeromy
396c629301
update to newer ipld node interface with Copy and better Tree
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-15 18:00:49 -08:00
Jeromy
7fbaae49be
update to go-libp2p 4.1.0
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-10 17:38:10 -08:00
Jeromy
25d9f8afd1
update to libp2p 4.0.4
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-05 21:44:36 -07:00
Jeromy
ec21220907
update go-libp2p
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-03 20:06:32 -07:00
Lars Gierth
dae854eaf3
assets: rebuild them
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-03 00:38:32 +01:00
Jeromy Johnson
437cc7fa78
Merge pull request #2911 from ipfs/feature/ifps-capitalize
...
docs: decapitalize IPFS where possible
2016-11-02 13:20:51 -07:00
Jeromy
afce683eae
update go-libp2p-swarm with deadlock fixes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-30 19:16:28 -07:00
Jeromy Johnson
634005a1ab
Merge pull request #3324 from ipfs/feat/block-cid-codec
...
allow cid format selection in block put command
2016-10-29 21:59:19 -07:00
Jeromy
f68e1843f4
allow cid format selection in block put command
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-28 19:03:14 -07:00
Richard Littauer
9843e86258
Changed so only explicit ipfs cli commands are lowercased
...
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:55:13 -07:00
Richard Littauer
9aaa743a51
docs: decapitalize IPFS where possible
...
Tried to check all instances of IPFS and make sure they werent referring to the CLI tool. See #2910 .
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:54:36 -07:00
Jeromy
f7d3f61673
clean up some code, update cbor package, and add tests
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-27 15:49:41 -07:00
Jeromy
eac13abaec
update to new cid and ipld node packages
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 09:54:04 -07:00
Jeromy Johnson
6f3ae5da29
Merge pull request #3307 from ipfs/feat/raw-nodes
...
Implement 'Raw Node' node type
2016-10-24 11:59:27 -07:00
Jeromy
9796a03624
update HashOnRead validation to properly support cids
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-18 16:03:26 -07:00
Jeromy
8ce9963289
fix add/cat of small files
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-18 15:26:44 -07:00
Jeromy
3796e7020e
raw dag: make raw nodes work in cat and get, add tests
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-18 11:07:32 -07:00
Jakub Sztandera
e254f0d8b5
test: check if metrics work in sharness
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-10-18 12:28:50 +02:00
Jeromy
8a33801607
add test to be run to detect future regressions in pinsets
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-12 09:29:09 -07:00
Jeromy
f4d7369c4a
bitswap: protocol extension to handle cids
...
This change adds the /ipfs/bitswap/1.1.0 protocol. The new protocol
adds a 'payload' field to the protobuf message and deprecates the
existing 'blocks' field. The 'payload' field is an array of pairs of cid
prefixes and block data. The cid prefixes are used to ensure the correct
codecs and hash functions are used to handle the block on the receiving
end.
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-10 08:19:31 -07:00
Jeromy
282bdc4816
cid: integrate cid into bitswap and blockstores
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-08 12:14:58 -07:00
Jeromy
1f9ec4e3ed
update to libp2p 4.0.1 and propogate other changes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
Jeromy Johnson
5c212d39a2
Merge pull request #3073 from ipfs/feat/test-config-replace
...
Add test for 'ipfs config replace'
2016-10-03 17:29:52 -07:00
Jeromy
2871decd48
clean up test, run checks on all nodes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:10:20 -07:00
Jeromy
56a8c43aaf
add experimental dht client mode flag
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:10:20 -07:00
Jakub Sztandera
80a776286c
more fixes for standard sed
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-28 16:22:32 +02:00
Jakub Sztandera
5b4a6eac10
more bsd sed fixes
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-28 14:55:09 +02:00
Jakub Sztandera
daf212a65e
try to fix travis on BSDs again
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-28 13:57:25 +02:00
Jeromy
0832a640fa
remove utp tests for now
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-26 00:52:19 -07:00
Jeromy
e43c770530
update libp2p and dht packages
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-25 23:42:14 -07:00
Jeromy Johnson
300187ac52
Merge pull request #3242 from ipfs/test/repro-random-fail
...
trying to debug random test failures
2016-09-20 23:48:55 -07:00
Jeromy
5457a85cef
Merge branch 'version/0.4.3-rc4'
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-20 19:10:10 -07:00
Jeromy
fb05a5fbb8
trying to debug random test failures
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-19 19:37:03 -07:00
Jeromy Johnson
0aa136a98e
Merge pull request #3206 from ipfs/feat/writable-flag
...
gateway: fix --writable flag :|
2016-09-14 13:50:32 -04:00
Jeromy
1de17e2233
Update libp2p to 3.5.2
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 14:26:55 -07:00
Jeromy
1bb6a842c5
Update libp2p to have fixed spdystream dep
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 07:47:04 -07:00
Jakub Sztandera
92d1d65fc2
test: fix sed usage on OSX
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:30:32 +02:00
Lars Gierth
fc8e6de6a9
gateway: fix --writable flag :|
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-09-11 21:09:09 +02:00
George Antoniadis
89d8ca5798
Extract peerset, update peer, peerset, secio, libp2p
...
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:22:17 +01:00
George Antoniadis
6859b8ccd8
Extract key and datastore
...
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-09 15:52:25 +01:00
Jakub Sztandera
25a035f92c
test: attempt to fix sed on travis
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-08 13:18:29 +02:00
Jakub Sztandera
a680b1bd7b
test: split 'ipfs config replace' test into parts
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-08 11:13:28 +02:00
Jakub Sztandera
2a2e3eb185
sharness: remove mixed indentation
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-08 11:07:54 +02:00
Jakub Sztandera
077948ab38
sharness: add test for 'ipfs config replace'
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-08 11:07:54 +02:00
Jeromy
c8fe495934
integrate CIDv0
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-07 13:32:32 -07:00
Jeromy Johnson
8803a7628f
Merge pull request #3141 from ipfs/feat/cmd/config-priv
...
cmd: harden the security of privkey field in config show
2016-09-04 08:27:01 -07:00
Jeromy Johnson
d6092eb536
Merge pull request #3182 from ipfs/fix/bitswap/want-cancel
...
Remove entries from wantlists when their related requests are cancelled
2016-09-04 07:05:28 -07:00
Jakub Sztandera
671425ea33
cmd: harden config show with key
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-04 06:50:10 -07:00
Jeromy
1548c8aabb
bitswap: clear wantlists when GetBlocks calls are cancelled
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-04 06:44:21 -07:00
Jeromy Johnson
1f387af2b0
Merge pull request #3149 from ipfs/test/fdlimit-raising
...
fdlimit: improve fdlimit autoraising tests
2016-09-03 09:27:52 -07:00
Jeromy Johnson
309535c057
Merge pull request #3151 from ipfs/kevina/more3138tests
...
Enhance tests for files API root best-effort pin.
2016-09-03 09:27:34 -07:00
Jeromy
af914c5193
add better test to be more sure that file descriptor limits were actually raised
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-02 07:15:08 -07:00
Jeromy
6c340563d4
fdlimit: improve fdlimit autoraising tests
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-02 07:14:48 -07:00
Jeromy
aafe084b92
sharness: fix typo in hash in t0050
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-01 15:42:05 -07:00
Jakub Sztandera
f59751d1a2
test: remove time-out script, use go-timeout instead
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-01 15:59:12 +02:00
Jakub Sztandera
f012b5aed5
test: add go-timeotu to test build system
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-01 15:59:11 +02:00
Jakub Sztandera
7639a2f0a7
test: introduce go-timeout
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-01 15:59:11 +02:00
Jeromy Johnson
ade598eead
Merge pull request #3135 from ipfs/kevina/2839directfix
...
Directly Fix #2839
2016-08-31 19:34:21 -07:00
Kevin Atkinson
6e4f3acb4a
Enhance tests for files API root best-effort pin.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-31 18:16:36 -04:00
Jeromy Johnson
40159e50a0
Merge pull request #3158 from ipfs/feat/migrations-help
...
fsrepo: improve migrations copy
2016-08-30 22:34:33 -07:00
Jeromy Johnson
4286cd3695
Merge pull request #3144 from ipfs/test/add/revert
...
test: revert few stdin tests that were removed
2016-08-30 22:03:54 -07:00
Jeromy Johnson
ea343fbfa1
Merge pull request #3142 from ipfs/test/CORS/defaults
...
test: do explicit check of CORS headers
2016-08-30 21:46:59 -07:00
Jeromy
b4718a246c
fix tests for changed migrations text
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-30 21:37:45 -07:00
Jeromy
7baac76a3b
repo/verify: add better testing on repo verify command
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-29 22:55:06 -07:00
Jakub Sztandera
384fb1095c
test: revert few stdin tests that were removed
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-29 22:11:11 +02:00
Kevin Atkinson
802d3f9570
Add back still useful test from fe7b01f1 (Resolve symlink if ...)
...
Add back still useful test from reverted commit:
fe7b01f14e
Resolve symlink if it is directly referenced in cli (#2897 )
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-29 16:10:46 -04:00
Jakub Sztandera
3754803a67
test: do explicit check of CORS headers
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-29 21:43:58 +02:00
Kevin Atkinson
10a692f9a2
Fix "ipfs add -r ." to always add the contents of the current directory.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-27 16:48:03 -04:00
Kevin Atkinson
88e4b110ba
Revert "Resolve symlink if it is directly referenced in cli ( #2897 )"
...
This reverts commit fe7b01f14e .
Conflicts:
commands/cli/parse.go
Revert "Merge pull request #3023 from ipfs/feature/eval-symlink-windows"
This reverts commit 16c5a89dd4 , reversing
changes made to 8c77ff8188 .
Conflicts:
commands/cli/parse.go
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-27 14:36:28 -04:00
Jeromy Johnson
53b927e3eb
Merge pull request #3130 from ipfs/test/repo/version-digits
...
test: accept more than one digit in repo version tests
2016-08-26 14:17:50 -07:00
Jakub Sztandera
8181e9934a
test: accept more than one digit in repo version tests
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-26 18:23:40 +02:00
Jeromy
05b197df2d
update deps for libp2p 3.4.0
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-25 19:02:55 -07:00
Jeromy Johnson
10048ceca9
Merge pull request #2962 from ipfs/kevina/block-rm
...
Add "ipfs block rm" command.
2016-08-18 13:27:26 -07:00
Kevin Atkinson
8679af7a02
"block rm": add "--force" and "--quiet" option
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-17 01:29:40 -04:00
Kevin Atkinson
92f6747a95
"block rm": test case for removing pinned, valid, and non-existent blocks
...
Add test that removes a combination of pinned, valid, and non-existent
blocks in one command.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-16 20:52:00 -04:00
Jeromy Johnson
f2dcad8531
Merge pull request #2999 from ipfs/feature/makefile-cleanup
...
Cleanup makefiles
2016-08-16 10:15:08 -07:00
Kevin Atkinson
c88b4b0941
"block rm": remove the option to ignore pins
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
Kevin Atkinson
efeb789878
Check for multiple pinned blocks in a single pass.
...
Provide a new method, Pinner.CheckIfPinned(), which will check if
any of the arguments are pinned. Previously IsPinned would need to be
called once for each block. The new method will speed up the checking
of multiple pinned blocks from O(p*n) to O(p) (where p is the number
of pinned blocks and n is the number of blocks to be check)
Use the new method in "block rm".
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
Kevin Atkinson
6ad497bcf0
"block rm": use channel instead of pipe / don't abort on non-fatal error
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
Kevin Atkinson
453be22dfb
Add "ipfs block rm" command.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
Christian Couder
2489dfe8a9
ipfs-test-lib: fix test_fsh arg quoting
...
test_fsh() should quote its arguments before passing them
to `eval` otherwise there are problems when the arguments
contain spaces.
For example when running the following program:
```
#!/bin/sh
. ./ipfs-test-lib.sh
die () {
printf >&2 "%s\n" "$@"
exit 1
}
DIR1="test dir 1"
DIR2="test dir 2"
mkdir "$DIR1" "$DIR2" || die "Could not mkdir '$DIR1' '$DIR2'"
echo "in dir 1" >"$DIR1/file1" || die "Could not write into '$DIR1/file1'"
echo "in dir 2" >"$DIR2/file2" || die "Could not write into '$DIR2/file2'"
if test_cmp "$DIR1/file1" "$DIR2/file2"
then
echo "test_cmp succeeded!"
else
echo "test_cmp failed!"
fi
rm -rf "$DIR1" "$DIR2" || die "Could not rm -rf '$DIR1' '$DIR2'"
```
we get:
```
> diff -u test dir 1/file1 test dir 2/file2
diff: extra operand '1/file1'
diff: Try 'diff --help' for more information.
test_cmp failed!
```
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-08-15 12:10:15 +02:00
Jeromy
8a75a8cf08
commands: fix panic when stdin is empty for string args
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-07 09:24:17 -07:00
Jakub Sztandera
cc60f6909b
make: cleanup -rm calls
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jakub Sztandera
c1014aea88
make: 'make clean' clears sharness too
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jakub Sztandera
f3dc11c566
use $(MAKE) instead of 'make' in Makefiles
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jakub Sztandera
63072758a9
make: use 'make -C' instead of 'cd && make'
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-04 16:38:00 +02:00
Jeromy Johnson
1eb94e64e3
Merge pull request #2990 from csasarak/janky_version
...
Alias 'ipfs --version' to 'ipfs version'
2016-08-04 06:58:15 -07:00
Jeromy Johnson
5a831ff16d
Merge pull request #3033 from ipfs/fix/stdin-read-msg
...
commands/cli: fix reading from stdin message
2016-08-03 11:19:34 -07:00
Jeromy
068c6d2211
commands/cli: fix reading from stdin message
...
Only print "Reading from /dev/stdin" message when we actually read from
stdin (and not in other cases such as ipfs add --help).
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-03 09:04:41 -07:00
Jakub Sztandera
a42302443b
cli: reword message about mount and offline
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-03 08:04:07 -07:00
Jakub Sztandera
8273b0f493
sharness: fix improper use of test_expect_failure
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-03 05:24:20 -07:00
Jakub Sztandera
2cae0bc616
daemon: ipfs daemon --offline --mount should fail with nice message
...
ipfs daemon --offline;
ipfs mount;
fails. This uniforms this behaviour.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-03 05:24:20 -07:00
Jeromy
1b50fcefed
default add progress to false, unless using CLI
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-01 10:03:43 -07:00
Jakub Sztandera
66686e66be
commands: fix refs 'edges' option work
...
also change it to use format instead of separate variable
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-28 20:25:32 +01:00
Jeromy Johnson
0bd8ced0d6
Merge pull request #2993 from ipfs/fix/provstore-batching
...
use batching datastore for providers storage
2016-07-28 03:27:21 -07:00
Chris Sasarak
5e9cbd740d
Added tests for ipfs --version.
...
1. Test that ipfs --version has a 0 exit status
2. Check the ipfs --version output matches ipfs version
License: MIT
Signed-off-by: Chris Sasarak <chris.sasarak@gmail.com>
2016-07-26 19:41:20 -04:00
Jeromy
e8addf5ee3
use batching datastore for providers storage
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-26 10:48:25 -07:00
Jeromy
ed551131f2
commands: fix panic when expected files field is nil
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-25 09:12:58 -07:00
Jeromy Johnson
83d9c1c106
Merge pull request #2939 from ipfs/feat/auto-migrate
...
Automatically download and run migrations if needed
2016-07-22 05:47:21 -07:00
Jeromy
fcc4f0001d
move prompt code into daemon.go
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-20 13:29:33 -07:00
Jeromy
660a4a9d98
mfs: fix copying into directory with no given filename
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-19 07:41:00 -07:00
Jeromy
37673c85c7
add a test for auto migrations cli interface
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-19 06:50:00 -07:00
Jeromy Johnson
676b5ee7c8
Merge pull request #2952 from ipfs/fix/stdin-handling
...
rework stdin handling
2016-07-16 04:17:38 -07:00
Jeromy
72705564e7
another type check fix and add back a missing test
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-15 10:49:57 -07:00
Jakub Sztandera
6b97588266
cmd: include case where PrivKey is stored in lower case
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:46:33 +01:00
Jakub Sztandera
f7e659006b
test/sharness: make sure the string isn't empty
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:45:51 +01:00
Jakub Sztandera
2fded41ff5
core/commands: do not show PrivKey in config if it is null
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:45:51 +01:00
Jakub Sztandera
2b682f95d0
core/commands/config: error out if config replace contains privkey
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:45:51 +01:00
Jakub Sztandera
ea9327dd3c
test/sharness: add more tests against exposing PrivKey on network
...
and replacing config.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:45:51 +01:00
Jakub Sztandera
011a546b9c
core/cmds/config: do not show privkey on the network
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:45:51 +01:00
Jeromy
b034a0d8e8
and special case that one thing because why not
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-09 11:33:02 -07:00
Jeromy
5d301cb8ec
re-enable the stdin
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-08 16:39:15 -07:00
Lars Gierth
421add3d18
daemon: reintroduce --unrestricted-api
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-09 00:07:36 +02:00
Jeromy
1aeda7eb6e
ignore those last bits, this time its for real
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-08 14:35:18 -07:00
Lars Gierth
816ab825b1
test: actually use downloaded gx binary, clean up obsolete variable
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-08 21:36:38 +02:00
Jeromy
96433cc6e1
starting to rework stdin handling
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-07 16:58:43 -07:00
Jeromy
a98dff6275
make repo verify work with running daemon
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-06 22:12:31 -07:00
Lars Gierth
39bef0d5b0
gateway: on api, restrict to webui
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-07 01:44:52 +02:00
Jeromy Johnson
2df8dc5a88
Merge pull request #2924 from ipfs/feat/repo-verify
...
add repo verify command
2016-07-06 11:39:13 -07:00
Jeromy
d13befe9ef
add a test for repo verify, and make it return non-zero code on failure
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 14:58:48 -07:00
Jeromy
8c2496c9d9
add a test for swarm connect not triggering a backoff
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 14:44:19 -07:00
Jeromy
979edf3a96
update go-libp2p
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-04 12:27:26 -07:00
Lars Gierth
afda38f201
test: really no need for relative path to gx deps
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-03 01:45:06 +02:00
Lars Gierth
5bda53e55b
docker: take version suffixes like -dev into account
...
The double and single quotes got too damn complicated, so heredoc we go!
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-03 01:45:02 +02:00
Jeromy
0aafa6db8c
update go-datastore changes 0.1.2
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-01 22:40:57 -07:00
Jakub Sztandera
e446b3d394
test: Run t0080-repo test offline
...
Resolves #2906
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 20:29:48 -07:00
Jeromy
0782c4dc03
encode keys to datastore with base32 standard encoding
...
Fixes #2601
Also bump version to 0.4.3-dev
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-01 14:15:06 -07:00
Jakub Sztandera
fe7b01f14e
Resolve symlink if it is directly referenced in cli ( #2897 )
...
* Resolve symlink if it is directly referenced in cli
test: Directly referenced symlink should be resolved
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* sharness: add test for symlink in the middle
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 12:06:50 -07:00
Jakub Sztandera
206529730a
Add Synopsis autogenerator
...
Generates synopsis automagically
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
Jakub Sztandera
9cbec47a23
sharness: Tests for #2868 - --help hanging on stdin
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 15:43:03 +02:00
Jeromy Johnson
3b2993dd9a
Merge pull request #2902 from thomas-gardner/commands
...
commands: remove EnableStdin support for StringArg [v2]
2016-06-27 23:00:16 -07:00
Jakub Sztandera
dead777272
Add sharness test for read blockstore rehashing
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-27 11:28:44 +02:00
Thomas Gardner
ddc8d0c60c
commands: remove EnableStdin support for StringArg
...
With verbose flag:
* remove EnableStdin() flags on all StringArg,
* remove all unneeded parsing code for StringArg, and print an
* informative message if `ipfs` begins reading from a CharDevice,
* remove broken go tests for EnableStdin cli parsing, and add some
* trivial test cases for reading FileArg from stdin,
* add a panic to prevent EnableStdin from being set on
* StringArg in the future.
Resolves : #2877 , #2870
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-06-26 12:28:55 +10:00
Jakub Sztandera
ce8c8a7a71
Update go-log in whole dependency tree ( #2898 )
...
* Update golog in go-ipfs
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Update go-libp2p for go-log
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Update go-libp2p-secio for go-log
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Update go-libp2p-crypto for go-log
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Update go-libp2p-peer for go-log
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Import peersore, it wasn't imported
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Update peerstore
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Update peer
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Update secio
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
* Update go-libp2p
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 09:38:07 -07:00
Jeromy
3d5e015876
add a test for auto-raising ulimit
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-22 11:17:16 -07:00
Jeromy Johnson
472deb0e96
Merge pull request #2872 from ipfs-filestore/best-effort-pins
...
Add Files API root as best-effort pin
2016-06-21 20:42:19 -07:00
Jeromy Johnson
7d18f74879
Merge pull request #2880 from yuvallanger/swarm-filters-save-config
...
Swarm filters save config (fix #2878 )
2016-06-21 10:42:19 -07:00
Yuval Langer
d608f32916
Add ipfs config Swarm.AddrFilters test
...
License: MIT
Signed-off-by: Yuval Langer <yuval.langer@gmail.com>
2016-06-21 09:03:40 +03:00
Kevin Atkinson
466d70993f
Enhance tests and fix tests copyright for files API root best-effort pin.
...
License: MIT
Signed-off-by: <k@kevina.org>
2016-06-20 21:19:08 -04:00
Kevin Atkinson
714f2debea
Add Files API root as best-effort pin.
...
Closes #2697 . Closes #2698 .
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-06-20 17:09:56 -04:00
Jeromy Johnson
c6443fd933
Merge pull request #2874 from ipfs/extract-gateway
...
gateway: clean up its surface, and remove BlockList
2016-06-20 12:34:29 -07:00
Lars Gierth
1afebc21f3
gateway: clean up its surface, and remove BlockList
...
This patch is in preparation for the gateway's extraction.
It's interesting to trace technical debt back to its
origin, understanding the circumstances in which it
was introduced and built up, and then cutting it back
at exactly the right places.
- Clean up the gateway's surface
The option builder GatewayOption() now takes only
arguments which are relevant for HTTP handler muxing,
i.e. the paths where the gateway should be mounted.
All other configuration happens through the
GatewayConfig object.
- Remove BlockList
I know why this was introduced in the first place,
but it never ended up fulfilling that purpose.
Somehow it was only ever used by the API server,
not the gateway, which really doesn't make sense.
It was also never wired up with CLI nor fs-repo.
Eventually @krl started punching holes into it
to make the Web UI accessible.
- Remove --unrestricted-api
This was holes being punched into BlockList too,
for accessing /ipfs and /ipn on the API server.
With BlockList removed and /ipfs and /ipns freely
accessible, putting this option out of action
is safe. With the next major release,
the option can be removed for good.
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-19 00:52:35 +02:00
Jakub Sztandera
c10ed855a5
Add test for online field in diag sys
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-18 19:15:04 +02:00
Jeromy
de56a47bc0
update go-libp2p to 3.3.4
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-15 13:04:49 -07:00
Jeromy Johnson
e5e2f2c19c
Merge pull request #2822 from ipfs/feature/stdin-stable
...
Change logic of stdin input to be last and only if required
2016-06-15 11:32:42 -07:00
Jeromy Johnson
16245dbd99
Merge pull request #2778 from ipfs/feature/CORS-on-gateway-by-default
...
Add CORS headers to Read Only Gateway Default config
2016-06-15 09:59:30 -07:00
Jakub Sztandera
628e458e7d
Add regression sharness test for ipfs init
...
This tests expects ipfs init with no arguments to work
even with occuipied stdin.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
Jakub Sztandera
6822c0c670
Revert "Revert "Implements repository initialization with default config""
...
This reverts commit 77ef3913d9 .
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
Jakub Sztandera
4190076c66
Add the time-out script
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-13 13:09:52 +02:00
Jakub Sztandera
cafd81c8c6
Import go-datastore to gx
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:47:15 +02:00
Jakub Sztandera
6217e1f141
Remove go-datastore from Godeps
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-12 08:23:43 +02:00
Jeromy Johnson
c9ddc7d1d5
Merge pull request #2798 from ipfs/feat/smarter-bitswap
...
Make bitswap better
2016-06-11 16:52:45 -07:00
Jeromy
4c1201badb
update iptb and multinode tests
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 15:54:28 -07:00
Jeromy
7c8e641436
pull in libp2p updates with utp fixes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-11 10:33:44 -07:00
Jeromy Johnson
444a8dc2f6
Merge pull request #2812 from ipfs/feature/refs-local-api
...
Fix refs local marshalling
2016-06-10 11:35:06 -07:00
Jakub Sztandera
eaccd07505
Update go-log
...
https://github.com/ipfs/go-log/pull/3
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 23:37:09 +02:00
Jakub Sztandera
6d4975d82c
Move go-humanize to gx
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 11:32:02 +02:00
Jeromy
d16591ad21
Make bitswap better
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-08 14:17:08 -07:00
Jeromy Johnson
7a7a267e36
Merge pull request #2818 from ipfs/deps/libp2p/id-fix
...
update libp2p to version 3.2.2
2016-06-07 01:08:55 -07:00
Jeromy
afbc6be0a6
update libp2p to version 3.2.2
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-07 00:20:06 -07:00
Jeromy Johnson
e2c7a04400
Merge pull request #2795 from ipfs/fix/mfs-caching
...
rework add-mfs to not use caching
2016-06-07 00:01:44 -07:00
Jakub Sztandera
b2a082fb13
Add tests to prevent future regressions
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-06 12:35:29 +02:00
Michael Pfister
5aaebd0b2d
Adding tests for repo stat and repo version cmd
...
License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>
2016-06-03 13:54:39 -07:00
Michael Pfister
53ccaa9722
adding tests
...
License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>
2016-06-03 13:39:56 -07:00
Lars Gierth
00ae31cbdd
docker: make dockerfile differences more obvious
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-03 02:12:31 +02:00
Jeromy
22a5b79508
rework add-mfs to not use caching
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-02 12:54:53 -07:00
Jeromy Johnson
994109c731
Merge pull request #2790 from ipfs/feature/version-all
...
Add version --all option
2016-06-02 12:23:45 -07:00
Jakub Sztandera
c8c329df14
Move tests around as for #2774
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-02 17:53:27 +02:00
Jakub Sztandera
01d596bc83
Add test for version --all
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-02 17:53:24 +02:00
Jeromy
7274c6be35
update libp2p to v3.3.1
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-01 16:45:46 -07:00
Jakub Sztandera
c0393383fd
test: CORS is enabled by default
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-01 19:05:43 +02:00
Jeromy Johnson
5f6961028c
Merge pull request #2757 from ipfs/feature/Godeps-to-gx-2
...
Second wave of gx migrations
2016-06-01 09:17:26 -07:00
Jeromy Johnson
ed2d94b007
Merge pull request #2775 from ipfs/feature/head-no-body
...
Add check for HEAD response to be empty
2016-06-01 09:11:40 -07:00
Jeromy Johnson
c814478fb9
Merge pull request #2773 from ipfs/feature/commands-flags
...
Fix commands --flags not showing flags via HTTP API
2016-05-31 16:32:20 -07:00
Jakub Sztandera
d7913c893a
Migrate rs/cors to gx
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 22:40:41 +02:00
Jeromy Johnson
88da12ef56
Merge pull request #2707 from ipfs/local-mount-test
...
Make t0030 use iptb for consistent test passing.
2016-05-31 10:15:20 -07:00
Jakub Sztandera
7167e93be4
Add test to prevent future regressions
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 18:55:45 +02:00
Jeromy Johnson
82c0a3ba97
Merge pull request #2754 from ipfs/fix-dockerfile-currentcommit
...
docker: simplify git ref resolution, thanks @chriscool
2016-05-31 09:20:55 -07:00
Jeromy Johnson
6a894d6e76
Merge pull request #2696 from ipfs/feature/Offline-2393
...
Offline daemon mode
2016-05-31 09:12:13 -07:00
Jeromy Johnson
4974a02f27
Merge pull request #2772 from ipfs/deps/libp2p/3.2.3
...
update libp2p to v3.2.3
2016-05-31 08:44:43 -07:00
Jakub Sztandera
f99bb4f9d5
Add check for HEAD response to be empty
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 17:18:50 +02:00
Jeromy
aae6a2c379
update libp2p to v3.2.3
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-30 22:14:21 -07:00
Jakub Sztandera
d527e581e2
Add test for directly adding hidden file
...
It got broken no so long ago so this is the regression
test for that.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 06:51:51 +02:00
Jeromy Johnson
6c3350369e
Merge pull request #2516 from Stebalien/protobuf-content-type
...
Correctly set the content type for `object get --encoding=protobuf`
2016-05-28 23:28:45 -07:00
Jakub Sztandera
e293204666
Add t0040 test for offline daemon
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Jakub Sztandera
bdea10ff0e
Make if condition in sharness lib silent
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Jakub Sztandera
7614f4f700
Create shanress test for offline mode node
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-24 15:59:56 +02:00
Lars Gierth
0eed330ec2
docker: simplify git ref resolution, thanks @chriscool
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-24 00:27:02 +02:00
Richard Littauer
03dd669430
Refactor progress and showProgressBar
...
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-21 14:27:10 +01:00
Lars Gierth
7145d306b4
docker: add test for ipfs version --commit
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-20 02:40:51 +02:00
Lars Gierth
6b94fdecd6
docker: fix CurrentCommit discovery
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-20 02:40:41 +02:00
Lars Gierth
77ef3913d9
Revert "Implements repository initialization with default config"
...
See #2748
This reverts commit 6989686b8b .
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-20 01:49:35 +02:00
Jeromy Johnson
6f716463d2
Merge pull request #2706 from ipfs/feature/MFSStatsHashOnly
...
Add --format option to mfs stat command
2016-05-18 13:47:46 -07:00
Jakub Sztandera
fea0b940d6
Replace head piping with --hash option in t0250
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-18 07:01:51 +02:00
Jakub Sztandera
64677e75a3
Add sharness tests for files stat format options
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-18 06:58:38 +02:00
Jeromy Johnson
abeea4f8e1
Merge pull request #2720 from ipfs/flaky_dht_query
...
marks dht query as known breakage for now
2016-05-17 16:04:50 -07:00
Jeromy Johnson
414c0ccbc4
Merge pull request #2716 from ipfs/patch-add-link-paths
...
Fix #2715 and patch add-link paths
2016-05-17 11:43:11 -07:00
Jeromy
60cae2079a
check output hash for correctness
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-17 10:49:13 -07:00