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

Bump libgit2 to 1.0 #35233

Merged
merged 7 commits into from
Sep 9, 2020
Merged

Bump libgit2 to 1.0 #35233

merged 7 commits into from
Sep 9, 2020

Conversation

nalimilan
Copy link
Member

Needs JuliaPackaging/Yggdrasil#638 so that BinaryBuilder can provide the new version. We also need to update the build flags to sync with Yggdrasil if we decide to keep using LibCURL there.

This drops support for previous versions, but we could keep it if needed by adding new branches.

@simonbyrne simonbyrne added the libgit2 The libgit2 library or the LibGit2 stdlib module label May 28, 2020
simonbyrne added a commit that referenced this pull request May 29, 2020
Until we can build 1.0.0 (#35233).
simonbyrne added a commit that referenced this pull request May 29, 2020
Until we can build 1.0.0 (#35233).
simonbyrne added a commit that referenced this pull request May 29, 2020
Until we can build 1.0.0 (#35233).
staticfloat pushed a commit that referenced this pull request Jun 10, 2020
Until we can build 1.0.0 (#35233).
@nalimilan nalimilan changed the title Bump libgit2 to 0.99.1 Bump libgit2 to 1.0.1 Aug 4, 2020
@nalimilan nalimilan changed the title Bump libgit2 to 1.0.1 Bump libgit2 to 1.0 Aug 4, 2020
@nalimilan
Copy link
Member Author

nalimilan commented Aug 4, 2020

I've updated the PR now that LibGit2 1.0.0 has been added to Yggdrasil. I've also added a commit to remove any occurrence of curl, since AFAICT the only user of it was libgit2, which now uses its own internal library by default. This could break packages that relied on libcurl being available (if any), but they should use BinaryProvider instead.

@KristofferC KristofferC added this to the 1.6 milestone Aug 4, 2020
deps/Versions.make Outdated Show resolved Hide resolved
deps/libgit2.version Outdated Show resolved Hide resolved
@nalimilan nalimilan marked this pull request as ready for review August 7, 2020 12:38
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 11, 2020
Copy link
Contributor

@simonbyrne simonbyrne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changes to stdlib/LibGit2/ look good to me.

I can't comment on deps/ and Makefile changes though

@staticfloat
Copy link
Sponsor Member

We probably don't want to remove libcurl here, since we're about to add a new client of libcurl via @StefanKarpinski's new curl-based downloader. Cool that libgit2 dropped dependence on it though!

@nalimilan
Copy link
Member Author

OK, I've reverted the removal of curl. Good to go?

Copy link
Contributor

@simonbyrne simonbyrne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to add the necessary hashes to julia/deps/checksums/, and remove the old ones.

It also looks like https://github.com/JuliaLang/julia/blob/master/deps/patches/libgit2-case-sensitive.patch is no longer necessary?

@nalimilan
Copy link
Member Author

Ah right. Done. (It looks like the checksums for the tarball were missing for the currently used release, but nobody tests this path now...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libgit2 The libgit2 library or the LibGit2 stdlib module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants