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

8965 Commits

Author SHA1 Message Date
f6ba685428 Merge pull request #5356 from ipfs/feat/protobuf-2
update protobuf files in go-ipfs
2018-08-15 23:03:57 +00:00
c80b418e4d remove old unused imports
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 12:04:06 -07:00
5ae130dee2 update protobuf files in go-ipfs
Also:

* Switch to gogo for filestore for consistency.
* Use the "faster" codegen for fewer allocations.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 12:02:21 -07:00
3d1802fe64 Merge pull request #5345 from ipfs/fix/5335
return a json object from config show
2018-08-15 18:47:12 +00:00
99df4636b8 Merge pull request #5373 from ipfs/feat/gossipsub
gossipsub
2018-08-15 18:45:18 +00:00
f8725d8ec9 better documentation for gossipsub
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 20:30:21 +03:00
9300997887 fix gx duplicate dep by updating iptb
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 10:02:32 -07:00
42a9cdcbfb fix gossipsub test initialization
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
643522e990 document Pubsub.Router option to enable gossipsub
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
884df03320 gossipsub sharness test
just a copy of t0180-pubsub with gossipsub enabled for now

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
8a7a26169d instantiate pubsub router based on configuration
in particular, this enabls gossipsub when configured so.

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
e002de9571 update go-ipfs-config
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
ca0c3ba47f update go-floodsub to 0.9.24
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
f351386de4 Merge pull request #5382 from ipfs/feat/update-go-cid
gx: update go-cid
2018-08-15 17:00:12 +00:00
2450ddde81 gx: update go-cid
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 08:30:22 -07:00
56ba44e3b7 Merge pull request #5354 from ipfs/fix/coreunix/add/improvs
Fix some weird code in core/coreunix/add.go
2018-08-14 18:43:36 +00:00
de72087df3 Fix some weird code in core/coreunix/add.go
Code was just weird. I think it looks better now.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-08-14 13:15:53 +02:00
672591972c Merge branch 'feat/ds-bytes'
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-13 15:25:38 -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
0e5ed59400 Merge pull request #5364 from ipfs/fix/1515
add correct test for 1515
2018-08-13 17:01:58 +00:00
95d53bfc30 Merge pull request #5375 from ipfs/kevina/cid-builder
Gx updates and fixes to use new cid.Builder interface.
2018-08-13 16:02:09 +00:00
fd6f78edf8 Merge pull request #5374 from ipfs/ci/cleanup-ws
ci: call cleanWs after each step
2018-08-13 02:15:16 +00:00
fda3d88245 Rename prefix to CidBuilder in names when a cid.Builder is used.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-12 20:49:49 -04: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
d6ac920feb ci: call cleanWs after each step
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-12 15:50:54 +02:00
6899b1f151 Merge pull request #5371 from ipfs/diasdavid-patch-1
docs: add url to dev weekly sync to the README
2018-08-11 16:57:50 +00:00
c1e10dbc4e add correct test for 1515
When checking to see if GC fully reverses an `ipfs add`, we should check the
size of the actual files, not the directory sizes. A bunch of empty directories
won't use *that* much space and really shouldn't count against GC.

closes #1515

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-11 09:53:52 -07:00
eaad8e6a3f docs: add url to dev weekly sync to the README
License: MIT
Signed-off-by: diasdavid <daviddias.p@gmail.com>
2018-08-11 13:15:27 +02:00
b75c53866a Merge pull request #5365 from ipfs/fix/5288
update cmdkit to fix the progress bar
2018-08-11 01:45:28 +00: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
8e1b3c0a45 Merge pull request #5277 from ipfs/misc/extract/config
Extract config package
2018-08-10 16:55:48 -07:00
838a30cd22 gx: Update config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-09 12:39:55 +02:00
ffc74391d5 move version.go to top level package
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-09 11:01:10 +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
0d48dda98d Extract repo/config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-09 10:26:05 +02:00
750831e133 move serialize package to config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-09 10:24:49 +02:00
3296412d19 Merge pull request #5355 from ipfs/feat/protobuf
update gogo-protobuf
2018-08-09 03:48:43 +00: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
04f7f2845b Merge pull request #5352 from ipfs/fix/v0v1-get-size
add GetSize method to the v0v1 blockstore
2018-08-08 17:52:13 +00:00
144bbb6555 add GetSize method to the v0v1 blockstore
fixes hidden merge conflict

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-08 10:21:14 -07:00
92099a2ed1 Merge pull request #5348 from ipfs/feat/update-blockstore-path
gx: update blockstore and path
2018-08-08 17:11:05 +00:00
324615da58 Merge pull request #5285 from ipfs/kevina/cidv0v1
Add ability to retrieve blocks even if given using a different CID version
2018-08-07 21:19:30 -07:00
8aef43d572 Merge pull request #5339 from ipfs/refactor/coreapi/key
key cmd: Refactor to use coreapi
2018-08-07 16:03:35 -07:00
877fa90f8c Also check hash type in 'tryOtherCidVersion'.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-07 19:03:07 -04:00
fb414229f9 cleanup filestore switch statements
(address CR)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-07 15:36:47 -07:00
eac8072320 implement the new GetSize methods for the filestore blockservices
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-07 10:03:03 -07:00
88a38e667a modifications for ResolveToLastNode changes
see: https://github.com/ipfs/go-path/pull/1

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