Kejie Zhang
3dc0ce7fa1
refactor all command code
...
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-05 11:21:54 +08:00
Kejie Zhang
51fa159e4a
add dns support in p2p forward connect
...
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-04 18:14:55 -07:00
Kejie Zhang
43d93cb01b
refactor p2p command code
...
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-04 18:13:24 -07:00
Steven Allen
05b3b81743
Merge pull request #5555 from overbool/feat/add-force-flag-for-files-rm
...
feat(command): add force flag for files rm
2018-10-04 17:52:01 -07:00
Kevin Atkinson
d127f1be98
gx update libp2p/go-buffer-pool
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-04 20:05:26 -04:00
Kevin Atkinson
2e975add22
gx update go-libp2p-peerstore
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-04 20:04:22 -04:00
Lars Gierth
fc2575740e
gx: update go-ipfs-config, iptb
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-10-04 20:02:42 -04:00
Kevin Atkinson
686dcdd9a4
Build fixes.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-04 20:02:29 -04:00
Lars Gierth
2c3ed7efb0
gx: update go-datastore, go-libp2p-swarm
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-10-04 19:52:42 -04:00
Łukasz Magiera
58c9de9e63
coreapi name: switch publish/resolve to coreapi
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 22:13:51 +02:00
Łukasz Magiera
e8b137f885
coreapi name: add some missing options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 22:11:17 +02:00
Łukasz Magiera
7807f575f1
coreapi key: error on self if ident not loaded
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 22:10:09 +02:00
Overbool
bd23e7d2ed
feat(command): add force flag for files rm
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-04 22:41:07 +08:00
Łukasz Magiera
7b478209b9
coreapi swarm: unify type with other apis
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 01:49:55 +02:00
Steven Allen
4f9bde807b
Merge pull request #4803 from ipfs/feat/coreapi/swarm
...
coreapi: Swarm API
2018-10-02 16:25:45 -07:00
Steven Allen
080b0e1754
Merge pull request #5509 from ipfs/chores/add-sessions-to-ls-command-4908
...
Add sessions when fetching MerkleDAG in LS
2018-10-02 16:06:41 -07:00
Steven Allen
d8ed9aba7d
Merge pull request #5550 from ipfs/fix/coreapi-pin-lock
...
take the pinlock when updating pins
2018-10-02 16:05:45 -07:00
Steven Allen
021fc9fb97
Merge pull request #5385 from ipfs/kevina/cid-cmd
...
Provide new "cid" sub-command.
2018-10-02 15:54:55 -07:00
Steven Allen
bf654ea4f8
defer the pinlock till we actually need it
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-02 15:39:32 -07:00
Steven Allen
ab69f0fb4d
take the pinlock when updating pins
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-02 14:36:12 -07:00
Kejie Zhang
dde11416f6
delete useless hash param in adder
...
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-02 11:33:12 -07:00
Kejie Zhang
1379ee76f3
add pin lock in AddallPin function
...
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-02 11:33:12 -07:00
Łukasz Magiera
1ed555b87f
Cleanup instances of manual resolver construction
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-02 18:35:14 +02:00
Łukasz Magiera
b2f6c3e3ed
coreapi swarm: missing docs, review
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-02 12:31:50 +02:00
Kevin Atkinson
54904a7691
Rename streamResults to streamResult.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:07:32 -04:00
Kevin Atkinson
7edc7de288
Eliminate emit closure, so something with errors on call to emit.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:07:16 -04:00
Kevin Atkinson
c0a873c27f
Address code review.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:07:01 -04:00
Kevin Atkinson
f3ea21c821
Reenable Stdin argument reading.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:36 -04:00
Kevin Atkinson
599bb7302e
Right align numbers in "ipfs cid bases|codecs|hashes" output.
...
This also avoid using TabWriter as it doesn't support right aligning a
single column and also because its an overkill for this case.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:20 -04:00
Kevin Atkinson
e5622f628a
Stream results for "ipfs cid format".
...
Note reading input from Stdin is broken. Only the first result is accepted.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:02 -04:00
Kevin Atkinson
98e5999761
Factor out boiler plate code for PostRun in "ipfs filestore ls".
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:05:47 -04:00
Kevin Atkinson
30b861bc5a
Remove "prefix" format string. Use WithDefault("%s') for `-f- option.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:05:29 -04:00
Kevin Atkinson
57f96019f7
Provide new "cid" sub-command.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:05:27 -04:00
Steven Allen
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
Łukasz Magiera
6fa2ab0d41
coreapi swarm: rewire address listing cmds
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:17:23 +02:00
Łukasz Magiera
df9f101892
coreapi swarm: rewire connect/disconnect
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:13:17 +02:00
Łukasz Magiera
30d42f4550
swarm cmd: port to new cmd lib
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:09:14 +02:00
Łukasz Magiera
44bab585a5
coreapi swarm: swarm refactor fixes
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:01:28 +02:00
Łukasz Magiera
e7f493b569
fix infinite loop in connInfo.ID
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:01:28 +02:00
Łukasz Magiera
8358c8d041
coreapi: implement swarm api
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:01:28 +02:00
Łukasz Magiera
1373218519
coreapi: swarm interface
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:01:28 +02:00
Jakub Sztandera
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
Overbool
5d173bf365
fix(unixfs): issue #5055
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-26 18:51:00 +08:00
Steven Allen
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
Steven Allen
074a1ab48e
update for interface changes
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-24 05:24:30 -07:00
Łukasz Magiera
91833e288f
gx: update go-libp2p-routing
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-24 14:03:57 +02:00
Steven Allen
ac53d3aaa4
Merge pull request #5494 from rob-deutsch/feat/publishquieter
...
add quieter option to name publish
2018-09-24 10:11:18 +00:00
rob-deutsch
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
hannahhoward
47f3c4048d
Add sessions to LS command
...
Uses sessions when fetching MerkleDAG
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-09-21 16:12:40 -07:00
Overbool
48c3effac8
fix(unixfs): issue #5217
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-21 15:44:38 +08:00