8000 LibGit2Sharp: update to libgit2 v1.6.2 by ethomson · Pull Request #2015 · libgit2/libgit2sharp · GitHub
[go: up one dir, main page]

Skip to content

LibGit2Sharp: update to libgit2 v1.6.2 #2015

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

Merged
merged 1 commit into from
Mar 3, 2023
Merged

LibGit2Sharp: update to libgit2 v1.6.2 #2015

merged 1 commit into from
Mar 3, 2023

Conversation

ethomson
Copy link
Member

No description provided.

@ethomson
Copy link
Member Author

still haven't figured out what's changed that's affecting #1957 as well. 🙃

@bording
Copy link
Member
bording commented Feb 25, 2023

still haven't figured out what's changed that's affecting #1957 as well. 🙃

I never could figure it out after spending a decent amount of time on it, pretty much bringing any progress here to a halt.

@ethomson
Copy link
Member Author
ethomson commented Feb 25, 2023

I think the last problem is libgit2/libgit2#6506

@Balkoth
Copy link
Balkoth commented Feb 27, 2023

After building with libgit2/libgit2#6506 only one test fails:
image

PR libgit2/libgit2@acb00e4 introduced another builtin extension 'objectformat' which has to be added to the test i think.

Once this is done i hope we can get a new release ✌

@ethomson
Copy link
Member Author

@Balkoth to clarify - are you building with this PR and seeing failures around objectformat? It should take the objectformat changes into account. 🤔

@Balkoth
Copy link
Balkoth commented Feb 27, 2023

Oh sorry, i did not use this PR to check, i used what i checked out from the head last week. Obviously this PR fixes the test failures around objectformat 👍

@ethomson ethomson changed the title LibGit2Sharp: update to libgit2 v1.6.1 LibGit2Sharp: update to libgit2 v1.6.2 Mar 1, 2023
@ethomson
Copy link
Member Author
ethomson commented Mar 2, 2023

Oh sorry, i did not use this PR to check, i used what i checked out from the head last week. Obviously this PR fixes the test failures around objectformat 👍

No worries @Balkoth - appreciate the update!

@ethomson ethomson merged commit 70d62d5 into master Mar 3, 2023
@ethomson ethomson deleted the ethomson/v1.6 branch March 3, 2023 14:48
@arturcic
Copy link
Contributor
arturcic commented Mar 6, 2023

@ethomson any plans on releasing to nuget?

Comment on lines +11 to +26
/// <summary>
/// Do not follow any off-site redirects at any stage of
/// the fetch or push.
/// </summary>
None = 0, // GIT_REMOTE_REDIRECT_NONE

/// <summary>
/// Allow off-site redirects only upon the initial
/// request. This is the default.
/// </summary>
Auto, // GIT_REMOTE_REDIRECT_INITIAL

/// <summary>
/// Allow redirects at any stage in the fetch or push.
/// </summary>
All // GIT_REMOTE_REDIRECT_ALL
Copy link

Choose a reason for hiding this comment

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

@ethomson I believe this is wrong. According to https://github.com/libgit2/libgit2/blob/2f20fe8869d7a1df7c9b7a9e2939c1a20533c6dc/include/git2/remote.h#L49-L66:

GIT_REMOTE_REDIRECT_NONE = (1 << 0),
GIT_REMOTE_REDIRECT_INITIAL = (1 << 1),
GIT_REMOTE_REDIRECT_ALL = (1 << 2)

Which is 1 - 2 - 4 instead of 0 - 1 - 2.

Copy link

Choose a reason for hiding this comment

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

@bording Also FYI since you're the maintainer.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, it seems like that definition should match: #2027

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.

4 participants
0