1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-21 00:47:22 +08:00

130 Commits

Author SHA1 Message Date
5afa7ebfdc refact(cmd/repo): repo verify uses new cmd lib
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-03 17:12:32 +08:00
f7b6ee3c87 refact(cmd/repo): repo fsck and repo version uses new cmd lib
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-03 17:04:44 +08:00
17e7892036 enhance(cmd/verify): add goroutine count to improve verify speed
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-02 13:30:12 -07:00
78d878e253 fix(cmd/gc): Run func does not return error when Emit func returns error
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-10-29 15:49:14 +08:00
38cae95f30 gx: update go-ipfs-cmds to 2.0.5
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-10-26 19:50:32 -04:00
37f0fd92c7 gx: update go-ipfs-cmds
(no code changes)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-26 09:26:53 -07:00
2b0bc7e084 configurable pubsub singing
I'd like to sneak this into the release so we can turn on strict verification
ASAP.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-26 04:00:44 -07:00
c97c3459be gx update
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-24 09:59:43 -07:00
59e5a9c652 gx: update to use extracted go-ipfs-files
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-18 10:16:31 +02:00
098933ade4 gx: update stuff
* go-datastore and friends: GetSize
* badger: new release, fewer allocations
* go-mplex: send fewer packets
* go-bitswap: pack multiple blocks in a single message, fewer allocations
* go-buffer-pool: replace the buffer pool from go-msgio
* yamux: fixed data race and uses go-buffer-pool for stream read-buffers to
  reduce memory and allocations.
* go-libp2p-secio: get rid of a hot-spot allocation
* go-libp2p-peerstore: reduced allocations (at the cost of some memory)

More?

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-05 14:48:44 -07:00
3dc0ce7fa1 refactor all command code
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-05 11:21:54 +08:00
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
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
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
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
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
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
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
54e2cc629a gx: fix hashes
(some extra files got committed)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-11 20:53:24 -07:00
d3174f4bd9 gx update and fix code to use new Cid type
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-09-11 22:21:04 -04:00
a6e617f55c gx: update peerstore
Also:

* Updates go-floodsub to fix a data race.
* Updates golang-lru

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-07 23:40:08 -07:00
46a1d9d39b gx update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-31 10:29:26 -07:00
1c57b1d287 update go-ipfs-config to version 0.2.5
License: MIT
Signed-off-by: Marten Seemann <martenseemann@gmail.com>
2018-08-29 08:58:40 +07:00
b0c480acf5 name cmd: move subcommands to subdirectory
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-22 10:34:44 +02:00
656d7cc1a6 gx: update go-cid, go-libp2p-peer, go-ipfs-cmds, go-ipfs-cmdkit
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-21 17:39:56 -07:00
e002de9571 update go-ipfs-config
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
2450ddde81 gx: update go-cid
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 08:30:22 -07:00
79e7d5e542 update go-datastore to use []byte values instead of {}interface values
* Most of our datastores barf on non []byte values.
* We have to have a bunch of "is this a []byte" checks.
* Saves some allocations.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-13 14:42:55 -07:00
075ecb09d0 Gx updates and fixes to use new cid.Builder interface.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-12 19:15:07 -04:00
f0769366f1 update cmdkit to fix the progress bar
The progressbar should now correctly calculate the size of a directory (by
ignoring the directory sizes).

fixes #5288

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-10 17:21:28 -07:00
838a30cd22 gx: Update config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-09 12:39:55 +02:00
d52091fa55 Update iptb
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-09 10:57:31 +02:00
b65cf84a34 repo: move version.go back here
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-09 10:51:15 +02:00
6fcd205e20 Update imports to point to go-ipfs-config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-09 10:37:07 +02:00
594d95af5d update gogo-protobuf
fixes #3214

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-08 18:56:13 -07:00
3e13277dd4 gx: update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-07 10:02:59 -07:00
53235242a1 gx update deps
Updates:

* go-net
* go-text
* dns
* prometheus
* protobuf (golang, not gogo)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-23 11:49:43 -07:00
9a9979b193 update go-cid
alternative to #5243 that updates go-cid and all packages that depend on it

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-16 15:16:49 -07:00
9c8d994c76 remove debug print statement
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-07-08 13:01:54 +02:00
9d88d2cde8 RepoStat: address review comments
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-07-08 13:01:54 +02:00
79b388c690 Feat: use datastore.DiskUsage() and add --size-only to "repo stat"
This makes use of the PersistentDatastore DiskUsage method to
obtain the Repo's storage usage (GetStorageUsage()).

Additionally, the --size-only flag has been added to the
"ipfs repo stat" command. This avoids counting the number of objects
in the repository and returns faster.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-07-08 13:01:46 +02:00
3eba14aa24 gx update
Updates:

* go-kad-dht: Query performance improvements, DHT client fixes, validates
  records on *local* put.
* go-libp2p-swarm/go-libp2p-transport: Timeout improvements.
* go-multiaddr-net: Exposes useful Conn methods (CloseWrite, CloseRead, etc.)
* go-log: fixes possible panic when enabling/disabling events.
* go-multiaddr: fixes possible panic when stringifying malformed multiaddrs,
  adds support for consuming /p2p/ multiaddrs.

fixes #5113
unblocks #4895

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-26 17:11:33 -07:00
85acad9a01 gx update go-log, sys, go-crypto
* go-log
* sys
* go-crypto

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
1e9e2f453c update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
b675ade0d8 gx: update go-ipfs-cmds
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-04-24 15:01:16 -04:00
816787448f refactor: extract fs lock into go-fs-lock
License: MIT
Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
2018-03-29 12:22:33 -07:00
3ee1d76d88 Update to latest go-datastore
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
7824c2cf4e check arguments after handling help
otherwise, we block on required arguments from stdin before processing the help
flag.

fixes #4837

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 15:58:34 -07:00