Skip to content

Update libgit2sharp to 0.24+ to fix path issues with escape sequences #1415

Closed

Description

@nlowe

libgit2sharp can't load the native DLL if the path contains %2F, which happens frequently on Jenkins when building pipelines in nested folders.

libgit2/libgit2sharp#1389 was fixed in libgit2/libgit2sharp#1409, which appears to be in 0.24+. It looks like GitVersion master is still targeting a prerelease of 0.23. Any chance we can upgrade to 0.24+ and cut a release? I'd be happy to send a PR if that is acceptable.

We can work around this by setting a customWorkspace on the Jenkins node definition, but I'd really like to not have to update all my builds with custom workspace naming logic just to get nice versioning.

Activity

  1. nlowe commented on May 30, 2018

    @nlowe
    Author

    It seems like #1248 may solve this.

  2. asbjornu commented on Jun 27, 2019

    @asbjornu
    Member

    After upgrading to LibGit2Sharp 0.26 in #1713, I hope this problem is fixed. Please try the latest build of GitVersion and report back whether it fixes this problem or not. Reopen this issue if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions