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

Release 2.0.866 #944

Merged
merged 116 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
5637aa9
macos build: use runtime instead of osx-x64
ldennington Jul 11, 2022
b83bf02
Merge pull request #788 from ldennington/arm-fix
ldennington Jul 11, 2022
062310c
Deleted outdated instruction for GitLab Support
cornejom Jul 13, 2022
e209b3d
Merge pull request #790 from cornejom/gitlab-support-docs
ldennington Jul 13, 2022
f3aa617
release: consume auto-rotated SSL certificate
ldennington Jul 20, 2022
2d79a03
Merge pull request #797 from ldennington/ssl-cert-updates
ldennington Jul 21, 2022
9313670
build(deps): bump Newtonsoft.Json in /src/shared/Core
dependabot[bot] Jul 21, 2022
5faf473
Add broken link checking Action
wolf99 May 14, 2022
8d6b33b
Ignore GitLab FAQ link
wolf99 Jul 24, 2022
10935fb
Merge pull request #700 from wolf99/link-checker
mjcheetham Jul 25, 2022
0b7bdd3
ci: use macos-latest image for CI builds
mjcheetham Jul 25, 2022
162d657
Merge pull request #803 from mjcheetham/macos-latest
mjcheetham Jul 25, 2022
47ba58f
diagnose: don't await Git exit on config list
mjcheetham Jul 25, 2022
77f7922
Merge pull request #804 from mjcheetham/diagnose-hang
mjcheetham Jul 25, 2022
16d68da
build(deps): bump DavidAnson/markdownlint-cli2-action from 5.1.0 to 6
dependabot[bot] Jul 25, 2022
80423fa
Merge pull request #800 from GitCredentialManager/dependabot/nuget/sr…
mjcheetham Jul 26, 2022
5d869d9
Merge pull request #806 from GitCredentialManager/dependabot/github_a…
ldennington Jul 28, 2022
ee620eb
build(deps): bump lycheeverse/lychee-action from 1.5.0 to 1.5.1
dependabot[bot] Jul 28, 2022
d7fb42a
Merge pull request #810 from GitCredentialManager/dependabot/github_a…
ldennington Aug 3, 2022
8d7f639
release: update Azure storage resource names
ldennington Aug 5, 2022
bdc20d9
Merge pull request #819 from ldennington/update-azure-resource-names
ldennington Aug 6, 2022
e1b6acd
build(deps): bump mjcheetham/update-homebrew from 1.1 to 1.2
dependabot[bot] Aug 8, 2022
aefa730
Merge pull request #826 from GitCredentialManager/dependabot/github_a…
ldennington Aug 8, 2022
1c08e84
homebrew release: update regex and remove PR
ldennington Aug 11, 2022
07dd822
Merge pull request #798 from ldennington/homebrew-publish-m1-package
ldennington Aug 11, 2022
d94c254
release: add installer validation
ldennington Jul 28, 2022
a9fcb46
Merge pull request #813 from ldennington/validate-installers
ldennington Aug 15, 2022
e3a0f0d
install from source: add support for Jammy Jellyfish
ldennington Aug 15, 2022
ba3e2b1
install from source: clean up comments
ldennington Aug 15, 2022
8e8149b
workflows: auto-generate maintainer away issue
ldennington Aug 17, 2022
bf690c3
Merge pull request #842 from ldennington/ooo-template
ldennington Aug 22, 2022
c2c0cdc
Merge pull request #839 from ldennington/ubuntu-jammy
ldennington Aug 22, 2022
8bc6801
release: access Azure Storage Account with login credentials
Aug 26, 2022
1f8e978
Merge pull request #851 from ldennington/remove-azure-storage-key
ldennington Aug 27, 2022
f472dc7
Switch to reference style links
wolf99 Apr 24, 2022
a1921d5
Remove Host Provider doc front matter
wolf99 Aug 27, 2022
eac1057
Convert prose ref links to snake-case
wolf99 Aug 27, 2022
56685b6
Fix azrepos link
wolf99 Aug 27, 2022
e727f49
Switch to ref style links
wolf99 Aug 27, 2022
a2c4b85
Add review suggestions
wolf99 Aug 30, 2022
f230c46
Merge pull request #680 from wolf99/ref-style-links
ldennington Sep 7, 2022
a9e5999
Unify line length across docs
wolf99 Sep 9, 2022
d226097
Break inline code line
wolf99 Sep 9, 2022
d0f3537
Convenience config for several popular GitLab instances
hickford Sep 17, 2022
86091b8
Update docs/gitlab.md
hickford Sep 19, 2022
9393c1f
Merge pull request #862 from wolf99/doc-line-length
ldennington Sep 19, 2022
6d078a8
avn: update to latest Avalonia UI
mjcheetham Sep 22, 2022
4fb392f
avn: workaround a macOS window focus bug
mjcheetham Sep 22, 2022
2530c28
avnui: include images in app app views in Avaloina UIs
mjcheetham Sep 22, 2022
b8a85ec
Convenience config for several popular GitLab instances
hickford Sep 17, 2022
4a73bc7
Merge pull request #867 from hickford/gitlab-config
ldennington Sep 23, 2022
1be714c
ui: add generic 'basic' credentials UI VM and command
mjcheetham Jul 26, 2022
b141c83
ui: add Avalonia-based UI for generic cred prompt
mjcheetham Jul 26, 2022
a1a358a
wpfui: add a WPF-based UI for generic cred prompt
mjcheetham Aug 8, 2022
be9b83d
basic: replace system UI with new UI helper
mjcheetham Sep 22, 2022
feb02ce
install: include core UI app in all installers
mjcheetham Sep 22, 2022
00244fa
Merge pull request #871 from mjcheetham/generic-ui
mjcheetham Sep 28, 2022
0d54aa8
build(deps): bump actions/setup-dotnet from 2 to 3.0.0
dependabot[bot] Sep 29, 2022
85b6104
release: fix Windows archives
Sep 29, 2022
eb67f53
Merge pull request #884 from ldennington/fix-windows-zip
ldennington Sep 30, 2022
9b3bf45
Merge pull request #883 from GitCredentialManager/dependabot/github_a…
ldennington Sep 30, 2022
21f9a80
build(deps): bump actions/setup-dotnet from 3.0.0 to 3.0.1
dependabot[bot] Oct 4, 2022
0542166
Issue 573 Write the results of GET command calls to the log
mminns May 20, 2022
e705869
Issue 573 Refactor Bitbucket implementation to allow for the support …
mminns May 20, 2022
855c433
Issue 573 Add support for OAuth2 for Bitbucket DC
mminns May 20, 2022
6c28d76
Issue 573 docs: Document the use and development of OAuth2 for Bitbuc…
mminns May 20, 2022
930c02a
build(deps): bump actions/checkout from 3 to 3.1.0
dependabot[bot] Oct 7, 2022
c2f6826
docs: use short link for Linux install src
mjcheetham Oct 7, 2022
351effa
Updates RFC links to authoritative URL
wolf99 Oct 8, 2022
3756bc2
Replace githubusercontent images
wolf99 Oct 8, 2022
e4c1926
Document how to lint documentation
wolf99 Oct 8, 2022
093aa0f
Merge pull request #887 from GitCredentialManager/dependabot/github_a…
ldennington Oct 10, 2022
7c3a844
Merge pull request #892 from GitCredentialManager/mjcheetham/linux-in…
mjcheetham Oct 10, 2022
a8fd6f0
Merge pull request #893 from wolf99/update-rfc-links
mjcheetham Oct 10, 2022
0d591c3
Merge pull request #894 from wolf99/github-usercontent-images
mjcheetham Oct 10, 2022
3392430
Merge pull request #895 from wolf99/document-doc-linting
mjcheetham Oct 10, 2022
228f7cd
Merge pull request #607 from mminns/issue/573-OAuth2-support-for-Bitb…
mjcheetham Oct 10, 2022
44534db
Merge pull request #890 from GitCredentialManager/dependabot/github_a…
ldennington Oct 10, 2022
715eef1
release: publish gcm as dotnet tool
Oct 11, 2022
89b565a
Merge pull request #886 from ldennington/dotnet-tool
ldennington Oct 13, 2022
e62c368
dotnet tool: rename package
Oct 13, 2022
fb52269
Merge pull request #901 from ldennington/rename-dotnet-tool-package
ldennington Oct 13, 2022
4abff68
build(deps): bump actions/setup-dotnet from 3.0.1 to 3.0.2
dependabot[bot] Oct 13, 2022
0792d7b
windows: include git-credential-manager-ui.exe in installer
mjcheetham Oct 13, 2022
a34ee31
gcm: rename entry executable to drop -core suffix
mjcheetham Oct 14, 2022
89c4883
Merge pull request #903 from mjcheetham/fix-winstall
mjcheetham Oct 14, 2022
74b3d6a
Merge pull request #902 from GitCredentialManager/dependabot/github_a…
ldennington Oct 14, 2022
7e2b209
build: explicitly pass version and conf args to pack-tool.sh
mjcheetham Oct 14, 2022
65d2d88
dotnet-tool: add GCM icon to tool nuget package
mjcheetham Oct 14, 2022
3a46451
winui: fix up a bug that was introduced in an earlier PR
mjcheetham Oct 14, 2022
bdb3a9a
dotnet-tool: include core UI helper in package
mjcheetham Oct 14, 2022
7047f48
Merge pull request #905 from mjcheetham/pkgicon
mjcheetham Oct 14, 2022
3ccaf44
Update markdownlint-cli2-action to 7.0.0
wolf99 Oct 16, 2022
17af723
Add KDE Gitlab (invent.kde.org) instance to the list of supported ser…
bcooksley Oct 23, 2022
fa2cc18
gcm: create symlinks and warn message for gcmcore exec
mjcheetham Oct 14, 2022
a47e1ce
docs: add documentation about the GCM.exe rename
mjcheetham Oct 14, 2022
02204ac
Rename entry executable to drop "-core" suffix (#551)
mjcheetham Oct 24, 2022
3ffa190
Update markdownlint-cli2-action to 7.0.0 (#910)
ldennington Oct 24, 2022
15b522f
windows: add missing DllImport attribute to LocalFree
mjcheetham Oct 24, 2022
990b647
build: fix/speed-up build graph dependencies
mjcheetham Oct 24, 2022
f0276e0
windows: add missing DllImport attribute to LocalFree (#923)
mjcheetham Oct 25, 2022
04631c1
Add KDE Gitlab (invent.kde.org) instance to the list of supported ser…
mjcheetham Oct 25, 2022
97e9e88
build(deps): bump actions/setup-dotnet from 3.0.2 to 3.0.3
dependabot[bot] Oct 27, 2022
d4f031f
build(deps): bump actions/setup-dotnet from 3.0.2 to 3.0.3 (#932)
ldennington Nov 1, 2022
8261c81
build: fix/speed-up build graph dependencies (#924)
mjcheetham Nov 1, 2022
86459c7
docs: separate install information from README
ldennington Nov 1, 2022
fc8659d
docs: separate additional resources from README
ldennington Nov 2, 2022
d54fea6
docs: migrate install/resource README sections to new files (#937)
mjcheetham Nov 2, 2022
dcddb25
Fix docs/x.md relative links
rendall Nov 3, 2022
0097b9d
Fix docs/x.md relative links (#938)
ldennington Nov 3, 2022
fef64ec
docs: absolute --> relative paths
ldennington Nov 3, 2022
da646ea
diagnose: always use IHttpClientFactory for diagnose
mjcheetham Nov 3, 2022
1de6464
release: remove automatic workflow trigger
ldennington Nov 3, 2022
8988107
diagnose: always use IHttpClientFactory for diagnose (#942)
ldennington Nov 3, 2022
a665e70
Update README.md
vtbassmatt Nov 3, 2022
452981c
release: remove automatic workflow trigger (#943)
ldennington Nov 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/ISSUE_TEMPLATE/auth-problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''

**Which version of GCM are you using?**

From a terminal, run `git credential-manager-core --version` and paste the output.
From a terminal, run `git credential-manager --version` and paste the output.

<!-- Ex:
Git Credential Manager version 2.0.8-beta+e1f8492d04 (macOS, .NET Core 4.6.27129.04)
Expand Down Expand Up @@ -44,7 +44,9 @@ origin https://dev.azure.com/contoso/_git/widgets
* [ ] https://`{org}`@dev.azure.com/`{org}`/...
* [ ] https://`{org}`.visualstudio.com/...

**_[Azure DevOps only]_ If the account picker shows more than one identity as you authenticate, check that you selected the same one that has access on the web.**
**_[Azure DevOps only]_ If the account picker shows more than one identity as
you authenticate, check that you selected the same one that has access on the
web.**

* [ ] Not applicable
* [ ] I only see one identity
Expand All @@ -58,13 +60,16 @@ I am authenticated and my Git operation completes successfully.

**Actual behavior**

A clear and concise description of what happens. For example: exception is thrown, UI freezes, etc.
A clear and concise description of what happens. For example: exception is
thrown, UI freezes, etc.

**Logs**

Set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your Git command. Review and redact any private information and attach the log.
Set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your
Git command. Review and redact any private information and attach the log.

If you are running inside of Windows Subsystem for Linux (WSL), you must also set an additional environment variable to enable tracing: `WSLENV=$WSLENV:GCM_TRACE`.
If you are running inside of Windows Subsystem for Linux (WSL), you must also
set an additional environment variable to enable tracing: `WSLENV=$WSLENV:GCM_TRACE`.
For example:

```shell
Expand Down
15 changes: 10 additions & 5 deletions .github/ISSUE_TEMPLATE/experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''

**Which version of GCM are you using?**

From a terminal, run `git credential-manager-core --version` and paste the output.
From a terminal, run `git credential-manager --version` and paste the output.

<!-- Ex:
Git Credential Manager version 2.0.8-beta+e1f8492d04 (macOS, .NET Core 4.6.27129.04)
Expand Down Expand Up @@ -44,7 +44,9 @@ origin https://dev.azure.com/contoso/_git/widgets
* [ ] https://`{org}`@dev.azure.com/`{org}`/...
* [ ] https://`{org}`.visualstudio.com/...

**_[Azure DevOps only]_ If the account picker shows more than one identity as you authenticate, check that you selected the same one that has access on the web.**
**_[Azure DevOps only]_ If the account picker shows more than one identity as
you authenticate, check that you selected the same one that has access on the
web.**

* [ ] Not applicable
* [ ] I only see one identity
Expand All @@ -58,13 +60,16 @@ I am authenticated and my Git operation completes successfully.

**Actual behavior**

A clear and concise description of what happens. For example: exception is thrown, UI freezes, etc.
A clear and concise description of what happens. For example: exception is
thrown, UI freezes, etc.

**Logs**

Set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your Git command. Review and redact any private information and attach the log.
Set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your
Git command. Review and redact any private information and attach the log.

If you are running inside of Windows Subsystem for Linux (WSL), you must also set an additional environment variable to enable tracing: `WSLENV=$WSLENV:GCM_TRACE`.
If you are running inside of Windows Subsystem for Linux (WSL), you must also
set an additional environment variable to enable tracing: `WSLENV=$WSLENV:GCM_TRACE`.
For example:

```shell
Expand Down
9 changes: 3 additions & 6 deletions .github/run_esrp_signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
esrp_tool = os.path.join("esrp", "tools", "EsrpClient.exe")

aad_id = os.environ['AZURE_AAD_ID'].strip()
# We temporarily need two AAD IDs, as we're using an SSL certificate associated
# with an older App Registration until we have the required hardware to approve
# the new certificate in SSL Admin.
aad_id_ssl = os.environ['AZURE_AAD_ID_SSL'].strip()
workspace = os.environ['GITHUB_WORKSPACE'].strip()

source_location = args.path
Expand All @@ -36,9 +32,10 @@
"TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"ClientId": f"{aad_id}",
"AuthCert": {
"SubjectName": f"CN={aad_id_ssl}.microsoft.com",
"SubjectName": f"CN={aad_id}.microsoft.com",
"StoreLocation": "LocalMachine",
"StoreName": "My"
"StoreName": "My",
"SendX5c" : "true"
},
"RequestSigningCert": {
"SubjectName": f"CN={aad_id}",
Expand Down
2 changes: 1 addition & 1 deletion .github/set_up_esrp.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install ESRP client
az storage blob download --file esrp.zip --account-key "$env:AZURE_STORAGE_KEY" --account-name gcmesrp --container microsoft-esrp-client --name microsoft.esrpclient.1.2.76.nupkg
az storage blob download --file esrp.zip --auth-mode login --account-name esrpsigningstorage --container signing-resources --name microsoft.esrpclient.1.2.76.nupkg
Expand-Archive -Path esrp.zip -DestinationPath .\esrp

# Install certificates
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
fetch-depth: 0 # patch around Nerdbank.GitVersioning failure

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04, windows-2019, macos-10.15]
os: [ubuntu-18.04, ubuntu-20.04, windows-2019, macos-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
fetch-depth: 0 # Indicate full history so Nerdbank.GitVersioning works.

- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: 6.0.201

Expand Down
43 changes: 40 additions & 3 deletions .github/workflows/lint-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,53 @@ on:
workflow_dispatch:
push:
branches: [ main, linux ]
paths:
- '**.md'
- '.github/workflows/lint-docs.yml'
pull_request:
branches: [ main, linux ]
paths:
- '**.md'
- '.github/workflows/lint-docs.yml'

jobs:
lint-markdown:
name: Lint markdown files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- uses: DavidAnson/markdownlint-cli2-action@744f913a124058ee903768d3adb92a4847e5d132
- uses: DavidAnson/markdownlint-cli2-action@e3969ef4ed874458f4b66d4631f78fff7717012c
with:
globs: "**/*.md"
globs: |
"**/*.md"
"!.github/ISSUE_TEMPLATE"

check-links:
name: Check for broken links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Run link checker
# For any troubleshooting, see:
# https://github.com/lycheeverse/lychee/blob/master/docs/TROUBLESHOOTING.md
uses: lycheeverse/lychee-action@4a5af7cd2958a2282cefbd9c10f63bdb89982d76

with:
# user-agent: if a user agent is not specified, some websites (e.g.
# GitHub Docs) return HTTP errors which Lychee will interpret as
# a broken link.
# no-progress: do not show progress bar. Recommended for
# non-interactive shells (e.g. for CI)
# inputs: by default (.), this action checks files matching the
# patterns: './**/*.md' './**/*.html'
args: >-
--user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36"
--no-progress .
fail: true
env:
# A token is used to avoid GitHub rate limiting. A personal token with
# no extra permissions is enough to be able to check public repos
# See: https://github.com/lycheeverse/lychee#github-token
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
60 changes: 60 additions & 0 deletions .github/workflows/maintainer-absence.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: maintainer-absence

on:
workflow_dispatch:
inputs:
startDate:
description: 'First day of maintainer absence [mm-dd-yyyy]'
required: true
endDate:
description: 'Last day of maintainer absence [mm-dd-yyyy]'
required: true

permissions:
issues: write

jobs:
create-issue:
name: create-issue
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
const startDate = new Date('${{ github.event.inputs.startDate }}');
const endDate = new Date('${{ github.event.inputs.endDate }}');

if (startDate > endDate) {
throw 'Start date cannot be later than end date.';
}

// Calculate total days of absence
const differenceInDays = endDate.getTime() - startDate.getTime();
const lengthOfAbsence = differenceInDays/(1000 * 3600 * 24);

// Create issue
issue = await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
// Use the briefer input date format in title (instead of JavaScript's full date string)
title: `Maintainer(s) will be away from ${{ github.event.inputs.startDate }} until ${{ github.event.inputs.endDate }}`,
body: `The ${context.repo.repo} maintainer(s) will be away for ${lengthOfAbsence} day${lengthOfAbsence > 1 ? 's' : ''} beginning on
${startDate.toDateString()} and ending on ${endDate.toDateString()}. During this time, the maintainer(s)
will not be actively monitoring PRs, discussions, etc. Please report any issues
requiring immediate attention to [@GitCredManager](https://twitter.com/GitCredManager) on Twitter.`
});

// Pin issue - we use GraphQL since there is no GitHub API available for this
const mutation = `mutation($issueId: ID!) {
pinIssue(input: { issueId: $issueId }) {
issue {
repository {
id
}
}
}
}`;
const variables = {
issueId: issue.data.node_id
}
const result = await github.graphql(mutation, variables)
7 changes: 4 additions & 3 deletions .github/workflows/release-homebrew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Update Homebrew tap
uses: mjcheetham/update-homebrew@v1.1
uses: mjcheetham/update-homebrew@v1.2
with:
token: ${{ secrets.HOMEBREW_TOKEN }}
tap: microsoft/git
name: git-credential-manager-core
type: cask
releaseAsset: gcm-osx-x64-(.*)\.pkg
alwaysUsePullRequest: true
releaseAsset: |
gcm-osx-x64-(.*)\.pkg
gcm-osx-arm64-(.*)\.pkg
Loading