Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to libgit2 v0.22.1 #390

Merged
merged 35 commits into from
Feb 17, 2015
Merged

Update to libgit2 v0.22.1 #390

merged 35 commits into from
Feb 17, 2015

Conversation

johnhaley81
Copy link
Collaborator

This is the current status on updating nodegit to use the latest
libgit2. There are some major breaking API changes that need to be
accounted for and will force nodegit to also do a major update as
well.

@johnhaley81
Copy link
Collaborator Author

Currently the missing callbacks are breaking the build and that's what I'm working on putting in.

John Haley added 5 commits February 11, 2015 10:40
When including `git2/sys/stream.h` we'll get a compile time
error. Our fork of this fixes it for right now and we'll switch
back over to libgit2 proper after the PR is merged back into
the maint/0.22 branch
@johnhaley81 johnhaley81 force-pushed the update-libgit2-0.22.0 branch from bb70c77 to 969452a Compare February 11, 2015 17:41
@johnhaley81
Copy link
Collaborator Author

Currently playing whack-a-bug with building. Fix a bug/build/fix next bug/build/etc...

@johnhaley81
Copy link
Collaborator Author

That test passing on Travis is a false positive.

John Haley added 5 commits February 13, 2015 10:29
I added a skip on the HTTP test because although github does a
redirect to HTTPS which might fail cert check on osx, libgit2
originally detects the HTTP and throws an error that a cert
check is defined.
I added a skip for the "fetch all" test since it's timing out right
now and I'm not sure why. I'm skipping it since it breaks all of
the other tests after it.
@johnhaley81
Copy link
Collaborator Author

So there's still some things that are funky right now.

With the "fetch all" test it's killing nodegit somehow. I think something's going on in C++ that's not getting cleaned up properly. I haven't been able to track it down.

Now with the http test we have libgit2 anrgy that we're setting a cert check on http since http doesn't use any certification. However, this particular http call redirects to https which then does use a cert which sometimes dies on osx.

I think I'll open up an issue on libgit2 about that since that seems like an oversight.

@johnhaley81
Copy link
Collaborator Author

libgit2/libgit2#2904 for HTTP redirect to HTTPS cert check.

@johnhaley81
Copy link
Collaborator Author

All of the examples are working. I think after we get Windows green lit we can merge this in!

@johnhaley81 johnhaley81 changed the title [WIP] Update to libgit2 v0.22.1 Update to libgit2 v0.22.1 Feb 17, 2015
johnhaley81 added a commit that referenced this pull request Feb 17, 2015
@johnhaley81 johnhaley81 merged commit 8e6e447 into master Feb 17, 2015
@johnhaley81 johnhaley81 deleted the update-libgit2-0.22.0 branch February 17, 2015 17:56
@tbranyen tbranyen added this to the 0.3.0 milestone Mar 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants