1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 01:12:24 +08:00

8965 Commits

Author SHA1 Message Date
d1a3fccd34 Merge pull request #4637 from ipfs/gx/update-go-log
gx: update go-log
2018-02-03 15:30:42 -08:00
8e6519bd5a Merge pull request #4640 from ipfs/doc/godoc-importer
Docs: golint-ify  "importers" module
2018-02-03 15:30:27 -08:00
cb24cfa658 Merge pull request #4645 from ipfs/fix/4642
only run the build test on test_go_expensive
2018-02-03 15:24:55 -08:00
79072dcc47 Merge pull request #4641 from ipfs/feat/cat-sessions
Use a bitswap session for 'Cat'
2018-02-03 15:23:57 -08:00
a703e2d1f2 comments
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-03 14:45:11 -08:00
513b373a85 only run the build test on test_go_expensive
fixes #4642

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-03 13:31:04 +01:00
e77b938161 coreapi: update block after update
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-02 22:57:54 +01:00
1de040d0b7 Use a bitswap session for 'Cat'
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-02 12:25:20 -08:00
b382191619 Fix missing rename in test
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-02 11:52:52 +01:00
3abc6aa063 Fix depedency
I changed it unnoticedly.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-02 11:34:10 +01:00
8c176d26eb commands/block: use CIDv1 with custom mhtype
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-02 01:56:41 +01:00
5d90aa2a8f Docs: golint-ify "importers" module
This fixes all golint warnings in the importers module, adding
documentation and module descriptions.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-01 23:47:38 +01:00
6405844869 add gx-workspace-update.json to the gitignore
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-31 21:55:00 -08:00
b2cbfd299c gx: update go-log
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-31 21:54:22 -08:00
3f2c774663 Merge pull request #4624 from ipfs/feat/expand-issue-template
expand the issue template and remove the severity field
2018-01-31 15:11:30 -08:00
92226a1ea2 Merge pull request #4626 from soenkehahn/patch-1
fix typo
2018-01-30 23:24:07 -08:00
5fa1ea227a Merge pull request #4629 from ipfs/nit/hmm
minor drive-by code cleanup
2018-01-30 23:23:44 -08:00
41d9daf653 minor drive-by code cleanup
We'll dedup the code later, for now:

1. Don't drop errors on the floor.
2. Don't modify anything returned by `Links()` directly...

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-30 20:51:05 -08:00
c03c41994d fix typo
License: MIT
Signed-off-by: Sönke Hahn <SoenkeHahn@gmail.com>
2018-01-30 21:15:23 -05:00
bb6bf4ce53 coreapi: block tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-31 00:31:08 +01:00
b125c89ac7 corapi: block docs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-31 00:31:08 +01:00
bdc9f6a96a coreapi: implement block API
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-31 00:31:08 +01:00
219eae7614 coreapi: draft block API
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-31 00:31:08 +01:00
cb5bb7dd8a Merge pull request #4627 from ipfs/fix/merge-snafoo
fix hidden merge conflicts
2018-01-30 14:48:42 -08:00
9c67eb4cf0 fix the coreapi/object import grouping
(while we're at it)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-30 14:22:39 -08:00
fbf8f5ddbd rename go-ipld-format package name from node to ipld
...to match the recent mass rename in #4610.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-30 14:21:24 -08:00
b1dbc1c487 fix hidden merge conflicts
Oh for a CI that runs on merge...

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-30 14:16:14 -08:00
4d8b3c9bce Merge pull request #4492 from ipfs/feat/coreapi/object
coreapi: Basic object API implementation
2018-01-30 13:14:06 -08:00
b3860881e8 Merge pull request #4610 from ipfs/gx/update-1m7019
mega update
2018-01-30 11:12:15 -08:00
3d4da02a2e expand the issue template and remove the severity field
* Direct users seeking support to the forums.
* Remove the severity field. It doesn't actually help (especially because we
  can't filter by it and, anyways, *we* end up deciding the severity).
* Put the section comments *inside* the sections. This has been annoying me from
  day 1.
* Put the welcome text *at the top* so users actually read it.
* Expand on what we want in a description.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 15:29:23 -08:00
2379aa0dd1 update comment to note that we're punting on this
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 15:06:08 -08:00
87c6914890 update go-ds-badger
fixes #4524

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 12:56:13 -08:00
f9d935b984 rename import of go-ipld-format from node/format to ipld
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 11:55:34 -08:00
f1aba9764f fix error in test case
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 11:32:34 -08:00
1054826ac4 switch base64 decoder based on OS
Less magical.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-28 14:13:16 -08:00
faae63fcf1 handle error from changed NewFloodSub method
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-28 14:11:05 -08:00
5acbecc26b update go-lib2p-loggables
fixes a UUID bug I introduced (UUIDs were always an error value)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 18:05:30 -08:00
d0998a926d make base64 decoding cross-platform
support both the -D and the -d flag.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
118ecb22cd remove new DHT record author check
We're going to just fix this a future commit. *This* change breaks publishing
IPNS records using alternative IPNS keys (because the author signature (peer ID)
differs from the record signature).

We're going to fix it by validating the IPNS signature and ditching the
author/signature fields.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
e049228e17 fix namesys pubsub sharness tests
We *expect* name resolution to fail as nothing has been published.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
d73bf86cf7 note issue for failing dht test cases
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
97cb6a0fbe fix dht tests
we no longer allow putting values with arbitrary keys.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
1159abd83e cmds: can't call SetError after SetOutput
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 18:02:59 -08:00
699b2c4bb8 make code-climate happier
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:43:03 -08:00
0d12a971ad namesys: remove unecessary peerID cast
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:20 -08:00
d154b4a990 merkledag: switch to new dag interface
Also:

* Update the blockstore/blockservice methods to match.
* Construct a new temporary offline dag instead of having a
  GetOfflineLinkService method.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
730754d9d2 dagmodifier: remove useless offset update
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
49569a6142 gx update badger ds (fix internal deps issue)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
fdb0046a17 Fix ipns validator key parsing
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-01-25 15:13:19 -08:00
f6d507b203 go fmt
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-01-25 15:13:19 -08:00