From 827658917a337d508615e78f89b0102ea68fc6d5 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Tue, 3 Dec 2024 17:40:35 -0500 Subject: [PATCH 1/5] Add note about new SSH support --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 3f0fc677b..a00b598d7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,7 @@ ### Changes - This release includes [libgit2 v1.8.4](https://github.com/libgit2/libgit2/releases/tag/v1.8.4). + - SSH is now supported through [libgit2's support for OpenSSH](https://github.com/libgit2/libgit2/pull/6617). - The ppc64le architecture is now supported on Linux. - .NET 6 has reached end of support, so LibGit2Sharp now targets `net472` and `net8.0`. From 50d697881e857ea0c78d63cc7f23fece3f526852 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Mon, 20 Jan 2025 17:49:17 -0500 Subject: [PATCH 2/5] Use arm runner images (#2141) --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d29a0999..54837ac35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,11 +66,10 @@ jobs: run: dotnet test LibGit2Sharp.sln --configuration Release --framework ${{ matrix.tfm }} --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING test-linux: name: Test / ${{ matrix.distro }} / ${{ matrix.arch }} / ${{ matrix.tfm }} - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.runnerImage }} strategy: matrix: - arch: [ amd64 ] - # arch: [ amd64, arm64 ] + arch: [ amd64, arm64 ] distro: [ alpine.3.17, alpine.3.18, alpine.3.19, alpine.3.20, centos.stream.9, debian.12, fedora.40, ubuntu.20.04, ubuntu.22.04, ubuntu.24.04 ] sdk: [ '8.0', '9.0' ] exclude: @@ -85,15 +84,16 @@ jobs: tfm: net8.0 - sdk: '9.0' tfm: net9.0 + - arch: amd64 + runnerImage: ubuntu-22.04 + - arch: arm64 + runnerImage: ubuntu-22.04-arm fail-fast: false steps: - name: Checkout uses: actions/checkout@v4.1.2 with: fetch-depth: 0 - - name: Setup QEMU - if: matrix.arch == 'arm64' - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset - name: Run ${{ matrix.tfm }} tests run: | git_command="git config --global --add safe.directory /app" From cb58177757b38448f95ed68c2b6f6f587945f386 Mon Sep 17 00:00:00 2001 From: Marcel Suter <11473920+suterma@users.noreply.github.com> Date: Thu, 30 Oct 2025 16:03:39 +0100 Subject: [PATCH 3/5] Fix libgit2 link (#2170) * Fixed libgit2 link * Update URL --------- Co-authored-by: Brandon Ording --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3aafdceb1..96aa2bbd1 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![CI](https://github.com/libgit2/libgit2sharp/actions/workflows/ci.yml/badge.svg)](https://github.com/libgit2/libgit2sharp/actions/workflows/ci.yml) [![NuGet version (LibGit2Sharp)](https://img.shields.io/nuget/v/LibGit2Sharp.svg)](https://www.nuget.org/packages/LibGit2Sharp/) -**LibGit2Sharp brings all the might and speed of [libgit2](http://libgit2.github.com/), a native Git implementation, to the managed world of .NET** +**LibGit2Sharp brings all the might and speed of [libgit2](https://libgit2.org/), a native Git implementation, to the managed world of .NET** ## Online resources From 8f3a63a3e5de21d45b2da10b73a65240564b8af3 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 20 Jul 2026 14:04:39 +0100 Subject: [PATCH 4/5] Update LibGit2Sharp.NativeBinaries to 2.0.324 --- LibGit2Sharp/LibGit2Sharp.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index 1c4abef7b..1e8844867 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -29,7 +29,7 @@ - + From 7bd83626aa84c1872ecb1e090705a41eac0b37d3 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 20 Jul 2026 15:23:54 +0100 Subject: [PATCH 5/5] ci: update runners and containers Update runner targets for windows, macos. Update container builds to use more modern multiarch containers. --- .github/workflows/ci.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54837ac35..7fae84681 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,10 +38,12 @@ jobs: strategy: matrix: arch: [ x64 ] - os: [ windows-2019, windows-2022, macos-13 ] + os: [ windows-2022, windows-2025, macos-14, macos-15 ] tfm: [ net472, net8.0, net9.0 ] exclude: - - os: macos-13 + - os: macos-14 + tfm: net472 + - os: macos-15 tfm: net472 include: - arch: arm64 @@ -71,19 +73,33 @@ jobs: matrix: arch: [ amd64, arm64 ] distro: [ alpine.3.17, alpine.3.18, alpine.3.19, alpine.3.20, centos.stream.9, debian.12, fedora.40, ubuntu.20.04, ubuntu.22.04, ubuntu.24.04 ] - sdk: [ '8.0', '9.0' ] + sdk: [ '8.0', '9.0', '10.0' ] exclude: - distro: alpine.3.17 sdk: '9.0' + - distro: alpine.3.17 + sdk: '10.0' - distro: alpine.3.18 sdk: '9.0' + - distro: alpine.3.18 + sdk: '10.0' - distro: alpine.3.19 sdk: '9.0' + - distro: alpine.3.19 + sdk: '10.0' + - distro: alpine.3.20 + sdk: '10.0' + - distro: fedora.40 + sdk: '10.0' + - distro: ubuntu.20.04 + sdk: '10.0' include: - sdk: '8.0' tfm: net8.0 - sdk: '9.0' tfm: net9.0 + - sdk: '10.0' + tfm: net10.0 - arch: amd64 runnerImage: ubuntu-22.04 - arch: arm64 @@ -98,5 +114,5 @@ jobs: run: | git_command="git config --global --add safe.directory /app" test_command="dotnet test LibGit2Sharp.sln --configuration Release -p:TargetFrameworks=${{ matrix.tfm }} --logger "GitHubActions" -p:ExtraDefine=LEAKS_IDENTIFYING" - docker run -t --rm --platform linux/${{ matrix.arch }} -v "$PWD:/app" -e OPENSSL_ENABLE_SHA1_SIGNATURES=1 gittools/build-images:${{ matrix.distro }}-sdk-${{ matrix.sdk }} sh -c "$git_command && $test_command" + docker run -t --rm --platform linux/${{ matrix.arch }} -v "$PWD:/home/gittools/app" -w "/home/gittools/app" -e OPENSSL_ENABLE_SHA1_SIGNATURES=1 gittools/build-images:${{ matrix.distro }}-sdk-${{ matrix.sdk }} sh -c "$git_command && $test_command"