1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 08:47:42 +08:00

8563 Commits

Author SHA1 Message Date
8dbdb29576 Merge pull request #4849 from ipfs/no-dev-null-pipe
No dev null pipe
2018-03-23 09:41:04 -07:00
4f601a0ec0 Merge pull request #4859 from ipfs/fix/govet
Fix go vet warnings
2018-03-23 09:10:43 -07:00
a8645afbcf pbreader: use ReadFull instead of reimplementing it
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-23 13:39:27 +01:00
904be7c94d fix Read call in seccat
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 13:39:27 +01:00
fda2428d36 fix Read call in APIAddr
* don't assume that Read fills the buffer.
* don't succeed if the API file is too large.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 13:39:27 +01:00
4002f97724 don't assume that Read reads all available bytes in pbdagreader
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 13:39:27 +01:00
d6589e5e1c don't make assumptions about readers in the dagmodifier
The dagmodifier *only* works because we're using a bytes.Buffer.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 13:39:12 +01:00
8a2035eaa2 sharness/t0010: also check 'echo stuff | $cmd --help'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-23 10:23:33 +01:00
1bb3abafe2 sharness/t0010: don't pipe /dev/null into $cmd --help tests
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-23 10:21:11 +01:00
14975fca6c make init command use go-ipfs-cmds
License: MIT
Signed-off-by: Evgenii Stratonikov <kraunid@gmail.com>
2018-03-23 11:18:15 +03:00
2e9f4f5a06 misc: remove link to IPFS paper in contribute.md
Closes #4295

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-23 07:37:18 +01:00
550c6eb5bf Merge pull request #4848 from ipfs/check-failure-with-bad-flag
sharness/t0010: check that all the commands fail when passed a bad flag
2018-03-22 23:35:23 -07:00
2c0bb93a6d Merge pull request #4844 from ipfs/fix/4800
fix(mfs): Directory.Path not working, add test
2018-03-22 23:34:05 -07:00
036d3bda82 Merge pull request #4834 from ipfs/misc/remove-roadmapmd
Remove roadmap.md
2018-03-22 23:33:19 -07:00
6b180b2f7c Merge pull request #4832 from ipfs/fix/bootstrap-cmd-prefix
Use prefix in bootstrapWritePeers
2018-03-22 23:32:47 -07:00
7e5d162efa Merge pull request #4819 from ipfs/misc/retreival
misc: spelling of retrieval
2018-03-22 23:31:35 -07:00
b0ac2b8dac Merge pull request #4816 from ipfs/fix/t0063-test-profile
Fix t0063-daemon-init.sh by adding test profile to daemon
2018-03-22 23:30:55 -07:00
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
aaf6ee78cc Merge pull request #4809 from djdv/fix/get/outpath
Fix get output path
2018-03-22 23:29:17 -07:00
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
4800a325a7 Merge pull request #4798 from djdv/patch-1
Update broken links
2018-03-22 23:25:31 -07:00
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
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
c44191e096 Merge pull request #4743 from schomatis/fix/unixfs/dagarchive-path
unixfs: clean path in DagArchive
2018-03-22 23:16:24 -07:00
67a6e63eb2 Correct output
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-23 07:09:32 +01:00
8c9725d88e Simplify GOPATH check
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-23 07:09:32 +01:00
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
b8e7b632c1 Merge pull request #4730 from schomatis/fix/dag/trickle
Refactor trickle DAG builder
2018-03-22 23:08:57 -07:00
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
e1208b799b Merge pull request #4649 from ipfs/feat/blockservice-events
blockservice: add BlockedFetched/Added/Removed events
2018-03-22 23:05:12 -07:00
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
5c6f8578d5 Start 0.4.15-dev cycle
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-22 23:01:25 -07:00
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
5db38464bf Merge pull request #4866 from ipfs/release-0.4.14
Ipfs v0.4.14
v0.4.14
2018-03-22 18:50:37 -07:00
43264c5761 Ipfs v0.4.14
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-22 17:21:35 -07:00
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
221652fcfb fix govet warnings
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-22 17:31:22 +01:00
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
9a2f2976f2 Use latests tar-utils
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-22 00:28:44 +01:00
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
a93ea62175 Update lock
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-03-21 12:59:51 -04:00
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
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
ae528640d9 misc: Remove some dead code
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
30039a78b2 sharness/t0010: quote error messages
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-20 22:22:45 +01:00
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
e77033cb51 Merge pull request #4836 from ipfs/release-0.4.14-rc3
ipfs release 0.4.14-rc3
v0.4.14-rc3
2018-03-20 13:20:08 -07:00
f4a1a9ef61 ipfs release 0.4.14-rc3
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-20 12:26:29 -07:00
11ce0445cb Merge pull request #4840 from ipfs/fix/4837
check arguments after handling help
2018-03-20 09:32:26 -07:00
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