Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI-client to serialize to/from a filesystem #4

Open
dysbulic opened this issue Apr 25, 2021 · 0 comments
Open

CLI-client to serialize to/from a filesystem #4

dysbulic opened this issue Apr 25, 2021 · 0 comments
Labels

Comments

@dysbulic
Copy link
Member

dysbulic commented Apr 25, 2021

It should be possible to create a command-line interface which will pull a Mïmis tree down as a collection of files and symlinks, then allow synchronizing updated data with the network.

Mïmis is ultimately meant to serve itself. All commits to libraries could be stored in the network and a given program could specify its dependencies in terms of those commits.

Tags and branches could be created by using specially structures subtrees. It would be much like the internal structure of Git now, but in a format that's human-readable. For example, I type mimis branch, and it returns me a listing from <repo root>/.mïmis/branches/.

The tricky part is how to know the repo root. In general, children in Mïmis don't know what other nodes are their parents. It is possible though, to store the Ceramic id of the parent which is the root of the repository. This could be saved as .mïmis/repository/.

With Git there is an object database in the .git/ directory. For Mïmis, the object database is in Ceramic. Each directory and file has its own commit history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant