-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Milestone
Description
Brief description of your issue
I am attempting to create a manifest for twpayne/chezmoi and wingetcreate new
gives a generic "Failed to parse the package" error.
Steps to reproduce
Run wingetcreate new https://github.com/twpayne/chezmoi/releases/download/v2.22.0/chezmoi-windows-amd64.exe
.
Expected behavior
The command should run successfully, or give a more informative error message.
If I am not mistaken, failure to automatically parse information should prompt the user for input.
Actual behavior
❯ wingetcreate new https://github.com/twpayne/chezmoi/releases/download/v2.22.0/chezmoi-windows-amd64.exe
Downloading and parsing: https://github.com/twpayne/chezmoi/releases/download/v2.22.0/chezmoi-windows-amd64.exe...
Failed to parse the package from [https://github.com/twpayne/chezmoi/releases/download/v2.22.0/chezmoi-windows-amd64.exe]
I stepped through with the debugger and it fails in ParsePackageAndGenerateInstallerNodes
because parseResult
is false
.
Environment
❯ winget --info
Windows Package Manager (Preview) v1.4.2161-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19044.1889
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.2161.0
❯ wingetcreate
Windows Package Manager Manifest Creator v1.1.2.0
matifali, mirror-kt, JasonWei512 and josh-hemphillmatifali and josh-hemphill