cl-git icon indicating copy to clipboard operation
cl-git copied to clipboard

a Common Lisp CFFI interface to the libgit2 library mirror https://sr.ht/~rsl/cl-git/

  • cl-git

This is common lisp wrapper around the =libgit2= library. It's still early days and the abstraction is far from complete, but there is enough for this library to be useful.

  • [[https://russell.github.io/cl-git/][Documentation]]
  • [[https://github.com/russell/cl-git/issues][Bug Tracker]]

** What It Can Do

  • SHA conversions, formatting
  • create commits
  • revision walking
  • index file (staging area) manipulation
  • reference management listing
  • Requires
  • SBCL 1.2.6 x86-64 or CCL 1.10 x86-64
  • libgit2: 0.21.0
  • Testing

Install Roswell

Installing:

#+begin_src shell ros install sbcl

./run-tests.lisp #+end_src

  • Building Documentation

Documentation requires sphinxcontrib.cldomain which depends on

  • Sphinx
  • cl-launch 3.21.7
  • asdf 3.1
  • quicklisp

Using =virtualenv= run:

#+begin_src shell pip install -r doc/requirements.txt #+end_src

If you do not have fabric:

#+begin_src shell pip install fabric #+end_src

To build run:

#+begin_src shell fab build #+end_src

  • License

This library is licensed under the LLGPL essentially it's the same as the LGPL but with [[http://opensource.franz.com/preamble.html][preamble]] that puts the Lisp terminology in context.