Skip to content

Main #1855

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

Open
wants to merge 53 commits into
base: release
Choose a base branch
from
Open

Main #1855

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
f600e92
Omit GitLab client secret
hickford Feb 23, 2024
5d98ece
build(deps): bump DavidAnson/markdownlint-cli2-action
dependabot[bot] Sep 11, 2024
bc4dfa9
docs: update required dotnet-sdk version in install.md
xtqqczze Sep 30, 2024
b164e4a
docs: update required dotnet-sdk version in install.md (#1713)
Oct 1, 2024
32d205b
settings: add allow unsafe remotes option
mjcheetham Oct 7, 2024
2fbe3d6
bitbucket: support GCM_ALLOW_UNSAFE_REMOTES option
mjcheetham Oct 7, 2024
6b87cc7
github: support GCM_ALLOW_UNSAFE_REMOTES option
mjcheetham Oct 7, 2024
f2652f3
gitlab: support GCM_ALLOW_UNSAFE_REMOTES option
mjcheetham Oct 7, 2024
7a613f3
azrepos: support GCM_ALLOW_UNSAFE_REMOTES option
mjcheetham Oct 7, 2024
fc067e8
generic: support GCM_ALLOW_UNSAFE_REMOTES option
mjcheetham Oct 7, 2024
004b19e
docs: update Secret Service links
dscho Oct 7, 2024
2d10c92
docs: update Secret Service links (#1722)
Oct 7, 2024
7b60eee
Add control over use of unsafe remotes (#1721)
Oct 7, 2024
1c80d4b
Omit GitLab client secret (#1538)
Oct 7, 2024
180a9e4
build(deps): bump lycheeverse/lychee-action from 1.9.3 to 2.0.0
dependabot[bot] Oct 8, 2024
c853292
build(deps): bump lycheeverse/lychee-action from 1.9.3 to 2.0.0 (#1725)
Oct 9, 2024
535ed76
build(deps): bump lycheeverse/lychee-action from 2.0.0 to 2.0.2
dependabot[bot] Oct 14, 2024
a96afbb
credstore: add no-op credential storage option
mjcheetham Oct 15, 2024
969e452
Add no-op credential storage option (#1740)
Oct 15, 2024
178a7d0
ci: move to "more official" tgagor/centos
dscho Oct 21, 2024
2bc4b4a
ci: move to "more official" tgagor/centos (#1746)
dscho Oct 21, 2024
2dece79
install-from-source: avoid using `which` before it is installed
dscho Oct 21, 2024
89adece
install-from-source(mariner): awk is required to make dotnet-install.…
dscho Oct 21, 2024
7b721ea
install-from-source(mariner): ensure that CA certificates are installed
dscho Oct 21, 2024
41a26cf
ci: also verify that installation works on Mariner and Arch Linux
dscho Oct 21, 2024
6c916a3
ci: add Mariner and Arch Linux (#1747)
Oct 22, 2024
fc8622c
build(deps): bump lycheeverse/lychee-action from 2.0.0 to 2.0.2 (#1738)
Oct 22, 2024
ae009e1
build(deps): bump DavidAnson/markdownlint-cli2-action from 16.0.0 to …
mjcheetham Oct 22, 2024
4431516
build(deps): bump azure/trusted-signing-action from 0.4.0 to 0.5.0
dependabot[bot] Oct 23, 2024
ca7a0d6
build(deps): bump actions/setup-dotnet from 4.0.1 to 4.1.0
dependabot[bot] Oct 24, 2024
557937a
fix wrong bash if-else syntax
JaoSchmidt Oct 28, 2024
674aa73
build(deps): bump actions/setup-dotnet from 4.0.1 to 4.1.0 (#1751)
mjcheetham Oct 29, 2024
aff97de
build(deps): bump azure/trusted-signing-action from 0.4.0 to 0.5.0 (#…
mjcheetham Oct 29, 2024
749e287
fix wrong bash if-else syntax (#1752)
mjcheetham Oct 29, 2024
61e4fa4
streams: only consider LF and CRLF as newlines
mjcheetham Oct 29, 2024
99e2f7f
release.yml: use gatewatcher mac app certificate
mjcheetham Oct 30, 2024
786ab03
VERSION: bump to 2.6.1
mjcheetham Oct 30, 2024
628acd0
add support for Linux arm64 and Linux arm
theofficialgman Jun 5, 2024
31ce754
add support for Linux arm64 and Linux arm (#1633)
Nov 6, 2024
5cd01b6
don't require runtime to be set to install from source
theofficialgman Nov 6, 2024
17250be
don't require runtime to be set to install from source (#1757)
Nov 6, 2024
47b731e
build(deps): bump lycheeverse/lychee-action from 2.0.2 to 2.1.0
dependabot[bot] Nov 7, 2024
b378f2a
build(deps): bump DavidAnson/markdownlint-cli2-action
dependabot[bot] Nov 15, 2024
4e26608
build(deps): bump lycheeverse/lychee-action from 2.0.2 to 2.1.0 (#1760)
mjcheetham Dec 9, 2024
2e505a6
build(deps): bump DavidAnson/markdownlint-cli2-action from 17.0.0 to …
mjcheetham Dec 9, 2024
235d636
build(deps): bump actions/setup-dotnet from 4.1.0 to 4.2.0
dependabot[bot] Dec 27, 2024
21fda9f
build(deps): bump actions/setup-dotnet from 4.1.0 to 4.2.0 (#1799)
mjcheetham Jan 3, 2025
4c32c09
Merge branch 'newline-fix' into HEAD
vdye Jan 14, 2025
5f6d32a
macospreferences: add class to read macOS app preferences
mjcheetham Jan 24, 2025
b05317f
macossettings: implement default settings for macOS
mjcheetham Jan 24, 2025
b62021f
Add support for macOS enterprise deployable default settings (#1811)
mjcheetham Jan 28, 2025
7b3546b
Enhance VSCode configuration with new launch and task options for .NE…
pjn94 Mar 14, 2025
f4072e8
Update Dependabot configuration for devcontainers and add code citati…
pjn94 Mar 14, 2025
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
71 changes: 71 additions & 0 deletions .devcontainer/# Code Citations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Code Citations

## License: MIT
https://github.com/Mapsui/Mapsui/tree/0bc70db277841f06e238dadb47ca128dc5f86226/dotnetcli/sdk/6.0.401/Sdks/Microsoft.NET.Sdk.Web/Sdk/Sdk.targets

```
Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.

Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project ToolsVersion="14.0" xmlns="http:/
```


## License: MIT
https://github.com/Ollon/NuGetPackages/tree/a93e38e7a3019f318f6e1237386608372d9581ce/Src/MSBuildToolset/tools/AIO/NETStandard.pp.proj

```
>
<!--
***********************************************************************************************
Microsoft.NET.Sdk.targets

WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the
```


## License: MIT
https://github.com/dotnet/razor-compiler/tree/076fc261dcc1d51f5767e020114d713a65aa3788/src/RazorSdk/Sdk/Sdk.Razor.StaticAssets.ProjectSystem.props

```
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.

Copyright (c) .NET Foundation. All rights reserved
```


## License: unknown
https://github.com/marcin-krystianc/nuget_11031_benchmark/tree/bdd8dd60700dfadf54003fbaa8a7461f16943912/dotnet/sdk/6.0.100-mmapio/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets

```
***********************************************************************************************
Microsoft.NET.Sdk.targets

WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.

Copyright (c
```


## License: unknown
https://github.com/Weilin-t/mono/tree/ec8fabe97fa3a4b619b256c7e13bf4166bdb1cf2/lib/mono/msbuild/15.0/bin/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets

```
a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.

Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project ToolsVersion="14.0" xmlns=
```

1,026 changes: 1,026 additions & 0 deletions .devcontainer/devcontainer.json

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
version: 2
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:

# Enable version updates for GitHub ecosystem
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand Down Expand Up @@ -54,20 +54,26 @@ jobs:
linux:
name: Linux
runs-on: ubuntu-latest
strategy:
matrix:
runtime: [ linux-x64, linux-arm64, linux-arm ]

steps:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration LinuxRelease
run: |
dotnet build src/linux/Packaging.Linux/*.csproj \
--configuration=Release --no-self-contained \
--runtime=${{ matrix.runtime }}

- name: Test
run: |
Expand All @@ -82,7 +88,7 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: linux-x64
name: ${{ matrix.runtime }}
path: |
artifacts

Expand All @@ -100,7 +106,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8
- uses: DavidAnson/markdownlint-cli2-action@eb5ca3ab411449c66620fe7f1b3c9e10547144b0
with:
globs: |
"**/*.md"
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Run link checker
# For any troubleshooting, see:
# https://github.com/lycheeverse/lychee/blob/master/docs/TROUBLESHOOTING.md
uses: lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a
uses: lycheeverse/lychee-action@f81112d0d2814ded911bd23e3beaa9dda9093915

with:
# user-agent: if a user agent is not specified, some websites (e.g.
Expand Down
62 changes: 36 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand All @@ -57,8 +57,8 @@ jobs:

- name: Set up signing/notarization infrastructure
env:
A1: ${{ secrets.APPLICATION_CERTIFICATE_BASE64 }}
A2: ${{ secrets.APPLICATION_CERTIFICATE_PASSWORD }}
A1: ${{ secrets.GATEWATCHER_DEVELOPER_ID_CERT }}
A2: ${{ secrets.GATEWATCHER_DEVELOPER_ID_PASSWORD }}
I1: ${{ secrets.INSTALLER_CERTIFICATE_BASE64 }}
I2: ${{ secrets.INSTALLER_CERTIFICATE_PASSWORD }}
N1: ${{ secrets.APPLE_TEAM_ID }}
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand All @@ -177,7 +177,7 @@ jobs:
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Sign payload files with Azure Code Signing
uses: azure/trusted-signing-action@v0.4.0
uses: azure/trusted-signing-action@v0.5.0
with:
endpoint: https://wus2.codesigning.azure.net/
trusted-signing-account-name: git-fundamentals-signing
Expand All @@ -190,7 +190,7 @@ jobs:

# The Azure Code Signing action overrides the .NET version, so we reset it.
- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand All @@ -204,7 +204,7 @@ jobs:
-Destination $env:GITHUB_WORKSPACE\installers

- name: Sign installers with Azure Code Signing
uses: azure/trusted-signing-action@v0.4.0
uses: azure/trusted-signing-action@v0.5.0
with:
endpoint: https://wus2.codesigning.azure.net/
trusted-signing-account-name: git-fundamentals-signing
Expand Down Expand Up @@ -232,16 +232,22 @@ jobs:
runs-on: ubuntu-latest
environment: release
needs: prereqs
strategy:
matrix:
runtime: [ linux-x64, linux-arm64, linux-arm ]
steps:
- uses: actions/checkout@v4

- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

- name: Build
run: dotnet build --configuration=LinuxRelease
run: |
dotnet build src/linux/Packaging.Linux/*.csproj \
--configuration=LinuxRelease --no-self-contained \
--runtime=${{ matrix.runtime }}

- name: Run Linux unit tests
run: |
Expand Down Expand Up @@ -286,18 +292,18 @@ jobs:
run: |
# Sign Debian package
version=${{ needs.prereqs.outputs.version }}
mv out/linux/Packaging.Linux/Release/deb/gcm-linux_amd64.$version.deb .
debsigs --sign=origin --verify --check gcm-linux_amd64.$version.deb
mv out/linux/Packaging.Linux/Release/deb/gcm-${{ matrix.runtime }}.$version.deb .
debsigs --sign=origin --verify --check gcm-${{ matrix.runtime }}.$version.deb

# Generate tarball signature file
mv -v out/linux/Packaging.Linux/Release/tar/* .
gpg --batch --yes --armor --output gcm-linux_amd64.$version.tar.gz.asc \
--detach-sig gcm-linux_amd64.$version.tar.gz
gpg --batch --yes --armor --output gcm-${{ matrix.runtime }}.$version.tar.gz.asc \
--detach-sig gcm-${{ matrix.runtime }}.$version.tar.gz

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: linux-artifacts
name: ${{ matrix.runtime }}-artifacts
path: |
./*.deb
./*.asc
Expand All @@ -314,7 +320,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand Down Expand Up @@ -387,7 +393,7 @@ jobs:
path: signed

- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand Down Expand Up @@ -466,9 +472,9 @@ jobs:
matrix:
component:
- os: ubuntu-latest
artifact: linux-artifacts
artifact: linux-x64-artifacts
command: git-credential-manager
description: linux
description: linux-x64
- os: macos-latest
artifact: macos-osx-x64-artifacts
command: git-credential-manager
Expand All @@ -491,7 +497,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand All @@ -510,15 +516,15 @@ jobs:
Start-Process -Wait -FilePath "$exePath" -ArgumentList "/SILENT /VERYSILENT /NORESTART"
}

- name: Install Linux (Debian package)
if: contains(matrix.component.description, 'linux')
- name: Install Linux x64 (Debian package)
if: contains(matrix.component.description, 'linux-x64')
run: |
debpath=$(find ./*.deb)
sudo apt install $debpath
"${{ matrix.component.command }}" configure

- name: Install Linux (tarball)
if: contains(matrix.component.description, 'linux')
- name: Install Linux x64 (tarball)
if: contains(matrix.component.description, 'linux-x64')
run: |
# Ensure we find only the source tarball, not the symbols
tarpath=$(find . -name '*[[:digit:]].tar.gz')
Expand Down Expand Up @@ -561,7 +567,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
uses: actions/setup-dotnet@v4.2.0
with:
dotnet-version: 8.0.x

Expand Down Expand Up @@ -598,7 +604,9 @@ jobs:
az keyvault secret show --name "$GPG_PUBLIC_KEY_SECRET_NAME" \
--vault-name "$AZURE_VAULT" --query "value" \
| sed -e 's/^"//' -e 's/"$//' | base64 -d >gcm-public.asc
mv gcm-public.asc linux-artifacts
cp gcm-public.asc linux-x64-artifacts/
cp gcm-public.asc linux-arm64-artifacts/
mv gcm-public.asc linux-arm-artifacts

- uses: actions/github-script@v7
with:
Expand Down Expand Up @@ -655,7 +663,9 @@ jobs:
uploadDirectoryToRelease('osx-payload-and-symbols'),

// Upload Linux artifacts
uploadDirectoryToRelease('linux-artifacts'),
uploadDirectoryToRelease('linux-x64-artifacts'),
uploadDirectoryToRelease('linux-arm64-artifacts'),
uploadDirectoryToRelease('linux-arm-artifacts'),

// Upload .NET tool package
uploadDirectoryToRelease('dotnet-tool-sign'),
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/validate-install-from-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,24 @@ jobs:
# tgagor is a contributor who pushes updated images weekly, which should
# be sufficient for our validation needs.
- image: tgagor/centos
- image: tgagor/centos-stream
- image: redhat/ubi8
- image: alpine
- image: alpine:3.14.10
- image: opensuse/leap
- image: opensuse/tumbleweed
- image: registry.suse.com/suse/sle15:15.4.27.11.31
- image: archlinux
- image: mcr.microsoft.com/cbl-mariner/base/core:2.0
container: ${{matrix.vector.image}}
steps:
- run: |
if [[ ${{matrix.vector.image}} == *"suse"* ]]; then
zypper -n install tar gzip
elif [[ ${{matrix.vector.image}} == *"centos"* ]]; then
dnf install which -y
elif [[ ${{matrix.vector.image}} == *"mariner"* ]]; then
GNUPGHOME=/root/.gnupg tdnf update -y &&
GNUPGHOME=/root/.gnupg tdnf install tar -y # needed for `actions/checkout`
fi

- uses: actions/checkout@v4
Expand Down
Loading