Skip to content
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

WinGet Code Handling Modifications #3339

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mrixner
Copy link
Contributor

@mrixner mrixner commented Feb 21, 2025

  • I have read the contributing guidelines, and I agree with the Code of Conduct.
  • Have you checked that there aren't other open pull requests for the same changes?
  • Have you tested that the committed code can be executed without errors?
  • This PR is not composed of garbage changes used to farm GitHub activity to enter potential Crypto AirDrops.
    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.

Includes:

  • a random commit from last month that I forgot to PR that marks an uninstall that returns "no applicable version found" as successful (as in the user's eyes, it should be successful - unless you want this to mark an error condition?)
  • ignore the updates for a version if that program version has "no applicable update found" (note that this will likely eventually require a uninstall and reinstall of the program).

Should close #3326

{
return OperationVeredict.Failure;
}
if (uintCode == 0x8A15002B)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When an update is not applicable, I think it is the choice of the user whether to hide the update or not. I don't think it is a good idea to automatically hide the package

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'll hide it behind a setting.

Copy link
Owner

@marticliment marticliment Feb 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@mrixner mrixner marked this pull request as draft February 26, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants