Re: DrRackGit & LibGit2

Stephen De Gabrielle <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <CAGHj7-LyW0WEf9COY50oeN5E8W92G-Gw+UB3q2469Aq1Od62yw@mail.gmail.com>
HI John,

Thanks for taking the time to look at this - anytime you have is
appreciated.

As I'm not familiar with FFI and I'm not clear what the benefits over git
that lib2git brings on Windows/Linux/Macos I was honestly considering
leaving 'as-is' libgit2 and adding using git as an option in DrRackGit (via
racket/system) on the grounds that users will have git installed anyway.
(I'm pretty sure 'Github desktop' uses git, though it might have changed to
libgit2 in an update)

If you feel FFI/Libgit2 is worth the effort I'll follow you lead - please
don't hesitate to give me any task that will help.

> I definitely don’t have any time before next Tuesday.
Not a problem - I'm enthusiastic but DrRacket isn't my day job either. 😁

Thanks again,

Stephen

---
Welcome to DrRacket, version 6.11 [3m].
Language: racket, with debugging; memory limit: 128 MB.
#<cpointer>
1
--------------------
repository > libgit2 > git repo path
. FAILURE
name:       check-equal?
location:   test-libgit2.rkt:100:16
actual:
#<path:/private/var/folders/z2/c979h8pd6hldd4bvyw24p0jr0000gp/T/test-libgit2/.git/>
expected:
#<path:/var/folders/z2/c979h8pd6hldd4bvyw24p0jr0000gp/T/test-libgit2/.git\>
--------------------
--------------------
config > libgit2 > open level
. ERROR

git_config_open_level: contract violation
  expected: 0
  received: "7: no config file exists for the given level '1'"
--------------------
45 success(es) 1 failure(s) 1 error(s) 47 test(s) run
2
>


On Thu, Dec 7, 2017 at 10:57 PM, John Clements <clements-USm5ewCNdr/[email protected]>
wrote:

>
>
> > On Dec 7, 2017, at 2:34 PM, Stephen De Gabrielle <
> [email protected]> wrote:
> >
> > I should be clear, I ran the libgit2 tests by hard coding the location
> of the library and running them manually. I don’t really know what I’m
> doing so that was the best I could muddle through.
>
> That doesn’t sound ideal. Probably it’s better to deliver the library with
> the package on macos & windows, & ask user to install using package manager
> on linux. Sounds like entertaining work, and I’ve been meaning to take a
> look at this for quite a while now, but I definitely don’t have any time
> before next Tuesday.
>
> John
>
> > S.
> >
> > On Thu, 7 Dec 2017 at 22:28, Stephen De Gabrielle <
> [email protected]> wrote:
> > Only on macOS, but most tests passed.
> > S.
> > On Thu, 7 Dec 2017 at 22:15, John Clements <clements-USm5ewCNdr/[email protected]>
> wrote:
> > Bradley was a student of mine, so I’m interested generally. Have you
> checked to see whether adding the libgit2 dependency allows the tests to
> pass?
> >
> > John
> >
> > > On Dec 7, 2017, at 10:27 AM, Stephen De Gabrielle <
> [email protected]> wrote:
> > >
> > >
> > > Hi,
> > > https://pkgs.racket-lang.org/package/Drrackgit
> > > https://github.com/bbusching/drrackgit
> > > https://pkgs.racket-lang.org/package/libgit2
> > > https://github.com/bbusching/libgit2
> > > https://libgit2.github.com/
> > >
> > > I was very excited when I found the DrRackGit tool in the Racket
> packages, but saddened to find it is currently failing.
> > >
> > > Bradley, the original developer was kind enough to diagnose the issue
> ( it is missing the dependency on the libgit2 library.) and add a
> compatible licence, but isn’t able to maintain it at the moment.
> > >
> > > Is anyone interested in fixing the libgit2 package?
> > >
> > > Kind regards,
> > >
> > > Stephen
> > >
> > > PS I have built the lib2git library on macOS, but I lack the required
> experience in FFI and I can’t currently build for Linux or windows.
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Kind regards,
> > > Stephen
> > > --
> > > Ealing (London), UK
> > >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups "Racket Users" group.
> > > To unsubscribe from this group and stop receiving emails from it, send
> an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> > > For more options, visit https://groups.google.com/d/optout.
> >
> >
> >
> > --
> > Kind regards,
> > Stephen
> > --
> > Ealing (London), UK
> > --
> > Kind regards,
> > Stephen
> > --
> > Ealing (London), UK
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.