-
Notifications
You must be signed in to change notification settings - Fork 141
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
New feature exclude apps from major/minor updates #711
Conversation
GPOs are now also supported. this PR also adds german translations for the GPOs |
Isn't it a bit too complex? |
We have the following issue. Our developers use Android Studio and they need to develop on a specific minor version until finished, but small patches should be installed (due to hotfix / security reasons).
To answer your question. In that scenaro the software will stay on the "old" version. I think this wont make sense directly at winget, as winget doesnt manage updates, this is what WAU is doing. |
Winget does manage updates, but not automatically or in a seamless way. For example, you can manually run That's why I mentioned it as a winget issue. They should introduce a feature in the |
But how should it be implemented in winget, if winget has no update function (only upgrade all, which just upgrades all apps, with no restrictions). |
We use WAU to update apps with |
I have now created the feature request at winget, but I dont think this will be worked on. Any way to still implement it at WAU and drop it when MS provides a official way or do I have to drop this PR and figure out another way without WAU/winget supporting it (most likely I would create a PR at winget, but this will be wayyyy more work for me)? |
To be honest, I'm not sure what the best option is. From my point of view, it’s a lot of work on your part for potentially limited gain in WAU. Alternatively, we would need to implement a full check to only retrieve available hotfixes from the Winget repository. However, that would require querying all possible app versions just to find patched releases. |
The input from the above MS request was good, I think this makes this PR obsolete, but we still need #746 to be merged for this to work. I will continue my work there |
Oh good, I wasn't aware of that feature... That's a very good point, and we can try to address it soon. We'll probably need to review all the code that calls Winget. :/ |
Maybe you can use Mods to "pin" apps in system context. @KnifMelti, should be possible I guess? |
@Romanitho please be sure to check my latest commits at #746 before, in theory it works now, WAU wil be able to handle pinned apps and udate them only if the pinned version is lower than the last available version.
this will result in WAU updating the app as long as the version is lower than 16.1 for example. still would be great to somewhat use WAU to pin apps, for the beginning in our company I would have written a small script to pin apps. |
Proposed Changes
We have some applications where we cannot update the applications without validating them first. But we would like to get patch updates (1.0.2 : 1=Major, 0=Minor, 2=Patch) for security reasons f.e.
This feature implements an option to exclude specific apps from Major updates or Minor Updates.
It has been tested with two applications (Meazure.GuardianBrowser & Mozilla.Firefox), one user app, one system app. Wildcards seem not to work unfortunatly (yet).
Test Log Output:
Related Issues