Commit Graph

11097 Commits

Author SHA1 Message Date
Whyrusleeping
1be6513c21
Merge pull request #4811 from ipfs/fix/4439
bitswap: reduce level when logging about disconnected peers to info
2018-03-22 23:29:40 -07:00
Whyrusleeping
aaf6ee78cc
Merge pull request #4809 from djdv/fix/get/outpath
Fix get output path
2018-03-22 23:29:17 -07:00
Whyrusleeping
e99b91a644
Merge pull request #4802 from ipfs/feat/coreapi/split-iface
coreapi: Split the interface into multiple files
2018-03-22 23:27:22 -07:00
Whyrusleeping
4800a325a7
Merge pull request #4798 from djdv/patch-1
Update broken links
2018-03-22 23:25:31 -07:00
Whyrusleeping
64944f57e9
Merge pull request #4767 from schomatis/fix/dag/diff
dag: diff: check CIDs in base case when comparing nodes
2018-03-22 23:19:53 -07:00
Whyrusleeping
59ad0f8c4b
Merge pull request #4755 from schomatis/fix/add/hash-only
add: hash-only: set the prefix for MFS root
2018-03-22 23:18:23 -07:00
Whyrusleeping
c44191e096
Merge pull request #4743 from schomatis/fix/unixfs/dagarchive-path
unixfs: clean path in DagArchive
2018-03-22 23:16:24 -07:00
Jakub Sztandera
67a6e63eb2 Correct output
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-23 07:09:32 +01:00
Jakub Sztandera
8c9725d88e Simplify GOPATH check
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-23 07:09:32 +01:00
Lars Gierth
ad18295955 build: match Go's GOPATH defaults behaviour
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-03-23 07:09:32 +01:00
Whyrusleeping
b8e7b632c1
Merge pull request #4730 from schomatis/fix/dag/trickle
Refactor trickle DAG builder
2018-03-22 23:08:57 -07:00
Whyrusleeping
61544ac166
Merge pull request #4704 from ipfs/feat/merkledag-dag-mocks
Feat: remove circular dependencies in merkledag package tests
2018-03-22 23:07:38 -07:00
Whyrusleeping
e1208b799b
Merge pull request #4649 from ipfs/feat/blockservice-events
blockservice: add BlockedFetched/Added/Removed events
2018-03-22 23:05:12 -07:00
Whyrusleeping
a9dfe410d2
Merge pull request #4563 from ipfs/fix/block-mhtype
commands/block: use CIDv1 with custom mhtype
2018-03-22 23:03:56 -07:00
Jeromy
5c6f8578d5 Start 0.4.15-dev cycle
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-22 23:01:25 -07:00
Jakub Sztandera
a947c952e9 misc: allow for some coverage fall on commit
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-23 06:50:59 +01:00
Whyrusleeping
5db38464bf
Merge pull request #4866 from ipfs/release-0.4.14
Ipfs v0.4.14
2018-03-22 18:50:37 -07:00
Jeromy
43264c5761 Ipfs v0.4.14
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-22 17:21:35 -07:00
Dirk McCormick
494f242b76 Parse string time (eg 30s) instead of assuming seconds for —-dht-timeout
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-03-22 12:52:09 -04:00
Łukasz Magiera
221652fcfb fix govet warnings
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-22 17:31:22 +01:00
Dirk McCormick
32ef57c476 Return ErrNotFound when zero values are returned from DHT namesys resolve
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-03-21 22:58:32 -04:00
Hector Sanjuan
9a2f2976f2 Use latests tar-utils
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-22 00:28:44 +01:00
Hector Sanjuan
5bbaa75bea Extract: thirdparty/tar
This module was sort of extracted to whyrusleeping/tar-utils long ago.
I gxed that, imported commits from go-ipfs to the current state, and
extracted it.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-21 18:02:25 +01:00
Dominic Della Valle
a93ea62175 Update lock
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-03-21 12:59:51 -04:00
Jakub Sztandera
21fae5bfad cmds/stat: remove useless header if not polling
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-21 15:36:58 +01:00
Łukasz Magiera
bfdfb8d9cd pin cmd: fix pinLsAll context use
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
Łukasz Magiera
ae528640d9 misc: Remove some dead code
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
Christian Couder
30039a78b2 sharness/t0010: quote error messages
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-20 22:22:45 +01:00
Christian Couder
3a00b7dca1 sharness/t0010: check that all the commands fail when passed a bad flag
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-20 22:16:35 +01:00
Whyrusleeping
e77033cb51
Merge pull request #4836 from ipfs/release-0.4.14-rc3
ipfs release 0.4.14-rc3
2018-03-20 13:20:08 -07:00
Jeromy
f4a1a9ef61 ipfs release 0.4.14-rc3
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-20 12:26:29 -07:00
Whyrusleeping
11ce0445cb
Merge pull request #4840 from ipfs/fix/4837
check arguments after handling help
2018-03-20 09:32:26 -07:00
Jakub Sztandera
48f706b0f3 fix(mfs): Directory.Path not working, add test
Credit goes to @ridewindx

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-20 13:55:52 +01:00
Steven Allen
781dfa1252 cleanup name publish argument tests
1. Don't bother testing the peer IDs. These commands won't ever use them.
2. Move the `--help` test out from in-between the missing argument tests.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 16:31:07 -07:00
Steven Allen
3bb59efade add sharness test for #4837
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 16:00:51 -07:00
Steven Allen
7824c2cf4e check arguments after handling help
otherwise, we block on required arguments from stdin before processing the help
flag.

