Commit Graph

6467 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
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
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
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
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
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
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
Stephan Kulla
fc20fe870d install.sh: Add error message at the end.
License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-06 16:05:38 +02:00
Stephan Kulla
1f81933fb6 install.sh: Add for loop to shorten script.
License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-06 16:04:43 +02:00
Jakub Sztandera
d080ff19dd
test: add test case for PutMany on bloom filter skipping add to bloom
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-06 09:56:23 +02:00
Jakub Sztandera
4c86d7a4f8
test: add test case for PutMany using cache to eliminate the call
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-06 09:56:23 +02:00
Jakub Sztandera
c4323c0bcf
blockstore: fix PutMany with cache logic
Thanks @whyrusleeping for noticing it.

Removed PutMany logic in bloom cache as it can't help with anything.
Fixed ARC cache to use filtered results instad of all blocks.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-06 09:56:23 +02:00
Jeromy Johnson
0f0cf44800 Merge pull request #3167 from ipfs/feat/add-default-to-files
Add default True to files flush
2016-09-04 08:46:44 -07:00
Jeromy Johnson
bb7dc61a2e Merge pull request #3178 from mateon1/fix/debug-logging-typo
Fix minor typo in bitswap debug logging
2016-09-04 06:47:15 -07:00
mateon1
304153a38d Fix minor typo in bitswap debug logging
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2016-09-02 21:38:59 +02:00
mateon1
f9dcc8abb1 Quote $0 in case it contains spaces
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2016-09-02 21:13:34 +02:00
Jeromy Johnson
3303fea69f Merge pull request #3170 from ipfs/fix/test/block-hash
sharness: fix typo in hash in t0050
2016-09-02 06:26:44 -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
Richard Littauer
1a6784e070 Add default True to files flush
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-09-01 11:47:15 -04:00
Jeromy Johnson
d9250942d6 Merge pull request #3146 from ipfs/feature/reverse-labels
Reverse label numbers
2016-09-01 08:03:44 -07:00
mateon1
16672127b8 Fixes #3133: Properly handle release candidates in version comparison
Deduplicate version checking code across scripts

License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2016-09-01 16:31:59 +02:00
Jesse Weinstein
fab7ad8dd9 Reduce vehemence of help text, per PR comments
License: MIT
Signed-off-by: Jesse Weinstein <jesse@wefu.org>
2016-08-31 21:59:43 -07:00
Jesse Weinstein
9304cf13db Clarify distinction between event and other logging
License: MIT
Signed-off-by: Jesse Weinstein <jesse@wefu.org>
2016-08-30 18:39:04 -07:00
Jesse Weinstein
8663b4d48b Remove notice from list of log levels.
This is because go-log does not support that level, although the underlying library, go-logging, does.

License: MIT
Signed-off-by: Jesse Weinstein <jesse@wefu.org>
2016-08-30 18:31:53 -07:00
Jeromy Johnson
6fdfaaf6e4 Merge pull request #3145 from ipfs/feature/license-update
Change LICENSE year
2016-08-29 20:06:33 -07:00
Richard Littauer
0e5f32d07e Reverse label numbers
See https://github.com/ipfs/go-ipfs/pull/2883#issuecomment-227528997. Will need to change current issues.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-08-29 16:51:07 -04:00
Richard Littauer
24494c3a53 Change year
See https://github.com/ipfs/go-ipfs/pull/2883#issuecomment-227528997

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-08-29 16:48:22 -04:00
Jakub Sztandera
dfc58c791d
blockstore: rename RuntimeHashing to HashOnRead
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-29 21:53:40 +02:00
Jeromy Johnson
28b01dda7e Merge pull request #3118 from ipfs/deps/rm-randbo
remove randbo dep, its no longer needed
2016-08-26 14:23:29 -07: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
Jeromy
0390407497 use correct protocol names for ipfs services
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-26 14:01:23 -07:00
Jeromy
3b3f2d85a7 remove randbo dep, its no longer needed
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-26 13:24:41 -07:00
Jeromy Johnson
594ae64f15 Merge pull request #3129 from ipfs/feat/default-rename
commands: replace <default> keyword with <<default>>
2016-08-26 09:41:14 -07:00