1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 09:34:03 +08:00

8288 Commits

Author SHA1 Message Date
1b5fbb09b5 coreapi: Keystore API proposal
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-01 17:35:37 +01:00
027f498bc9 coreapi: Name API proposal
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-01 17:35:37 +01:00
8bc97d6db0 Merge pull request #4535 from ipfs/fix/codeclimate-checks
disable codeclimate 'maintainability' checks
2017-12-31 21:00:23 -08:00
6453ba9db3 disable codeclimate 'maintainability' checks
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-12-31 15:21:16 -08:00
8f17968cd8 Merge pull request #4508 from ipfs/fix/add-small-files
Don't lock up 256KiB buffers when adding small files
2017-12-31 14:29:23 -08:00
3e6eabba54 Fix memory clearing in adder
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-12-31 13:43:10 -08:00
092df586d1 clear out memory after reads from the dagreader
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-12-31 13:14:27 -08:00
64ae9344fc Merge pull request #4526 from karalabe/fix-permament
cmd, core: fix Permament -> Permanent typo
2017-12-31 12:59:36 -08:00
952a143228 Merge pull request #4471 from ipfs/feat/coreapi/dag
RFC: coreapi.Dag
2017-12-31 12:58:24 -08:00
026d87375e Merge pull request #4533 from ipfs/nit/bitswap-loggable
only construct bitswap event loggable if necessary
2017-12-31 12:56:00 -08:00
914e653828 only construct bitswap event loggable if necessary
Base58 encoding cids/peerIDs isn't exactly fast.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-29 13:00:24 -08:00
cb866bc450 cmd, core: fix Permament -> Permanent typo
License: MIT
Signed-off-by: Péter Szilágyi <peterke@gmail.com>
2017-12-28 10:37:26 +02:00
db318333ab coreapi: dag review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-23 04:49:00 +01:00
72714b6c81 Merge pull request #4501 from ipfs/docs/release-checklist-update
docs: add interop tests to the release checklist
2017-12-20 10:58:18 -08:00
f153c01dfa coreapi: functional options for DagAPI
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-20 15:03:13 +01:00
b40a6f88eb coreapi: add tests for dag
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-20 13:47:32 +01:00
82924fbedf coreapi: DAG API proposal
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-20 13:44:06 +01:00
c29f628907 add test for overallocation in chunker
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-19 19:29:49 -08:00
414b0ff1ba use DefaultSplitter function where appropriate
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-19 19:08:55 -08:00
101e1c3cb1 take adder by pointer, not by value...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-19 19:08:55 -08:00
aafbe65a13 Don't waste 256KiB buffers on small chunks.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-19 19:08:50 -08:00
4cd46781a7 docs: add interop tests to the release checklist
License: MIT
Signed-off-by: David Dias <daviddias.p@gmail.com>
2017-12-18 12:40:13 +00:00
ac26cf19cd config-patch: Inverse profiles
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-17 15:29:18 +01:00
ce22b83f24 Merge pull request #4464 from ipfs/gx/update-badger
badger: Update to fix i386 windows build
2017-12-16 10:37:13 -08:00
73170e552f Merge pull request #4497 from ipfs/fix/ineff-assign
commands: remove dead code
2017-12-16 10:32:03 -08:00
2ea8d17122 Merge pull request #4499 from ipfs/fix/better-bitswap-test
improve bitswap tests
2017-12-16 10:31:03 -08:00
acb4edcce4 config-patch: docs typo, fix server profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-16 18:16:43 +01:00
34ade520fa Merge pull request #4482 from ipfs/fix/fix-sharness-loops
fix loops in sharness tests to fail the test if the inner command fails
2017-12-15 16:45:37 -08:00
ddcf5ad9c1 make: don't use the private modifier
1. We don't need it (technically).
2. TravisCI (well, Ubuntu Trusty) is using a 11 year old version of make without
support for this feature.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 16:17:43 -08:00
f3ad2c95bd run os builds as a part of the test_go_* targets
We were doing this as part of the `test` target but we don't run that on CI (or
at least not on Travis).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 16:17:43 -08:00
bf30549370 enable build test for windows i386
closes #4438

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 16:17:43 -08:00
bc6f98d144 badger: Update to fix i386 windows build
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 16:17:43 -08:00
0ff9b24a32 config-patch: backup config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-16 00:58:58 +01:00
a5e9d0a23a make bitswap tests pass again with the race detector enabled
fixes #2444

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 15:46:33 -08:00
a77e0e4713 fix races in testnet
ConnectTo can be called concurrently from within bitswap.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 13:44:28 -08:00
4d8c4439c2 improve basic bitswap test
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 13:25:12 -08:00
6bd524fa3a correctly test refs local
We expect it to return a command error, not a 404, because `local` will be
interpreted as a path.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 11:07:32 -08:00
973dead066 remove dead code
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 10:31:43 -08:00
cccd03e875 sharness: print gateway command that should be sanitized
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 09:59:23 -08:00
2514c74750 config-patch: apply review suggestions
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
c573d3d051 config-patch: update to new commands lib
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
9312fa5f0f config: rename profile.Unapply to Revert
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
75b235d05c config docs: Move profile section to the top
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
ed8817961e conifg-patch: apply review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
d7376cdab0 config: profile tests, docs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
b59354bf6a config: revert profile subcommand
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
20d6803dc8 config: option to apply profile after init
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
958add6d9f patch should not have been allowed
This was discussed [here][1] but ignored.

[1]: bfff3fa390 (r15654625)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 18:48:48 -08:00
cb5dae0e9e version, get, resolve, and dht have been allowed
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 18:48:48 -08:00
4d7231d655 fix loops in sharness tests to fail the test if the inner command fails
This was hiding errors.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 18:48:48 -08:00