How often do I need to do: winget configure .config/configuration.winget
?
#5393
-
Is this a system-wide configuration that I only need to do once, or is it something I need to do in every repo checkout folder? I have multiple versions of the working copy of the repo on my machine, because I can build the one I checked out on March 31st, but I have some more recent versions of the source tree which are not working yet. I'm working my way forwards from the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The configurations are idempotent - meaning they always check your current system system before "applying" any configuration. This means, you only ever have to run it once if your system lacks the configuration where WinGet will get it in the "desired state" (i.e., installing dependencies, enabling developer mode & others specified in the file). Afterwards, you can run the configuration as many time you want and it should essentially have "no effect" as it will assert your system already being in the desired state. What this means is that you don't necessarily have to run it for every repo checkout - but if somehow the dependencies or the configs are missing, running it again will get you back in the desired state. |
Beta Was this translation helpful? Give feedback.
The configurations are idempotent - meaning they always check your current system system before "applying" any configuration. This means, you only ever have to run it once if your system lacks the configuration where WinGet will get it in the "desired state" (i.e., installing dependencies, enabling developer mode & others specified in the file). Afterwards, you can run the configuration as many time you want and it should essentially have "no effect" as it will assert your system already being in the desired state.
What this means is that you don't necessarily have to run it for every repo checkout - but if somehow the dependencies or the configs are missing, running it again will get you…