Skip to content

Commit c7c3598

Browse files
authored
Release (#961)
Changes: - Convert issue templates to YAML (24ae90a) - Replace netstandard2.0 with dotnet6.0 (65cead2) - Ensure correct installation directory resolution for all OSes and distribution methods (#951) - Align with dotnet-supported Linux distributions (#953)
2 parents e7866ea + 571683a commit c7c3598

File tree

49 files changed

+849
-298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+849
-298
lines changed

.github/ISSUE_TEMPLATE/auth-issue.yml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
name: Authentication issue
2+
description: An authentication problem occurred when running a Git command.
3+
labels: ["auth-issue"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this issue!
9+
10+
Please answer as many of the below questions as you can - this helps us better understand what the problem is, and consequently how to resolve your problem.
11+
- type: input
12+
id: version
13+
attributes:
14+
label: Version
15+
description: |
16+
What version of Git Credential Manager are you using?
17+
18+
Run `git credential-manager-core --version` from a terminal to see the current version.
19+
20+
If you are on an older version of GCM please try updating before creating an issue as the problem you are experiencing may have already been fixed.
21+
placeholder: |
22+
ex: 2.0.8-beta+e1f8492d04
23+
validations:
24+
required: true
25+
- type: dropdown
26+
id: os
27+
attributes:
28+
label: Operating system
29+
description: What operating system are you using?
30+
options:
31+
- Windows
32+
- macOS
33+
- Linux
34+
- Other - please describe below
35+
validations:
36+
required: true
37+
- type: input
38+
id: os-version
39+
attributes:
40+
label: OS version or distribution
41+
description: Please describe the version, CPU architecture (x64, ARM, etc), or Linux distribution you are using.
42+
placeholder: |
43+
ex: Windows 11 Pro, Monterey 12.5, Ubuntu 22.04
44+
validations:
45+
required: true
46+
- type: dropdown
47+
id: provider
48+
attributes:
49+
label: Git hosting provider(s)
50+
description: What Git host provider are you trying to connect to?
51+
multiple: true
52+
options:
53+
- Azure DevOps
54+
- Azure DevOps Server (TFS/on-prem)
55+
- Bitbucket Cloud
56+
- Bitbucket Server/DC
57+
- GitHub
58+
- GitHub Enterprise Server
59+
- GitLab
60+
- Other - please describe below
61+
validations:
62+
required: true
63+
- type: input
64+
id: provider-other
65+
attributes:
66+
label: Other hosting provider
67+
description: If you selected "Other" above, please describe the Git host you are using.
68+
- type: dropdown
69+
id: azdo-urlformat
70+
attributes:
71+
label: |
72+
(Azure DevOps only) What format is your remote URL?
73+
description: |
74+
Tip: to see your remote URL run `git remote -v` from a terminal.
75+
options:
76+
- https://dev.azure.com/{org}
77+
- https://{org}@dev.azure.com/{org}
78+
- https://{org}.visualstudio.com
79+
- type: dropdown
80+
id: web-access
81+
attributes:
82+
label: Can you access the remote repository directly in the browser?
83+
description: |
84+
If you are unable to access the repository via a web browser then it is likely GCM will also be unable to access the repository with your user account.
85+
options:
86+
- Yes, I can access the repository
87+
- No, I get a permission error
88+
- No, for a different reason - please describe behavior below
89+
validations:
90+
required: true
91+
- type: textarea
92+
id: expected
93+
attributes:
94+
label: Expected behavior
95+
description: A clear and concise description of what your expectation are.
96+
placeholder: |
97+
ex: I am authenticated and my Git operation completes successfully.
98+
validations:
99+
required: true
100+
- type: textarea
101+
id: actual
102+
attributes:
103+
label: Actual behavior
104+
description: |
105+
A clear and concise description of what actually happens.
106+
Feel free to include screenshots of dialogs or errors here, but remember to **redact any sensitive information**!
107+
placeholder: |
108+
ex: An exception "FooException" is thrown, UI freezes, etc.
109+
validations:
110+
required: true
111+
- type: textarea
112+
id: logs
113+
attributes:
114+
label: Logs
115+
description: |
116+
To capture trace logs, set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your Git command.
117+
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:
118+
119+
```shell
120+
WSLENV=$WSLENV:GCM_TRACE:GIT_TRACE GCM_TRACE=1 GIT_TRACE=1 git fetch
121+
```
122+
123+
If you are using GCM version 2.0.567 onwards you can also run `git credential-manager-core diagnose` to collect useful diagnostic information that can be attached here.
124+
125+
:warning: **Please review and redact any private information before attaching logs and files!**

.github/ISSUE_TEMPLATE/auth-problem.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/experimental.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature-req.md

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Feature request
2+
description: A suggestion for a new feature in Git Credential Manager.
3+
labels: ["enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this feature request!
9+
10+
Please be as detailed as possible describing your idea; how it fixes a problem or makes something easier.
11+
12+
Although we cannot guarentee we will accept all requests, we will still take time to consider your ideas. Whilst we may be supportive of an idea in principal, as maintainers we may not always be able to dedicate time to implementing them. We always welcome community support and contributions however! :heart:
13+
- type: textarea
14+
id: description
15+
attributes:
16+
label: Feature description
17+
description: |
18+
A clear and concise description of the new feature.
19+
placeholder: |
20+
ex: Add spline reticulation option to widget authentication mechanism.
21+
validations:
22+
required: true

.github/workflows/lint-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Run link checker
3636
# For any troubleshooting, see:
3737
# https://github.com/lycheeverse/lychee/blob/master/docs/TROUBLESHOOTING.md
38-
uses: lycheeverse/lychee-action@4a5af7cd2958a2282cefbd9c10f63bdb89982d76
38+
uses: lycheeverse/lychee-action@4dcb8bee2a0a4531cba1a1f392c54e8375d6dd81
3939

4040
with:
4141
# user-agent: if a user agent is not specified, some websites (e.g.

.github/workflows/validate-install-from-source.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,29 @@ jobs:
1515
vector:
1616
- image: ubuntu
1717
- image: debian
18-
- image: linuxmintd/mint20-amd64
1918
- image: fedora
20-
- image: centos
19+
# Centos no longer officially maintains images on Docker Hub. However,
20+
# tgagor is a contributor who pushes updated images weekly, which should
21+
# be sufficient for our validation needs.
22+
- image: tgagor/centos
23+
- image: tgagor/centos-stream
2124
- image: redhat/ubi8
2225
- image: alpine
26+
- image: opensuse/leap
27+
- image: opensuse/tumbleweed
28+
- image: registry.suse.com/suse/sle15:15.4.27.11.31
29+
- image: archlinux
2330
container: ${{matrix.vector.image}}
2431
steps:
32+
- run: |
33+
if [[ ${{matrix.vector.image}} == *"suse"* ]]; then
34+
zypper -n install tar gzip
35+
elif [[ ${{matrix.vector.image}} == *"centos"* ]]; then
36+
dnf install which -y
37+
fi
2538
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
2639
with:
2740
fetch-depth: 0 # Indicate full history so Nerdbank.GitVersioning works.
2841
- run: |
29-
if [ ${{matrix.vector.image}} == "centos" ]; then
30-
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
31-
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
32-
fi
33-
3442
sh "${GITHUB_WORKSPACE}/src/linux/Packaging.Linux/install-from-source.sh" -y
3543
git-credential-manager --help || exit 1

0 commit comments

Comments
 (0)