-
-
Notifications
You must be signed in to change notification settings - Fork 529
Skip minor updates #3101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip minor updates #3101
Conversation
Will check later today or tomorrow |
I have updated the export_version from 2 to 2.1. I have been doing some testing, and I have found that import/export work fine, except for the case where a version 2.1 I would appreciate if you could test this and confirm you are seeing the same behaviour as me |
…s.FromPackage, that will leverage internal caches
src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/Classes/InstallationOptions.cs
Show resolved
Hide resolved
I'm sorry, I'm not totally sure what you're requesting that I test. Just that skipping minor updates works, or serialization / deserialization of the install options for YAML files, or something else? |
Testing importing format 2.0 (old format) on this unigetui branch, and testing importing 2.1 format (new format) into UniGetUI stable (3.1.5 or lower). Opening the bundles should be enough, there is no need to install the packages, in the three formats json, xml and yaml. Everything should work fine except opening the Yaml format 2.1 on UniGetUI stable. I have tested it, but I don't want to risk it on such an important feature. |
Not seeing the packages rendered is likely to be #2737
The issue here is that this will only happen on already released UniGetUI versions, so it can't really be fixed/adverted to the user. |
You're right, I didn't think of that 🤦 |
Any user suspected of farming GitHub activity with crypto purposes will get banned. Submitting broken code wastes the contributors' time, who have to spend their free time reviewing, fixing, and testing code that does not even compile breaks other features, or does not introduce any useful changes. I appreciate your understanding.
This PR makes the user able to skip minor updates for a package in the installation options. Minor updates are determined as the "z" portion (or "z#w" in the case of vcpkg) of two versions "x.y.z{#w}" differing. If "x" or "y" differ, it will not be counted as a minor upgrade, as well as if there aren't three parts of a version for both.
This also fixes an issue where vcpkg installation options files would use the wrong name.

Closes #2927