rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.63k stars 12.74k forks source link

Write libgit2 bindings for Rust #6410

Closed catamorphism closed 10 years ago

catamorphism commented 11 years ago

This would be good for rustpkg so it doesn't have to shell out to invoke git.

I'll do this if no one else picks it up, but it could be a good starter project for somebody.

kimhyunkang commented 11 years ago

I'd like to try this as a side project

It would make a great weekend hack project

kud1ing commented 11 years ago

See https://github.com/kimhyunkang/git2-rs

emberian commented 11 years ago

Visiting for triage; exciting that you are doing this, thank you!

catamorphism commented 11 years ago

@kud1ing - What's your status? Do you need any help in order to complete this? (Thanks!)

kud1ing commented 11 years ago

Tim, i've never taken it. And i fear i can not take it.

catamorphism commented 11 years ago

@kud1ing No problem, thanks for letting me know!

kud1ing commented 11 years ago

@kimhyunkang seems to have started such bindings.

ghost commented 10 years ago

Should this be closed now?

passcod commented 10 years ago

@kimhyunkang's bindings look like they haven't been updated past Rust 0.9, so no.

ghost commented 10 years ago

@passcod Well, my thinking was that with Cargo in place I don't think this is a Rust issue. There's many libraries that would be great to see implemented in Rust and libgit2 being just one of them.

passcod commented 10 years ago

Fair enough.

eminence commented 10 years ago

I've started some bindings as well. The code is incomplete, but what's there is functioning.

Code: https://github.com/eminence/libgit2-rs Docs: http://eminence.github.io/libgit2-rs/doc/git2/git2/index.html

alexcrichton commented 10 years ago

Oh dear, sorry I should have posted here! I'm also working on some bindings for cargo here: https://github.com/alexcrichton/git2-rs

I'm only working on it in my spare time, but we should sync up!

eminence commented 10 years ago

Ok, cool! You might see some pull requests from me soon, then.

richo commented 10 years ago

I also had a poke, but ended up in bindgen hell.

Keen to see this become a thing though.

thestinger commented 10 years ago

The bindings do exist and provide a fair bit of functionality. I don't think there's a point in leaving an issue open here, the tracker at https://github.com/alexcrichton/git2-rs is a better location for any issues.