Questions regarding returning to contribute #12071
-
Is it preferred to use the version manifest type now? Should I migrate all my existing ones to it? Are there any quirks I should be aware of when transitioning my packages to use the new manifest type and away from Additionally, is it possible to provide fixed versions of manifests alongside one that auto updates (i.e. set to latest)? Is wingetbot actively checking the version types on the manifest file(s) or does it make assumptions on the increments? For the few hosts that do keep previous versions on the same url (sourceforge, github, etc.) is there a way to have wingetbot preserve those previous versions and just act like how scoop/chocolatey do auto-updates?
Is productcode only used by programs installed via MSI? Does Do the installer types automatically include the known/expected good exit codes for their packaging? (i.e. nullsoft, inno, etc.) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Lots of good questions here. If you move to the multi-file manifest, it is easier for additional locale meta-data files to be added without having to do the full conversion. It's really your preference 😄 Our current client logic (v0.3.z) treats "latest" as the latest version if a manifest with that version is specified (over explicitly versioned manifests). Older versions with explicit values are welcome. That provides a mechanism to retain access to older versions of a package. If an installer contains meta-data for explicit versions the automation does attempt to generate a versioned manifest. Generally we run into challenges when the URL is a "vanity" URL. If the installer changes at that URL, the hash-mismatch check will identify that manifest as being "invalid". We've got an Issue to improve documentation for ProductCode. microsoft/winget-cli#921 We haven't automated anything to detect non-zero success error codes. They can be included in the manifest if known, but there are several edge cases that led us not to automate that yet. |
Beta Was this translation helpful? Give feedback.
Lots of good questions here.
If you move to the multi-file manifest, it is easier for additional locale meta-data files to be added without having to do the full conversion. It's really your preference 😄
Our current client logic (v0.3.z) treats "latest" as the latest version if a manifest with that version is specified (over explicitly versioned manifests). Older versions with explicit values are welcome. That provides a mechanism to retain access to older versions of a package. If an installer contains meta-data for explicit versions the automation does attempt to generate a versioned manifest. Generally we run into challenges when the URL is a "vanity" URL. If the installer changes at t…