Git Product home page Git Product logo

Comments (8)

samcday avatar samcday commented on June 5, 2024

This would be nice, but there's currently nothing like this offered in libgit2, and it doesn't look like it's coming any time soon unfortunately.

However, GSoC is coming, and I think there's a chance of some exciting projects for libgit2, so we'll see what happens there!

Once gitteh is documented and I have some time, it might be a possibility that we could flesh out a gitteh interface for working with remotes, and just have it use the git client in a shell (for now), once libgit2 offers native implementation, we can switch to that.

Gonna tag this as "Wishlist" for now :)

from node-gitteh.

samcday avatar samcday commented on June 5, 2024

@TooTallNate

We actually, I couldn't help myself. I whipped up a "git clone" in pure Node.js and gitteh in a day of hacking :) Go check it out, it's in the remotes branch. The relevant code is in lib/remotes.js, and you can run a sample in the top level with the file remotetest.js. It uses the "dumb" HTTP protocol to pull in all needed resources to clone a repository locally. It's pretty rough, needs a bit of polishing to be 100% functional, but I wrote it so that it should also work with a git fetch without too much extra work.

from node-gitteh.

samcday avatar samcday commented on June 5, 2024

Oh also, it'll only work with some changes I had to make to libgit2 in my fork, if you were wanting to test it out.

from node-gitteh.

TooTallNate avatar TooTallNate commented on June 5, 2024

Looking cool Sam! I'll try it out when I get a little free time (hopefully tonight)!

Sent from my iPhone

On Apr 6, 2011, at 0:54, [email protected] wrote:

Oh also, it'll only work with some changes I had to make to libgit2 in my fork, if you were wanting to test it out.

Reply to this email directly or view it on GitHub:
#10 (comment)

from node-gitteh.

darvin avatar darvin commented on June 5, 2024

ssh clone support in development of libgit2
libgit2/libgit2#1558

from node-gitteh.

darvin avatar darvin commented on June 5, 2024

any takers?

from node-gitteh.

samcday avatar samcday commented on June 5, 2024

@darvin, check out examples/clone.js and examples/show_remote.js - this functionality should be available in master builds

from node-gitteh.

samcday avatar samcday commented on June 5, 2024

Gitteh v0.17.0 is published, and allows basic interaction with remotes, along with a proof-of-concept high level git clone example.

from node-gitteh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.