Investigate using isomorphic git
See original GitHub issueThe nodegit dependency has been quite problematic during the life of the cardstack project. Primarily due to all the C++ bindings across the different architectures that we strive to support, and now most recently it looks like nodegit is not compatible with the more secure OpenSSH keys that are created by by default from ssh-keygen
https://github.com/nodegit/nodegit/issues/1606.
Isomorphic git https://isomorphic-git.org/ is a pure javascript implementation of git that could alleviate all of these challenges that we’ve been struggling with using nodegit. Let’s investigate migrating to using isomorphic git.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Quick Start - isomorphic-git
Here's a whirlwind tour of the main features of isomorphic-git . First, let's set up LightningFS and isomorphic-git. Note: I've already done this...
Read more >isomorphic-git: Quick Start - RunKit
Here's a whirlwind tour of the main features of `isomorphic-git`. First, let's make a temporary directory we can work in:.
Read more >isomorphic-git: Pure JavaScript implementation of Git - Morioh
The "isomorphic" in isomorphic-git means that the same code runs in either the server or the browser. That's tricky to do since git...
Read more >isomorphic-git/Lobby - Gitter
(investigate Gerrit, and read some of that guy's articles about the Notes ref system.) ... This article also had a nice use case...
Read more >isomorphic-git - npm
isomorphic -git is a pure JavaScript reimplementation of git that works in both Node.js and browser JavaScript environments. It can read and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As of v0.65.0 isomorphic-git can do full-fledged non-fast-forward merges! I’m not shouting about it from the rooftops yet, but by this weekend I’ll have updated the documentation and be thinking about writing a blog post about this new feature.
@jenweber If it would help, I can go through the APIs table you made and fill in the isomorphic-git column.
There’s a lot of that in place now! blobs and trees aren’t too hard create with
writeObject
(although I could add awriteBlob
andwriteTree
to make it even easier) andcommit
now lets you override all the fields includingparent
andtree
and combined withnoUpdateBranch: true
lets you create “branch-free, working-dir-free” commit objects. I need to update the documentation formerge
this weekend but it should also have similar features now.