UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

[ENHANCEMENT] Only show or visualize major updates based on semver

Open eikaramba opened this issue 2 years ago • 6 comments

Please confirm these before moving forward

  • [X] I have searched for my feature proposal and not found a work-in-progress/duplicate/resolved/discarded issue.
  • [X] This improvements refers to an existing feature. If you want to suggest a new feature, please use this template
  • [X] This improvements is not a bug. If you want to report a bug, please use this template

Describe the improvement

Currently all updates are shown. Lot of package managers however allow to only show major update or resp. show them visually different if the version is a minor or major upgrade.

e.g. show 6.0.1 -> 7.2.4 in red but 6.0.1 -> 6.2.1 in white. grafik

Describe how this improvement could help users.

the reason behind this is that i have a lot of updates and don't necessarly want to update all of them esp. as some software already has updated itself via some internal auto updated. so i only want to get notified about major updates.

eikaramba avatar Nov 10 '23 11:11 eikaramba

i found a similar issue i think ;) https://github.com/marticliment/WingetUI/issues/1110

eikaramba avatar Nov 10 '23 11:11 eikaramba

in order to "parse" the version one could either use semver libraries https://pypi.org/project/semver/ or have a look how this lib is doing it: https://github.com/dylang/npm-check grafik

eikaramba avatar Nov 10 '23 11:11 eikaramba

They are related, but not actually the same

marticliment avatar Nov 10 '23 15:11 marticliment

Actually, I would like to be able to configure the according behavior per package. Here's an example: On my machine, I have installed Python 2 for some reason. Now, WingetUI keeps suggesting to update this to Python 3, which is not an option for me. If I now would be able to tell WingetUI that for this package, I only want minor updates to be offered, then I would not have to ignore the Python package (which I have to do now because I don't want to accidentally upgrade to Python 3).

csoltenborn avatar Apr 12 '24 08:04 csoltenborn

It would be nice to have two options to configure:

  • semver pattern to show
  • semver pattern to autoupgrade

lkurzyniec avatar Jun 15 '24 07:06 lkurzyniec