Repository navigation
Release 3.1.0 - #2517
Merged
Merged
Release 3.1.0#2517
Conversation
Fixes #1650 Assisted-by: GPT-6
Signed-off-by: huang <[email protected]>
Adds the generic empty-path case the reviewer asked for: an empty path yields no prefix segments, so the endpoints stay at the host root.
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 24.2.0 to 25.0.0. - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases) - [Commits](DavidAnson/markdownlint-cli2-action@21c1be1...696eb3f) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-version: 25.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
…25.0.0 (#2488) Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 24.2.0 to 25.0.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/696eb3f2509270d7b882d2aa68347bc676e7af34"><code>696eb3f</code></a> Update to version 25.0.0.</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/063f1a75a45b36e17163d5785d83df2fd433e918"><code>063f1a7</code></a> Freshen generated package-lock.json file, freshen generated index.js file.</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/34ef37bc394c352fcc5322bd95da85f0d23a8caf"><code>34ef37b</code></a> Bump eslint-package-json from 2.0.0 to 3.0.0</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/458dc3ecea4daf93cb30ec606063373aa4b5cf7b"><code>458dc3e</code></a> Bump eslint-plugin-unicorn from 77.0.0 to 78.0.0</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/a026977d3164a8f80a5d9a0cd8151821460849c4"><code>a026977</code></a> Freshen generated package-lock.json file, freshen generated index.js file.</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/bbd8e24a2d9628c397a79d2408bd573843d334a2"><code>bbd8e24</code></a> Update dependency: markdownlint-cli2 to 0.24.0.</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/a738a19d9832d3b83d526397ce5ac9cfc7a8bbc4"><code>a738a19</code></a> Freshen generated package-lock.json file, freshen generated index.js file.</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/a4921fd62bb0d815b129e980eb9236b91fb023e3"><code>a4921fd</code></a> Address new lint errors from previous commit.</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/ebdf726e0b249f5cd8d5f31689d3b1e38422110c"><code>ebdf726</code></a> Bump eslint-plugin-unicorn from 76.0.0 to 77.0.0</li> <li><a href="https://github.com/DavidAnson/markdownlint-cli2-action/commit/f76d7302a21cbcbf767d5f2ef333ff5ce91371ab"><code>f76d730</code></a> Bump eslint-package-json from 1.0.0 to 2.0.0</li> <li>Additional commits viewable in <a href="https://github.com/davidanson/markdownlint-cli2-action/compare/21c1be1b93ad9ed58fa840aacc3f279cde2a72ff...696eb3f2509270d7b882d2aa68347bc676e7af34">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
The Linux and macOS archive scripts ran `tar -C <dir> .`, which records the current directory itself as a `./` entry at the top of the payload and symbols tarballs. The entry serves no purpose, and when a tarball is extracted with `tar -xf <tarball> -C <dir>`, as documented in the install guide, it makes tar apply the archived directory's mode and mtime to the destination directory. List the directory's entries by name instead. The glob has to expand inside the source directory, since tar applies -C itself rather than the shell, so cd in a subshell. Chain it with `&&` because errexit is ignored for a subshell on the left of `||`, and a failed cd must not archive the wrong directory. Pass `--` so a file name starting with `-` isn't treated as an option. The published binaries and symbols contain no hidden files, so the plain `*` glob archives everything that `.` did. Avoid shell-specific options such as bash's `shopt -s dotglob`, to stay shell agnostic. The set of archived files is unchanged apart from the removed entry. An empty source directory now fails to archive instead of producing a tarball containing only `./`. Assisted-by: GitHub Copilot Signed-off-by: Matthew John Cheetham <[email protected]>
The Linux and macOS release tarballs begin with a `./` directory entry
because `archive.sh` runs `tar -C <dir> .`. The entry serves no purpose.
When users extract with the documented `tar -xf <tarball> -C
/usr/local/bin`, it also makes `tar` apply the archived directory's mode
and mtime to the existing destination directory.
- **`build/linux/archive.sh`, `build/macos/archive.sh`**
- The payload and symbols `tar` calls (four in total) now list the
directory's entries by name instead of `.`:
```sh
(cd "$BINDIR" && shopt -s dotglob && tar -czf "$PAYLOAD_TARBALL" -- *)
|| die "..."
```
- Only the `./` entry is removed. Every other archived file is the same
as before.
- **Why not `-C "$DIR" *`:** `tar` applies `-C` itself, so the shell
would expand `*` in the caller's working directory, not in `$DIR`. The
glob has to expand inside `$DIR`, hence the subshell.
- **`&&` chaining:** bash ignores `set -e` for a subshell on the left of
`||`. Without `&&`, a failed `cd` would fall through and archive the
wrong directory.
- **`shopt -s dotglob`:** `*` skips hidden files by default, and the old
`.` form included them.
- **`--`:** a file name starting with `-` is not parsed as a `tar`
option.
## Behaviour change
An empty source directory now fails with "Failed to create binaries
archive" (or "symbols"), because the glob matches nothing. Before, it
produced a tarball containing only `./`. For the payload this is
arguably better. A real publish always puts `.dbg`, `.pdb` or `.dSYM`
files in the symbols directory. Please flag it if you want an empty
symbols directory skipped instead.
## Review notes
- The solution-wide `dotnet build` and `dotnet test` do not run these
scripts, because the distribution projects are `Build Project="false"`
in `git-credential-manager.slnx`. The scripts are exercised by `dotnet
build build/linux` and `dotnet build build/macos`.
- I couldn't run the macOS script end to end on a Linux host, because
`lib-cli.sh` rejects `osx-*` runtimes there. It differs from the Linux
script only in help text and comments. Its exact `tar` lines were
checked under `bsdtar`, which is libarchive-based like macOS's `tar`.
<!-- START COPILOT CODING AGENT SUFFIX -->
- Fixes #2476
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 5.2.0 to 6.1.0. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](actions/setup-dotnet@v5.2.0...v6.1.0) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
## Summary - preserve a Gitea instance's deployment prefix when constructing universal OAuth endpoints - add a regression test for Gitea hosted under a subfolder ## Validation - `dotnet build git-credential-manager.slnx` - `dotnet test git-credential-manager.slnx` Fixes #1650
GitHub Enterprise with Data Residency (aka Proxima) has is a cloud-native offering of GHE, hosted in Azure. All Proxima instances exist as a subdomain of *.ghe.com, so let's ensure our host detection can pick these up to avoid an expensive network probe. Proxima also has some special behaviour and differences from GHES and DotCom. One difference is that the /meta API endpoint requires authentication, so it cannot be used to query what authentication modes are available; the catch-22 situation! Instead, we specify the set of authentication modes that Proxima hosts can support as PAT & OAuth. Signed-off-by: Matthew John Cheetham <[email protected]>
Diagnostics should try and avoid using other parts of GCM, because those components may be broken in some way. For this reason, the diagnose command does not use the `IConsoleService`, which provides a wrapper around a TTY and prompting `AnsiConsole` (from Spectre.Console), nor the `IStandardStream`, which wrap the stdin, stdout, and stderr streams of the parent process. However, during unit tests of the diagnose command, our use of the static `AnsiConsole` for rich command output means the test harness gets the progress and other informational output. This is typically recommended against by most testing frameworks. Instead, we inject a `TestConsole : IAnsiConsole` into the diagnose command during unit testing. The production command gets the singleton instance of the `AnsiConsole`. Signed-off-by: Matthew John Cheetham <[email protected]>
GitHub.com and Proxima both have their API endpoints at the api.
subdomain, rather than GHES which has an /api/v{version} route.
Update our logic for computing the API request URLs to also handle
GitHub Proxima like we do for DotCom.
Signed-off-by: Matthew John Cheetham <[email protected]>
GitHub Enterprise with Data Residency (aka Proxima) has is a cloud-native offering of GHE, hosted in Azure. All Proxima instances exist as a subdomain of `*.ghe.com`, so let's ensure our host detection can pick these up to avoid an expensive network probe. Proxima also has some special behaviour and differences from GHES and DotCom. One difference is that the `/meta` API endpoint requires authentication, so it cannot be used to query what authentication modes are available; the catch-22 situation! Today, GCM will attempt and fail to query the meta endpoint with a warning message like: ```console warning: Failed to query 'https://foo.ghe.com/' for supported authentication schemes. ``` Instead, we specify the set of authentication modes that Proxima hosts can support as PAT & OAuth. We also update the way we compute an API endpoint, since Proxima is more like Dotcom than it is GHES. The former has the API endpoint sit off of an `api` subdomain, whereas the latter uses an `/api/v{version}` route.
We typically store files with the LF line ending in our repo. The OAuth client file was stored with CRLF in error. Fix that. Signed-off-by: Matthew John Cheetham <[email protected]>
RFC 6749 states that a client MAY send client credentials (client ID + client secret) in either the `Authorization` header, or as part of the request body (such as in form data). However, the RFC also states a client MUST NOT send the client credentials in both the request body AND the `Authorization` header at the same time. We must make sure we only send credentials in the header if configured so, and therefore also only send credentials in the body if not. Additionally, depending on the implementation of the authorization server, public clients need not send a client secret either in the request body or `Authorization` header. If we have no real value, we should not send the credentials. Note that the client ID is always required, and may be present in the request body even if the credentials are sent in the `Authorization` header, so let's always still send the client ID in the body. Finally, we have also been sending the redirect URI in the request body for flows/endpoints that did not require them - stop doing that. According to RFC 6749 only the authorization code request needs a redirect URI to be sent, and also in the corresponding token request. Signed-off-by: Matthew John Cheetham <[email protected]>
We have a cancellation token from the caller, but we have not been passing this down to the `Content.ReadAdStringAsync()` operation on the HTTP responses. Let's do this. Signed-off-by: Matthew John Cheetham <[email protected]>
Correct several discrepancies between the shared OAuth2 client’s request construction and [RFC 6749 §3.2.1][client-auth] and [RFC 8628 §3.1][device-auth], separately from the token-exchange feature. Client credentials could previously be sent through both HTTP Basic and the request body, contrary to [RFC 6749 §2.3][single-auth]’s prohibition on multiple authentication methods per request. Apply the configured method consistently to token and device-authorization requests, omit unconfigured secrets ([§2.3.1][client-password]), and retain body `client_id` for [client identification][client-id]. Stop sending `redirect_uri` during [refresh requests][refresh] and remove the test server’s corresponding requirement. Authorization-code requests continue to repeat the original redirect URI when it was supplied during authorization, as required by [RFC 6749 §4.1.3][code-request]. Also propagate cancellation to response-body reads. The OAuth client’s LF line-ending normalization is kept in a separate commit so the functional changes remain easy to review. [client-auth]: https://www.rfc-editor.org/rfc/rfc6749.html#section-3.2.1 [device-auth]: https://www.rfc-editor.org/rfc/rfc8628.html#section-3.1 [single-auth]: https://www.rfc-editor.org/rfc/rfc6749.html#section-2.3 [client-password]: https://www.rfc-editor.org/rfc/rfc6749.html#section-2.3.1 [client-id]: https://www.rfc-editor.org/rfc/rfc6749.html#section-2.2 [refresh]: https://www.rfc-editor.org/rfc/rfc6749.html#section-6 [code-request]: https://www.rfc-editor.org/rfc/rfc6749.html#section-4.1.3
Diagnostics should try and avoid using other parts of GCM, because those components may be broken in some way. For this reason, the diagnose command does not use the `IConsoleService`, which provides a wrapper around a TTY and prompting `AnsiConsole` (from Spectre.Console), nor the `IStandardStream`, which wrap the stdin, stdout, and stderr streams of the parent process. However, during unit tests of the diagnose command, our use of the static `AnsiConsole` for rich command output means the test harness gets the progress and other informational output. This is typically recommended against by most testing frameworks. Instead, we inject a `TestConsole : IAnsiConsole` into the diagnose command during unit testing. The production command gets the singleton instance of the `AnsiConsole`.
Fedora's floating container image now points to Fedora 45, whose openssl-libs package supplies OpenSSL 4. The portable .NET 10 SDK still needs libssl.so.3, so source installation aborts before GCM can be built. Use Fedora's OpenSSL 3 compatibility package rather than downgrading the system libraries or pinning validation to an older release. Limit the extra dependency to Fedora 45 and later, since older Fedora and the other Red Hat-family distributions do not need it. Validate Fedora 44 alongside the latest image to cover both sides of the OpenSSL transition. Assisted-by: GPT-6.1 Sol Signed-off-by: Matthew John Cheetham <[email protected]>
Fedora's floating container image now points to Fedora 45, whose openssl-libs package supplies OpenSSL 4. The portable .NET 10 SDK still needs libssl.so.3, so source installation aborts before GCM can be built. Use Fedora's OpenSSL 3 compatibility package rather than downgrading the system libraries or pinning validation to an older release. Limit the extra dependency to Fedora 45 and later, since older Fedora and the other Red Hat-family distributions do not need it. Validate Fedora 44 alongside the latest image to cover both sides of the OpenSSL transition.
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 5.2.0 to 6.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-dotnet/releases">actions/setup-dotnet's releases</a>.</em></p> <blockquote> <h2>v6.1.0</h2> <h2>What's Changed</h2> <h3>Enhancements</h3> <ul> <li>Add check-latest input to reuse a locally installed .NET SDK and skip network calls by <a href="https://github.com/v-mahabaleshwars"><code>@v-mahabaleshwars</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/774">actions/setup-dotnet#774</a></li> <li>Add skip-lts-prepass input to optimize .NET SDK installation process by <a href="https://github.com/v-chiranjib-swain"><code>@v-chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/791">actions/setup-dotnet#791</a></li> <li>Add fallback install directory when default is not writable by <a href="https://github.com/v-priyagupta108"><code>@v-priyagupta108</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/785">actions/setup-dotnet#785</a></li> </ul> <h3>Documentation</h3> <ul> <li>Document sdk.version validation for rollForward in global.json by <a href="https://github.com/v-priyagupta108"><code>@v-priyagupta108</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/763">actions/setup-dotnet#763</a></li> <li>Docs: Add Microsoft docs link for dotnet-quality options by <a href="https://github.com/v-priyagupta108"><code>@v-priyagupta108</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/773">actions/setup-dotnet#773</a></li> <li>Docs: Updating Documentation in README by <a href="https://github.com/v-lmvysakh"><code>@v-lmvysakh</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/776">actions/setup-dotnet#776</a></li> <li>Clarify dotnet-quality behavior for multiple SDK versions by <a href="https://github.com/v-mahabaleshwars"><code>@v-mahabaleshwars</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/780">actions/setup-dotnet#780</a></li> </ul> <h3>Dependency Updates</h3> <ul> <li>Fix security vulnerabilities by <a href="https://github.com/v-HarithaVattikuti"><code>@v-HarithaVattikuti</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/767">actions/setup-dotnet#767</a></li> <li>ci: make validation caches read-only by <a href="https://github.com/philip-gai"><code>@philip-gai</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/777">actions/setup-dotnet#777</a></li> <li>Bump actions/checkout from 7.0.0 to 7.0.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/764">actions/setup-dotnet#764</a></li> <li>Bump browserslist from 4.28.2 to 4.28.8 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/781">actions/setup-dotnet#781</a></li> <li>Bump eslint from 10.5.0 to 10.11.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/772">actions/setup-dotnet#772</a></li> <li>Bump eslint-plugin-jest from 29.15.2 to 29.16.6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/771">actions/setup-dotnet#771</a></li> <li>Bump undici from 6.28.0 to 6.29.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/784">actions/setup-dotnet#784</a></li> <li>Bump actions/checkout from 7.0.0 to 7.0.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/788">actions/setup-dotnet#788</a></li> <li>Bump handlebars from 4.7.9 to 4.7.10 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/792">actions/setup-dotnet#792</a></li> <li>Bump brace-expansion by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/790">actions/setup-dotnet#790</a></li> <li>Prepare v6.1.0 release with updated cache dependency by <a href="https://github.com/v-HarithaVattikuti"><code>@v-HarithaVattikuti</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/798">actions/setup-dotnet#798</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/v-lmvysakh"><code>@v-lmvysakh</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-dotnet/pull/776">actions/setup-dotnet#776</a></li> <li><a href="https://github.com/v-chiranjib-swain"><code>@v-chiranjib-swain</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-dotnet/pull/791">actions/setup-dotnet#791</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-dotnet/compare/v6.0.0...v6.1.0">https://github.com/actions/setup-dotnet/compare/v6.0.0...v6.1.0</a></p> <h2>v6.0.0</h2> <h2>What's Changed</h2> <ul> <li>Migrate to ESM and upgrade dependencies by <a href="https://github.com/priyagupta108"><code>@priyagupta108</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/752">actions/setup-dotnet#752</a></li> <li>Bump actions/checkout from 6.0.3 to 7.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-dotnet/pull/751">actions/setup-dotnet#751</a></li> <li>chore(deps): bump <code>@actions/cache</code> to 6.2.0 by <a href="https://github.com/philip-gai"><code>@philip-gai</code></a> in <a href="https://redirect.github.com/actions/setup-dotnet/pull/756">actions/setup-dotnet#756</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/philip-gai"><code>@philip-gai</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-dotnet/pull/756">actions/setup-dotnet#756</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-dotnet/compare/v5...v6.0.0">https://github.com/actions/setup-dotnet/compare/v5...v6.0.0</a></p> <h2>v5.4.0</h2> <h2>What's Changed</h2> <h3>Enhancements</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-dotnet/commit/0f4a354dd5547a28c70b7853dbd95d5b67886e73"><code>0f4a354</code></a> Prepare v6.1.0 release with updated cache dependency (<a href="https://redirect.github.com/actions/setup-dotnet/issues/798">#798</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/6ec5c6b286b66cf79f015cd3276f2eab462ba1b9"><code>6ec5c6b</code></a> Add fallback install directory when default is not writable (<a href="https://redirect.github.com/actions/setup-dotnet/issues/785">#785</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/62573f4b60b156cb305166dcca336c2a9574d6ea"><code>62573f4</code></a> Bump brace-expansion (<a href="https://redirect.github.com/actions/setup-dotnet/issues/790">#790</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/67290a9d23faa2b6594ee5c5b2d3338b56d927b2"><code>67290a9</code></a> Bump handlebars from 4.7.9 to 4.7.10 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/792">#792</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/0072421cf6e93abd8c31251a408e089304f1f9d9"><code>0072421</code></a> Bump actions/checkout from 7.0.0 to 7.0.1 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/788">#788</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/9ead3175a9e8a676412315ab4ab2773dac3e0875"><code>9ead317</code></a> Bump undici from 6.28.0 to 6.29.1 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/784">#784</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/349aa191ae05aee6d53db4bcba37bd6980e812fe"><code>349aa19</code></a> Add skip-lts-prepass input to optimize .NET SDK installation process (<a href="https://redirect.github.com/actions/setup-dotnet/issues/791">#791</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/e2cf7c663b93c38144629f5d40b62d3eaaa63a03"><code>e2cf7c6</code></a> Bump eslint-plugin-jest from 29.15.2 to 29.16.6 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/771">#771</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/75763629d4dad645cf9bda516293f9a79adc490d"><code>7576362</code></a> Bump eslint from 10.5.0 to 10.11.0 (<a href="https://redirect.github.com/actions/setup-dotnet/issues/772">#772</a>)</li> <li><a href="https://github.com/actions/setup-dotnet/commit/074373ff885ac73f77e5f1d46785eeb8c925e06a"><code>074373f</code></a> Add check-latest input to reuse a locally installed .NET SDK and skip network...</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-dotnet/compare/v5.2.0...v6.1.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
GitHub returns granted OAuth scopes as a comma-separated value in the token response, which deviates from RFC 6749 section 3.3 which calls for a space-delimited format. Parse GitHub's response using its own format so GCM preserves the scopes granted to the user. Note that real-world testing shows that GitHub accepts either of space or comma-separated scopes for the 'scope' request parameter/field, so we don't need to change our request logic, only the response handling. Signed-off-by: Matthew John Cheetham <[email protected]>
Arch's rolling repositories now supply OpenSSL 4, while the portable .NET 10 SDK used by the source installer cannot load libssl.so.4. Source builds abort before compiling GCM, even though the system's openssl package is installed. Install the OpenSSL 3 compatibility libraries alongside the system OpenSSL package for Arch and CachyOS. This preserves the system's OpenSSL 4 dependencies while satisfying the SDK's existing ABI requirement. The .NET 10 backport in dotnet/runtime#135534 adds OpenSSL 4.x loading support. Once released and picked up by the SDK/runtime used for source builds, it should make this compatibility dependency unnecessary. Assisted-by: GPT-6.1 Sol Signed-off-by: Matthew John Cheetham <[email protected]>
Arch's rolling repositories now supply OpenSSL 4, while the portable .NET 10 SDK used by the source installer cannot load libssl.so.4. Source builds abort before compiling GCM, even though the system's openssl package is installed. Install the OpenSSL 3 compatibility libraries alongside the system OpenSSL package for Arch and CachyOS. This preserves the system's OpenSSL 4 dependencies while satisfying the SDK's existing ABI requirement. The .NET 10 backport in dotnet/runtime#135534 adds OpenSSL 4.x loading support. Once released and picked up by the SDK/runtime used for source builds, it should make this compatibility dependency unnecessary.
GitHub returns granted OAuth scopes as a comma-separated value in the token response, which deviates from [RFC 6749 section 3.3](https://www.rfc-editor.org/info/rfc6749/#section-3.3) which calls for a space-delimited format. Parse GitHub's response using its own format so GCM preserves the scopes granted to the user. Note that real-world testing shows that GitHub accepts either of space or comma-separated scopes for the 'scope' request parameter/field, so we don't need to change our request logic, only the response handling.
Signed-off-by: Matthew John Cheetham <[email protected]>
Update the version number ready for the 3.1.0 release. Git 2.98-rc0 is due early next week.
mjcheetham
enabled auto-merge
November 23, 2026 16:17
dscho
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Next week is Git 2.98-rc0, so let's cut our release ahead of that for some extra testing, and to give the Git for Windows project time to incorporate the new GCM bits into their release.
Changes:
diagnosecommand unit tests (diagnose: inject test AnsiConsole to diagnosecmd #2501)./entry from release tarballs #2491)