Draft
Conversation
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com>
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com>
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com>
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for winget-cli restsource issue 310
Add font installer type support for WinGet 1.12
Feb 16, 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.
WinGet 1.12 introduced font packages as a new installer type. The REST source schema and validators need to support this.
Changes
Validators: Added
"font"toNestedInstallerTypeValidatorenum.InstallerTypeValidatorinherits it automatically.Schema: Created
WinGet-1.12.0.yamlwith font support in bothInstallerTypeandNestedInstallerType. LeftWinGet-1.10.0.yamlunchanged to maintain version immutability.Test manifests: Added test cases for font as both a direct installer type and nested within zip archives.
Example
The OpenAPI schema uses
allOfreferencing to avoid duplicate enum values - font appears only inNestedInstallerType, withInstallerTypeinheriting it.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
1s1vsblobprodcus386.vsblob.vsassets.io/usr/bin/dotnet dotnet restore src/WinGet.RestSource.sln grep -l font nExtensions.cs grep get ativeFilePathVal-l(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/winget-cli-restsource/winget-cli-restsource/src/WinGet.RestSource.sln --packages /home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true === �� nitTest/TestColl-c grep nfig/composer/ve-c font cs /usr/bin/grep cat(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/winget-cli-restsource/winget-cli-restsource/src/WinGet.RestSource.UnitTest/WinGet.RestSource.UnitTest.csproj --packages /home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true src/�� tils/Validators/-c grep /usr/local/bin/c-c font(dns block)2zrvsblobprodcus388.vsblob.vsassets.io/usr/bin/dotnet dotnet restore src/WinGet.RestSource.sln grep -l font nExtensions.cs grep get ativeFilePathVal-l(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/winget-cli-restsource/winget-cli-restsource/src/WinGet.RestSource.sln --packages /home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true === �� nitTest/TestColl-c grep nfig/composer/ve-c font cs /usr/bin/grep cat(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/winget-cli-restsource/winget-cli-restsource/src/Microsoft.WindowsPackageManager.Rest/Microsoft.WindowsPackageManager.Rest.csproj --packages /home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true src/�� tils/Validators/EnumValidators/NestedInstallerTypeValidator.cs grep iptables font s.cs /home/REDACTED/wor--name-only echo(dns block)37bvsblobprodcus311.vsblob.vsassets.io/usr/bin/dotnet dotnet restore src/WinGet.RestSource.sln grep -l font nExtensions.cs grep get ativeFilePathVal-l(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/winget-cli-restsource/winget-cli-restsource/src/WinGet.RestSource.sln --packages /home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true === �� nitTest/TestColl-c grep nfig/composer/ve-c font cs /usr/bin/grep cat(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/winget-cli-restsource/winget-cli-restsource/src/WinGet.RestSource.AppConfig/WinGet.RestSource.AppConfig.csproj --packages /home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true === �� tils/Validators/:.lfsconfig grep ash font ss=(dns block)4m6vsblobprodcus384.vsblob.vsassets.io/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/winget-cli-restsource/winget-cli-restsource/src/WinGet.RestSource.sln --packages /home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true === �� nitTest/TestColl-c grep nfig/composer/ve-c font cs /usr/bin/grep cat(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/winget-cli-restsource/winget-cli-restsource/src/WinGet.RestSource.IntegrationTest/WinGet.RestSource.IntegrationTest.csproj --packages /home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/winget-cli-restsource/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true === �� celain --ignore-submodules | head -n 10 grep(dns block)Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com> p/bin/bash font o-msft@users.nornuget de/node/bin/greplist bash` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com> p/bin/bash font o-msft@users.nornuget de/node/bin/greplist bash` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com> p/bin/bash font o-msft@users.nornuget de/node/bin/greplist bash` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com>add sh font tionConstants.csshow grep echo` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com>add sh font tionConstants.csshow grep echo` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com> rgo/bin/bash font o-msft@users.nor--list-sdks /home/REDACTED/work/_temp/ghcca-no. bash` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com> rgo/bin/bash font o-msft@users.nor--list-sdks /home/REDACTED/work/_temp/ghcca-no. bash` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com>add sh font tionConstants.csshow grep echo` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com> p/bin/bash font o-msft@users.nornuget de/node/bin/greplist bash` (dns block)
Co-authored-by: yao-msft <50888816+yao-msft@users.noreply.github.com> p/bin/bash font o-msft@users.nornuget de/node/bin/greplist bash` (dns block)
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.