Commit Graph

10437 Commits

Author SHA1 Message Date
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 Johnson
19fd0c63f0 Merge pull request #3201 from kulla/readme-sudo
README.md: Add sudo to install commands.
2016-09-12 16:27:16 -04: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
0750c873c1
test: add dirbuilder tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 14:22:49 +02: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
Jakub Sztandera
a547d88094
test: add unixfs/reader tests for WriteTo and size
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
86942c8969
test: add metadata node testcase to dagreader.go
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
b699e71c0b
test: add invialid protobuf data testcase to dagreader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
8ccaf5bbfa
test: add test for bad node types in dagreader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
707f466713
test: add reverse relative seeking test to dagreader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
cd22fb1085
test: add relative seek test to dagreader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
91f2765ff0
test: add absolute seek test
move tests to different file

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
452a1d28a3
test: refactor some utities out of mod package
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
4f1a861bed
test: use mdag/test.Mock() instead
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:17 +02:00
Jakub Sztandera
02f6bd63ba
test: add basic dagreader test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:16 +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
Jeromy Johnson
0e2b4eb4eb Merge pull request #3204 from geoah/chore/extract-thirdparies
Extract thirdparty/loggables and thirdparty/peerset
2016-09-10 23:44:26 -04: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
5e72b94a5a Extract thirdparty/loggables
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:15:31 +01:00
Jeromy Johnson
679af2051c Merge pull request #3203 from ipfs/fix/dht-newstream-proto
dht: add missing protocol ID to newStream call
2016-09-10 16:09:54 -04:00
Jeromy
fddfb74020 dht: add missing protocol ID to newStream call
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-10 12:57:12 -07:00
Stephan Kulla
d00097f57c README.md: Add sudo to install commands.
Most users will need `sudo` to run the installation script successfully.

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-10 12:40:54 +02:00
Jeromy Johnson
e30576dfee Merge pull request #3194 from kulla/install-sh-refactoring
Refactoring install.sh
2016-09-09 18:17:12 -04:00
Jeromy Johnson
db509ec6a1 Merge pull request #3193 from ipfs/feat/changelog-v0.4.3-rc4
changelog: add notes for 0.4.3-rc4
2016-09-09 15:20:23 -04:00
Jeromy
a0e0a65c17 bump version to 0.4.3-rc4
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-09 12:15:17 -07:00
Jeromy Johnson
268b75778f Merge pull request #3200 from ipfs/fix/dht-pmes-panic
dht: protect against a panic in case record on pbmessage is nil
2016-09-09 15:08:09 -04:00
Lars Gierth
2c5109ca67 changelog: add notes for 0.4.3-rc4
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-09-09 20:27:10 +02:00
Lars Gierth
4c5b32bfa2 docs: fix changelog list oneliner
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-09-09 20:25:10 +02:00
Jeromy Johnson
1a5994a01d Merge pull request #3198 from geoah/chore/extract-key
Extract blocks/key to ipfs/go-key
2016-09-09 14:06:22 -04:00
Jeromy Johnson
5f933be1ec Merge pull request #3132 from ipfs/feat/versioned-protos
use correct protocol names for ipfs services
2016-09-09 13:38:57 -04: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
Jeromy Johnson
3babf40e74 Merge pull request #3187 from ipfs/feat/cidv0
Rework go-ipfs to use content IDs version 0
2016-09-09 10:14:39 -04:00
Jeromy
8f362d2b15 dht: protect against a panic in case record on pbmessage is nil
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-08 12:21:29 -07:00
Stephan Kulla
465e4b9f75 install.sh: Remove -t parameter from mv command.
Return to the old definition of the mv command since there is no `-t`
parameter in `mv` of BSD. Cf.
https://www.freebsd.org/cgi/man.cgi?query=mv&sektion=1

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-08 16:55:07 +02:00
Jeromy Johnson
531b89abc9 Merge pull request #3143 from ipfs/feat/bs/rename-hashonread
blockstore: rename RuntimeHashing to HashOnRead
2016-09-08 09:30:03 -04:00
Jeromy Johnson
7c00bcf318 Merge pull request #3192 from ipfs/fix/bitswap/too-many-findprovs
bitswap: search for wantlist providers a little less often
2016-09-08 09:22:21 -04: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
Stephan Kulla
7f194c9721 install.sh: Enhance comments of the script.
I removed the comment about using $PATH since it leads to long
installation scripts (which violates the KISS principle). Cf. the
discussion on https://github.com/ipfs/go-ipfs/pull/2504

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-08 10:42:58 +02:00
Stephan Kulla
81e40de5ee install.sh: Recommend using sudo on error.
Show error message that the user shall try running this script with sudo
in case write permissions are missing. Implement proposal of comment
https://github.com/ipfs/go-ipfs/pull/3194#issuecomment-245376993

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-08 10:42:58 +02:00
Stephan Kulla
f00b8d58ec install.sh: Make success message clearer.
Implement proposal of the comment
https://github.com/ipfs/go-ipfs/pull/2504#discussion_r77872959

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-08 10:42:50 +02:00
Jeromy Johnson
0849375504 Merge pull request #3136 from mateon1/fix/version-comparison
Fixes #3133: Properly handle release candidates in version comparison
2016-09-07 18:19:25 -04:00
Jeromy
29c1872e1d SQUASHME: some cleanup
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-07 15:16:21 -07:00
Jeromy
c8fe495934 integrate CIDv0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-07 13:32:32 -07:00
Jeromy Johnson
6df5afaa9e Merge pull request #3162 from ipfs/fix/bs/many-caching-fix
blockstore: fix PutMany with cache logic
2016-09-07 15:59:42 -04:00
Jeromy Johnson
73f4b15ced Merge pull request #3160 from JesseWeinstein/doc/cmds/log_notice_unused
Doc/cmds/log notice unused
2016-09-07 14:53:37 -04:00
Stephan Kulla
f8458411c1 install.sh: Check whether installation succeeds.
I moved the mv command into the if-condition so that the script only
succeeds when mv command ran properly. Thus, there is no need to check
whether the mv command will succeed beforehand.

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-07 13:39:05 +02:00
Stephan Kulla
28a69eea10 install.sh: Treat $binpath as target directory.
In case $binpath/$bin is an already existing directory, the command

    mv "$bin" "$binpath/$bin"

would store the binary in the place $binpath/$bin/$bin. I guess this is
not the expected behavior. Therefore I used the -t option of `mv' to
specify the target directory explicitly.

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-07 13:29:48 +02:00