Open AmarettoSlim opened 5 years ago
@AmarettoSlim this looks great - I'm going to move this over to chocolatey-licensed-issues.
Okay, this has been moved. Going to link up the other similar issue #109
Great, happy to provide insight as to how I'm solving this problem for now and answer any Q's that might come up
@AmarettoSlim the only workaround that I can think of would be to have a small wrapper script (either powershell, or cmd) that will call choco sync manually before any other call to choco.
Basically user calls the wrapper, which then calls choco sync
and then call choco
with any parameters passed to the wrapper.
This is a request to have a feature that runs ‘choco sync’ at the beginning of any choco command when enabled.
This feature would ensure legacy workflows where software may have been installed manually to be seamlessly detected by the package manager (PM). This is helpful when businesses are adopting Chocolatey as a package manager as it's unrealistic that every legacy workflow is re-written to leverage the manager at the same time Chocolatey is rolled out.
I would love to get people's opinion of this request.
Thanks!
References
┆Issue is synchronized with this GitLab issue by Unito