DrewNaylor / guinget

Unofficial GUI for Microsoft's Windows Package Manager (winget). Kinda like Synaptic, but for Windows. Not associated with either Microsoft or the Synaptic project, and Microsoft does not endorse this software.
Apache License 2.0
136 stars 3 forks source link

Deprecation: Loading the package list from manifests without using the database is deprecated in version 0.2.0.1 and UI configuration to turn it off will be removed in version 0.2.0.2. #105

Closed DrewNaylor closed 3 years ago

DrewNaylor commented 3 years ago

While I can allow just loading each of the full manifests for the multi-file manifests so it works like it does now, it'll likely be inefficient and take more work than just using the database as a reference point. Loading directly from the manifest files should work to an extent in version 0.2.0.1 as long as there aren't any multi-file manifests (see below for more details), but I'm adding support for the multi-file manifests in version 0.2.0.2 and as such will remove UI configuration that allows turning off database-loading. Also in version 0.2.0.2, the config file setting for loading from the database will be forced on when guinget upgrades its settings. A future version will remove the If/Then/Else (that episode's ending was so heart-breaking, but I digress) statements that allow for loading directly from manifests, thereby always enforcing the database's usage.

Version 0.2.0.1 will update the code for loading directly from manifests so it doesn't completely break with the new manifest format (v1.0.0), but since it's deprecated I highly recommend switching to using the database if you haven't already by checking the box that says something like, Load from winget community database under Tools>Options...>Refresh Cache. After checking the box, you'll have to refresh your cache to see the changes.