kubo/plugin
Hannah Howard f63a997c35
IPLD Prime In IPFS: Target Merge Branch (#7976)
* feat: switch to using go-ipld-prime for codecs, path resolution, and the `dag put/get` commands
* fix: `dag put/get` not roundtripping due to an extra new line being added (https://github.com/ipfs/go-ipfs/issues/3503)

More detailed information is in the CHANGELOG.md file. Very high level:
* IPLD codecs (and their plugins) must use go-ipld-prime
* Added support for the dag-json codec
* `dag get/put` use IPLD codec names from the multicodec table
* `dag get` defaults to dag-json output instead of json, but may output with other codecs
* Data model pathing can be achieved using the /ipld prefix. For example, you can use `/ipld/QmFoo/Links/0/Hash` to traverse through a DagPB node
* With `dag get/put` the DagPB field names have been changed to match the ones in the protobuf listed in the specification

Co-authored-by: hannahhoward <hannah@hannahhoward.net>
Co-authored-by: Daniel Martí <mvdan@mvdan.cc>
Co-authored-by: acruikshank <acruikshank@example.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Will Scott <will.scott@protocol.ai>
Co-authored-by: Will Scott <will@cypherpunk.email>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
Co-authored-by: Eric Myhre <hash@exultant.us>
2021-08-17 13:32:49 -04:00
..
loader IPLD Prime In IPFS: Target Merge Branch (#7976) 2021-08-17 13:32:49 -04:00
plugins IPLD Prime In IPFS: Target Merge Branch (#7976) 2021-08-17 13:32:49 -04:00
daemon.go plugins: support Close() for Tracer plugins as well 2019-09-24 17:43:07 +09:00
daemoninternal.go plugins: introduce PluginDaemonInternal to directly interact with IpfsNode 2019-11-22 13:18:44 +01:00
datastore.go add support for datastore plugins 2018-09-23 16:52:57 +02:00
ipld.go IPLD Prime In IPFS: Target Merge Branch (#7976) 2021-08-17 13:32:49 -04:00
plugin.go doc(plugin): document plugin config 2020-05-12 21:56:02 -07:00
Rules.mk plugin: create plugin API and loader, add ipld-git plugin 2017-07-12 21:53:59 +02:00
tracer.go plugins: support Close() for Tracer plugins as well 2019-09-24 17:43:07 +09:00