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

Add initial implementation of scrap yard init/commit #36

Draft
wants to merge 13 commits into
base: trunk
Choose a base branch
from

Conversation

tekknolagi
Copy link
Owner

  • Add pygit2
  • Messing around with pygit2
  • Implement scrap yard init/commit

TODO: Add "scrap add" to take a scrap, serialize it, and commit it to a
scrapyard.
Use pygit2 and store scrapyards as git repositories. Scraps are
blobs/files (for now? maybe they should be trees if they refer to other
scraps). The representation on-disk is the serialized result of
evaluating the scrap.
@tekknolagi tekknolagi force-pushed the mb-content-addressible branch from f90d22c to 1a5a0d6 Compare December 10, 2023 18:52
@tekknolagi
Copy link
Owner Author

Might want something like https://gist.github.com/uniphil/9570964 for paths like a/b

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

Successfully merging this pull request may close these issues.

1 participant