www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - dlibgit - D bindings to the libgit2 library

reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
https://github.com/AndrejMitrovic/dlibgit

These are the D bindings to the libgit2 library. libgit2 is a
versatile git library which can read/write loose git object files,
parse commits, tags, and blobs, do tree traversals, and do much more.
For more info: http://libgit2.github.com/#cando

License note from the libgit2 homepage:
libgit2 is licensed under a very permissive license (GPLv2 with a
special Linking Exception). This basically means that you can link it
(unmodified) with any kind of software without having to release its
source code.

There are two samples ported from the libgit2 repository, and more
samples will be added soon. The bindings have been partially tested
and are known to work on Windows and Linux. Compiling with 32bit
output is recommended until aliases to integral are fixed to their
safe equivalents (size_t & friends).

The bindings were autogenerated by dgen, with a few functions
hand-copied due to inlining issues. dgen is D wrapper generator for C
and C++ libraries, a work in progress, and there are no public
releases yet.

libgit2 homepage: libgit2.github.com/
libgit2 repo: https://github.com/libgit2/libgit2/
Oct 10 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-10-11 06:51, Andrej Mitrovic wrote:
 https://github.com/AndrejMitrovic/dlibgit

 These are the D bindings to the libgit2 library. libgit2 is a
 versatile git library which can read/write loose git object files,
 parse commits, tags, and blobs, do tree traversals, and do much more.
 For more info: http://libgit2.github.com/#cando

 License note from the libgit2 homepage:
 libgit2 is licensed under a very permissive license (GPLv2 with a
 special Linking Exception). This basically means that you can link it
 (unmodified) with any kind of software without having to release its
 source code.

 There are two samples ported from the libgit2 repository, and more
 samples will be added soon. The bindings have been partially tested
 and are known to work on Windows and Linux. Compiling with 32bit
 output is recommended until aliases to integral are fixed to their
 safe equivalents (size_t & friends).

 The bindings were autogenerated by dgen, with a few functions
 hand-copied due to inlining issues. dgen is D wrapper generator for C
 and C++ libraries, a work in progress, and there are no public
 releases yet.

 libgit2 homepage: libgit2.github.com/
 libgit2 repo: https://github.com/libgit2/libgit2/
Very nice, I will definitely have use for this in the future. -- /Jacob Carlborg
Oct 10 2012