[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANN] Guile-Git 0.1.0 released
From: |
Thompson, David |
Subject: |
Re: [ANN] Guile-Git 0.1.0 released |
Date: |
Fri, 6 Jul 2018 09:03:04 -0400 |
On Thu, Jul 5, 2018 at 9:33 PM, Erik Edrosa <address@hidden> wrote:
> Hello everyone,
>
> This is the first release of Guile-Git, GNU Guile bindings to
> libgit2[0]. Guile-Git provides modules for interacting with git
> repositories. Here is a small example program which clones guile-git
> repo and prints some information:
>
> (use-modules (git))
>
> (define repo (clone "https://gitlab.com/guile-git/guile-git.git"
> "/tmp/guile-git"))
>
> (display (repository-directory repo))
> (newline)
>
> (let ((commit (commit-lookup repo (string->oid
> "92b5ad587351423cc64372d525946c8fdcf23467"))))
> (display (signature-name (commit-author commit)))
> (newline)
> (display (commit-message commit)))
>
> It outputs:
>
> /tmp/guile-git/.git/
> Erik Edrosa
> build: Change version to 0.1.0
>
> * configure.ac: Change version 0.1 to 0.1.0.
This is really neat! Thanks for sharing it with us!
- Dave