Commit Graph

6490 Commits

Author SHA1 Message Date
Jeromy Johnson
73cd8b3e98 Merge pull request #3222 from ipfs/kevina/add-no-pin-lock
Adder: Don't hold the PinLock when not pinning.
2016-09-14 18:49:08 -04:00
Kevin Atkinson
7bf30c3111 Adder: Don't hold the PinLock when not pinning.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-09-14 16:55:39 -04:00
Jeromy Johnson
98fdffab9a Merge pull request #3006 from ipfs/feature/edit-issue-reporting-guides
Edit issue reporting guides
2016-09-14 15:57:26 -04:00
Jeromy Johnson
0aa136a98e Merge pull request #3206 from ipfs/feat/writable-flag
gateway: fix --writable flag :|
2016-09-14 13:50:32 -04:00
Jeromy Johnson
85da76a4ee Merge pull request #3217 from ipfs/fix/package-json
gx: fix dvcsimport path in package.json
2016-09-13 10:26:56 -04:00
Jakub Sztandera
7398543a81
gx: fix dvcsimport path in package.json
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 15:10:19 +02:00
Jeromy Johnson
3722e90501 Merge pull request #3210 from ipfs/deps/libp2p/3.5.1
Update libp2p to have fixed spdystream dep
2016-09-12 17:56:25 -04:00
Jeromy Johnson
87517b74e1 Merge pull request #3097 from ipfs/test/unixfs/reader-cover
test: 80% coverage of unixfs/io [WIP]
2016-09-12 17:34:35 -04:00
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
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
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