You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
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:
provide a more generic and efficient way to handle repositories frontend state
offer in-browser markdown edition,
How
To do so, we need to implement a small library providing the following features:
take a head commit IPLD CID and reduce it into an historically ordered commit array [the commit history of the given branch] as done in the current background script here
turn an IPLD linked-data commit object into an easier to manipulate Javascript / Typescript object
extract each file last update date and message for these commits
take a Javascript / Typescript object and turn it back into an IPLD / linked data commit object [to easily create a new commit to push from the browser]
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.
The text was updated successfully, but these errors were encountered: