Creating an in-memory Git repository
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 450
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
libgit2 supports creating an in-memory repository that doesn't write to disk at all. This is useful for applications that only need to clone a repo once to do some analysis and then discard them.
See https://stackoverflow.com/a/39864196 for an example.
It seems git2-rs does not support this.. Or haven't I looked hard enough?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing git2-rs's repository-creation entry points with libgit2's in-memory repository support and the linked Stack Overflow example. Define the required API and verify it with tests; done means applications can create and use a repository without writing to disk.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, rust
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100