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

6186 Commits

Author SHA1 Message Date
4fa85cc4d4 Merge pull request #2933 from ipfs/deps/update-datastore/0.1.2
update go-datastore changes 0.1.2
2016-07-01 23:14:24 -07:00
0aafa6db8c update go-datastore changes 0.1.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-01 22:40:57 -07:00
62de65c1bc Merge pull request #2908 from ipfs/feature/t0080-offline
test: Run t0080-repo test offline
2016-07-01 21:34:32 -07:00
e446b3d394 test: Run t0080-repo test offline
Resolves #2906

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 20:29:48 -07:00
cfcc0dbfb1 Merge pull request #2903 from ipfs/feat/dskey-encoding
encode keys to datastore with base32 standard encoding
2016-07-01 16:48:41 -07:00
0782c4dc03 encode keys to datastore with base32 standard encoding
Fixes #2601

Also bump version to 0.4.3-dev

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-01 14:15:06 -07:00
f3d5fe6c65 Merge pull request #2926 from ipfs/feature/fix-test-parse-symlink-#2925
Resolve symlinks of testfiles
2016-07-01 09:44:01 -07:00
c4e8210584 Merge pull request #2929 from ipfs/feature/docker-go-update
docker: remove go version constraint
2016-07-01 08:46:39 -07:00
f0aa0e20e2 Merge pull request #2928 from ipfs/feature/fix-error-providers
routing: Use correct error variable
2016-07-01 08:45:49 -07:00
8cdf819af9 docker: remove go version constraint
There's only ever one version of a given package
per Alpine release, so GO_VERSION is superfluous
and only breaks the build if the go packages is updated.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-07-01 16:33:16 +02:00
7fe6995a1c routing: Use correct error variable
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 14:51:19 +02:00
b68e37f4c3 Resolve symlinks of testfiles
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-01 09:48:06 +02:00
fe7b01f14e Resolve symlink if it is directly referenced in cli (#2897)
* Resolve symlink if it is directly referenced in cli

test: Directly referenced symlink should be resolved

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* sharness: add test for symlink in the middle

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 12:06:50 -07:00
d72c9fcd3e Add flag to ls to not resolve type of subnodes (#2824)
* Disable resolving of the typ by default in ls

Add option to resolve type using ls but
set it to false by default.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Make ipfs ls show type if it is avaliable locally

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Make resolve-type default to true

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 12:06:01 -07:00
7fa88fd941 Merge pull request #2785 from ipfs/feature/auto-synopsis
Add synopsis autogenerator
2016-06-28 12:05:15 -07:00
1c0f18dfed Add default true options handling
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
f144a84247 Add default to recursive option
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
b17506a181 Make primary option the longer one
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
d9d0446d45 Remove new line after synopsis section
As synopsis is only one line long it is overkill

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
adf405210d Remove existing synopsis
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
6cafb46584 Add Synopsis generator test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
206529730a Add Synopsis autogenerator
Generates synopsis automagically

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
80fcac8d0e Merge pull request #2913 from ipfs/feature/test-stdin-hang
sharness: Tests for #2868 - --help hanging on stdin
2016-06-28 10:40:49 -07:00
559214499e Merge pull request #2860 from ipfs/feat/provide-storage
Write providers to disk to avoid memory leaks
2016-06-28 10:23:56 -07:00
9cbec47a23 sharness: Tests for #2868 - --help hanging on stdin
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 15:43:03 +02:00
3b2993dd9a Merge pull request #2902 from thomas-gardner/commands
commands: remove EnableStdin support for StringArg [v2]
2016-06-27 23:00:16 -07:00
68c87ed1b1 Merge pull request #2904 from ipfs/feature/repo-runtime-check
Add option for datastore read rehashing
2016-06-27 16:09:24 -07:00
d489f82b59 use no padding encoding
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-27 14:43:01 -07:00
dead777272 Add sharness test for read blockstore rehashing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-27 11:28:44 +02:00
959fe64dd3 providers test with multiple peers
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-25 22:59:57 -07:00
f18267535f Merge pull request #2895 from ipfs/chriscool-patch-1
Update link to issue guide
2016-06-25 22:41:49 -07:00
059b726bb5 commands: update go-log dependency
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-06-26 12:36:25 +10:00
2ad63fd0df commands: improve test coverage for FileArg parsing
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-06-26 12:28:55 +10:00
ddc8d0c60c commands: remove EnableStdin support for StringArg
With verbose flag:
* remove EnableStdin() flags on all StringArg,

* remove all unneeded parsing code for StringArg, and print an
* informative message if `ipfs` begins reading from a CharDevice,

* remove broken go tests for EnableStdin cli parsing, and add some
* trivial test cases for reading FileArg from stdin,

* add a panic to prevent EnableStdin from being set on
* StringArg in the future.

Resolves: #2877, #2870
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-06-26 12:28:55 +10:00
8f91069e50 Write providers to disk to avoid memory leaks
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-25 09:53:59 -07:00
cb85b0c2c5 Merge pull request #2909 from yuvallanger/fix-documentation-typo
Fix typo
2016-06-25 09:45:49 -07:00
5089dafc9c Fix typo
License: MIT
Signed-off-by: Yuval Langer <yuval.langer@gmail.com>
2016-06-25 19:12:17 +03:00
434503d427 ISSUE_TEMPLATE: update link to issue guide
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-06-25 09:44:22 +02:00
2a4bbb712f Merge pull request #2905 from ipfs/fix/log-message
fix argument placement on log message
2016-06-24 23:25:43 -07:00
a68f9d090a fix argument placement on log message
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-06-24 16:54:33 -07:00
174ab12c67 config: Add explicit default value for HashOnRead
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:38:07 +02:00
0f3dc1e84a core: Add config option for datastore read rehashing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:38:01 +02:00
f2686965ac tests: Add test to RuntimeHashing option of blockstore
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:21:01 +02:00
989e91b1c4 blockstore: add fetch rehashing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 22:20:58 +02:00
ce8c8a7a71 Update go-log in whole dependency tree (#2898)
* Update golog in go-ipfs

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-secio for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-crypto for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-peer for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Import peersore, it wasn't imported

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update peerstore

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update peer

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update secio

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 09:38:07 -07:00
cefe872488 Merge pull request #2901 from ipfs/feature/docker-update
docker: update to go 1.6.2 and alpine 3.4
2016-06-24 09:04:03 -07:00
c85eec28d5 Merge pull request #2896 from ipfs/feature/no-travis-notification
Disable Travis Email notifications
2016-06-24 09:03:35 -07:00
a04570df73 docker: update to go 1.6.2 and alpine 3.4
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-24 02:24:20 +02:00
de8939771f Disable Travis Email notifications
There are so many of them that they are just annoyting
and for some reason there isn't feature of telling
Travis not to send notifications to me.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-23 17:11:47 +02:00
a72feedec6 Merge pull request #2893 from ipfs/fix/add-progress-bar
fix progress bar in add
2016-06-22 22:30:21 -07:00