Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Investigate using isomorphic git

See original GitHub issue

The 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

Isomorphic git 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

wmhiltoncommented, Sep 6, 2019

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.

wmhiltoncommented, Sep 6, 2019

a public API for directly manipulating a repo (like a “bare repo” use case). We would use it to write blob and tree objects, create commits (including a merge commit), and create/update a branch.

There’s a lot of that in place now! blobs and trees aren’t too hard create with writeObject (although I could add a writeBlob and writeTree to make it even easier) and commit now lets you override all the fields including parent and tree and combined with noUpdateBranch: true lets you create “branch-free, working-dir-free” commit objects. I need to update the documentation for merge this weekend but it should also have similar features now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found