ipfs / go-delegated-routing

See https://github.com/ipfs/go-libipfs/tree/main/routing/http instead.
Other
5 stars 9 forks source link

Determine v1 schema #8

Closed petar closed 2 years ago

petar commented 2 years ago

Done Criteria

There is a schema that Go IPFS Stewards (go-ipfs) and Data Systems (storethesytem) agree on and is checked in. Basically, with what we know today, are there any changes that should be made to the schema? If so, they should get be checked in.

Why Important

Enables client and server implementations to be worked on and deployed independently without fear that there will be breaking changes. This is needed for https://github.com/ipfs/go-ipfs/issues/8775.

Notes

This v1 schema should be set in light of what have learned from delegated routing conversations with storetheindex. The schema should be set based on what is believed to be best for delegated-routing, but should be informed of real usecases.

As part of this discussion, we should be clear about where the "Filecoin records" are getting filtered out: a) on the Indexer implementation of "findproviders" or b) on the client side (e.g., Hydra, go-ipfs) after getting the "findproviders" result.

There are existing / related PRs open around this:

6

7

willscott commented 2 years ago

I left my comments in https://github.com/ipfs/go-delegated-routing/pull/6 a bit ago, but the main things I'd like to see in the shared schema are:

BigLep commented 2 years ago

I don't know yet when we'll pick this up. We're working on getting input from leadership on where we should focus. I am aiming to have more clarity on this by end of week (2022-03-11).

BigLep commented 2 years ago

2022-03-22 conversation: this is being acted on now. The plan is to write a ipfs/spec that will mostly be IPLD schema.

aschmahmann commented 2 years ago

Spec PR https://github.com/ipfs/specs/pull/272

BigLep commented 2 years ago

Resolving since https://github.com/ipfs/specs/pull/272 was merged.