1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 23:53:19 +08:00

9217 Commits

Author SHA1 Message Date
f69cf07444 ipfs name resolve --stream
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-27 21:31:42 +02:00
804634d59b namesys: switch to async code
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-27 21:31:42 +02:00
6adb15f4fb namesys: async: go vet fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-27 21:31:42 +02:00
7ff9f09b07 namesys: Implement async methods
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-27 21:31:42 +02:00
86559e9e04 Merge pull request #5527 from ipfs/feat/pprof-lock
pprof: create HTTP endpoint for setting MutexProfileFraction
2018-09-27 18:49:46 +00:00
12746433ea test: add tess for /debug/pprof-mutex/ endpoint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-09-27 03:44:44 +02:00
727bf49eff Merge pull request #5525 from overbool/fix/issue-#5055
fix(unixfs): issue #5055
2018-09-26 23:44:48 +00:00
50fffa2973 pprof: create HTTP endpoint for setting MutexProfileFraction
Allows to dynamically change the MutexProfileFraction to enable and
disable mutex profiling. It should be very useful for detecting
deadlocks, lock contention and general concurrency problems.

How to use:
To enable run: curl -X POST -v 'localhost:5001/debug/pprof-mutex/?fraction=10
To disable: curl -X POST -v 'localhost:5001/debug/pprof-mutex/?fraction=0'

Fraction defines which fraction of events will be profiled. Higher it is
the lower performance impact but less reliable the result.

To fetch the result use:
go tool pprof $PATH_TO_IPFS_BIN http://localhost:5001/debug/pprof/mutex

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-09-26 21:24:49 +02:00
5d173bf365 fix(unixfs): issue #5055
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-26 18:51:00 +08:00
1e0d53fe3c Merge pull request #5496 from rob-deutsch/fix/5495
fixed tests of raised fd limits
2018-09-25 05:05:20 +00:00
30414a4c34 Merge pull request #5518 from ipfs/gx/update-stuff
gx: update go-log go-ipld-cbor
2018-09-24 13:45:42 +00:00
dac058f8be gx: update go-log go-ipld-cbor
(and friends)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-24 05:36:29 -07:00
3a8afa6827 Merge pull request #5517 from ipfs/gx/go-libp2p-routing-2.6
gx: update go-libp2p-routing
2018-09-24 12:32:09 +00:00
074a1ab48e update for interface changes
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-24 05:24:30 -07:00
91833e288f gx: update go-libp2p-routing
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-24 14:03:57 +02:00
aada0cc1e2 added freebsd cross-compile to 'make check' tests
License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-24 20:35:06 +10:00
8cca57244c supressed fd util printing to output
Moved the fmt.Printf call from ManageFdLimit() to the calling code. ManageFdLimit() is called by tests and its annoying to have it output text

License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-24 20:35:06 +10:00
182507d0d1 fixed test of raised fd limits
Raising FD limits was erroring when the OS's max was at the maximum signed integer value. Switched the code to using uint64 instead of int64.

fixed #5495

License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-24 20:35:02 +10:00
ac53d3aaa4 Merge pull request #5494 from rob-deutsch/feat/publishquieter
add quieter option to name publish
2018-09-24 10:11:18 +00:00
1b8820f7f2 Merge pull request #5505 from overbool/fix/issue-#5217
fix(unixfs): issue #5217 (Avoid use of `pb.Data`)
2018-09-24 07:36:43 +00:00
286d935036 add quieter option to name publish
Added a quieter/Q option to 'name publish' that, consistent with 'add', only outputs the value that was published.

License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-22 09:49:40 +10:00
238bd01224 Merge pull request #5503 from overbool/feat/print-version
feat(daemon): print version
2018-09-21 20:55:26 +00:00
73ac4a8705 Merge pull request #5507 from ipfs/fix/mk-commit
mk: embed CurrentCommit in the right place
2018-09-21 17:48:42 +00:00
0f3e199443 mk: embed CurrentCommit in the right place
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-21 11:52:20 +02:00
48c3effac8 fix(unixfs): issue #5217
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-21 15:44:38 +08:00
7d7bca0375 feat(daemon): print version
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-21 14:44:08 +08:00
987fef1266 Merge pull request #5493 from overbool/test/issue-#5456
test(add): add test for issue \#5456
2018-09-20 00:22:17 +00:00
d656ade823 test(add): add test for issue \#5456
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-20 07:54:39 +08:00
3538257dd6 Merge pull request #5035 from ipfs/feat/cmds2
update for the go-ipfs-cmds refactor
2018-09-19 22:30:36 +00:00
d556ee23ef fix resolve command for the new cmds refactor
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-19 14:43:15 -07:00
b7484c1bca gx: update go-ipfs-cmds to the final release
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-19 14:36:08 -07:00
480184fafa document TEST_IMMEDIATE in test/sharness/README.md
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
aa7494b0b7 repo gc: use cmds2
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
caf855b4ec fixes
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
74ec1a9aef address stebalien's comments
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
08cc8552e2 fix broken gc test
`ipfs refs` won't work because we don't have the referenced objects (ipfs refs
fetches everything it prints).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-19 14:35:54 -07:00
f4b32e36f4 update cmds to 2.0.0-rc1
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
d14021da98 remove debug output
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
ef21c3bfab update go-ipfs-cmds to 2.0.0-beta2
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
908ffddc1b big squash commit
excerpt of commit messages:
- update postrun functions in core/commands
- sharness: allow setting -i with TEST_IMMEDIATE=1
- cmds Run func returns error now
- gx update cmdkit to 1.1.2 and cmds to 2.0.0-beta1

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
61f31e5dc0 Merge pull request #5476 from rob-deutsch/fix/5475
fix fuse unmount test
2018-09-19 20:36:14 +00:00
370bd22372 Merge pull request #5484 from ipfs/fix/resolve-hamt
resolve: use unixfs ResolveOnce
2018-09-19 18:41:44 +00:00
23b44ba3c7 Merge pull request #5485 from schomatis/fix/commands/files-cp-wrap-flush-error
files cp: wrap flush error
2018-09-19 18:39:19 +00:00
ce8eb134b5 Merge pull request #5466 from ipfs/fix/less-noisy-boostrap-warning
make warnings on no bootstrap peers less noisy
2018-09-19 18:37:41 +00:00
0fd87de1a4 coreapi name: accept namesys options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-19 11:51:42 +02:00
b5bba2ce80 Merge pull request #5486 from kjzz/fix/id
fix offline id bug
2018-09-19 03:01:02 +00:00
e633eccee4 Merge pull request #5477 from kjzz/fix/publish
error when publishing ipns records without a running daemon
2018-09-19 02:19:31 +00:00
5676eb530b cmds: improve help/errors for allow-offline
Better explain what's happening and why.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-18 17:27:05 -07:00
87250b142c Merge pull request #5481 from ipfs/fix/name-test-swarm
coreapi name: Increase test swarm size
2018-09-18 18:38:34 +00:00
53d1251f74 fix offline id bug
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-18 17:57:59 +08:00