microsoft / winget-create

The Windows Package Manager Manifest Creator command-line tool (aka wingetcreate)
MIT License
491 stars 84 forks source link

add a `--force` parameter #341

Closed solomoncyj closed 1 year ago

solomoncyj commented 1 year ago

Description of the new feature / enhancement

when updating manifests, many a time wingetcreate will display stubborn messages after parsing installer files, for example

Each new installer URL must have a single match to an existing installer based on installer type and architecture. The following installers failed to match an existing installer:
Multiple matches found for the X86 Nullsoft installer detected from the URL

I have checked that the installers we working fine and there weren't any problems but wingetcreate wasn't having any of it and I don't have any alternative as yamlcreate does not have a stable version that supports arguments

Proposed technical implementation details

have a --force parameter that my be aliased to -f that makes wingetcreate ignore any errors during manifest creation. this should not override the validation stage though