fixes #4837

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 15:58:34 -07:00
Whyrusleeping
4bdbe1a993
Merge pull request #4827 from ipfs/fix/4823
pre-populate required arguments from request body
2018-03-18 22:19:15 -07:00
Łukasz Magiera
e7d837c019 Remove roadmap.md
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-19 01:55:25 +01:00
Łukasz Magiera
ed54f58df7 use prefix in bootstrapWritePeers
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-19 01:36:51 +01:00
Steven Allen
4e9a6c7eab add regression test for #4823
for both online and offline mode (tests both the cli and the api)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-18 13:04:50 -07:00
Steven Allen
45fd7d213f pre-populate required arguments from request body
This way, we can always assume that indexing a required argument works.

Also:

* test that the command tree doesn't have any obvious bugs (duplicate options,
  arguments in the wrong order, etc).
* simplify the usage ParseBodyArgs.
* remove unnecessary check in the get command.

fixes #4823

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-18 13:04:25 -07:00
Whyrusleeping
958483f6bc
Merge pull request #4822 from ipfs/fix/emit-once
fix: use EmitOnce where only single response is to be sent
2018-03-17 11:35:17 -07:00
Whyrusleeping
7f1868aef2
Merge pull request #4826 from ipfs/fix/rm-string-arguments
upgrade commands that used StringArguments
2018-03-17 11:34:58 -07:00
Whyrusleeping
873a9aa2b8
Merge pull request #4825 from ipfs/fix/cmds-stuff
delete dead code
2018-03-17 11:34:30 -07:00
Steven Allen
c24a08be2e delete dead code
This code was making it *really* hard to understand the commands code.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-16 20:34:36 -07:00
Jeromy
116269a12b upgrade commands that used StringArguments
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-16 20:06:54 -07:00
Jakub Sztandera
ead64854e6 cmd/pubsub: fix pubsub peers format brakage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-17 02:48:27 +01:00
Jakub Sztandera
42d1aa5bf7 cmd/pubsub: fix pubsub ls emiting plain strings instead of JSON
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-16 14:01:37 +01:00
Jakub Sztandera
59178057a2 fix: use EmitOnce where only single response is to be sent
Part of #4818

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-16 10:17:34 +01:00
Jakub Sztandera
78097d171d misc: spelling of retrieval
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-15 21:07:22 +01:00