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
Jeromy
803af90180
bitswap: search for wantlist providers a little less often
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-06 13:11:57 -07:00
Jeromy Johnson
3950079b9c
Merge pull request #3196 from ipfs/feat/config/bloombytes
...
blockstore: change unit of bloom filter to byte from bits
2016-09-06 14:37:23 -04:00
Jakub Sztandera
27279cdefe
blockstore: change unit of bloom filter to byte from bits
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-06 20:20:19 +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
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
6f437fbbf4
Merge pull request #3169 from ipfs/fix/bitswap-goro-leak
...
bitswap: Don't clear 'active' until Connect calls are finished
2016-09-04 08:20:52 -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
Jeromy
667f8a6f13
replace string with constant in fsrepo privkey check
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-04 06:50:10 -07:00
Jeromy
91dd044d55
config: guard against privkey being overwritten in fsrepo setConfig
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-04 06:50:10 -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 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
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
b9130108cf
bitswap: Don't clear 'active' until Connect calls are finished
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-03 09:41:26 -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
feb653b443
bitswap: add better tests around wantlist clearing
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-02 15:28:10 -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
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 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
Richard Littauer
67a822c3b2
Added note about exit status codes
...
How does this look? See #2293
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-09-01 11:21:51 -04:00
Richard Littauer
c05e225ebd
Edit issue template and contribute file
...
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-09-01 11:08:39 -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
Jeromy Johnson
0e5e6cf97d
Merge pull request #3152 from ipfs/feat/test/time-out-license
...
test: change time-out script to one from coreutils
2016-09-01 07:43:30 -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