Open osarrouy opened 5 years ago
IPLD folks have updated their specs and all their related js
implementations. This is a mess now because if we wanna make pando compatible with their new release [and the upcoming ones] we have to update this library, but also the pando-repository
frontend and the git-remote-pando
CLI.
This makes me think that we clearly have a design issue since all this packages should rely on the same library the we could just update once to update all the packages.
I'm gonna try to figure out a possible interface / architecture for this library in the coming days ...
Hey,
Here is a summary of the discussion we've had yesterday with Cory regarding the implementation of a small
pando.js
library.What
The goal of this library would be to:
How
To do so, we need to implement a small library providing the following features:
Details
js-git-ipld
commit objects look like that:The idea would be for this library to take the CID of such a given commit [the HEAD cid of a branch] and turn it into the following ordered array:
Where each commit would look like that:
Conversely, this library should be able to take the object described below as an input an turn it back into an IPLD commit.