-
Notifications
You must be signed in to change notification settings - Fork 907
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
choco search
command does not use previously cached results
#3125
Comments
While working on this issue, it was identified that this issue could also be addressed at the same time. This is due to the fact that by providing a Follow up issues will be created, and added to the 2.1.0 milestone to allow purging of the caches, as well as to allow skipping of the caches for certain queries. |
In order to be consistent with how queries are cached when doing install and upgrade commands, this commit switches to passing in an instance of the ChocolateySourceCacheContext object, so that the choco search comamnd makes use of the same cached query results. This will mean that all commands return consistent results. It does mean that we will need to provide an ability to by-pass/purge these caches, but that will be part of another scope of work.
In order to be consistent with how queries are cached when doing install and upgrade commands, this commit switches to passing in an instance of the ChocolateySourceCacheContext object, so that the choco search command makes use of the same cached query results. This will mean that all commands return consistent results. It does mean that we will need to provide an ability to by-pass/purge these caches, but that will be part of another scope of work.
In order to be consistent with how queries are cached when doing install and upgrade commands, this commit switches to passing in an instance of the ChocolateySourceCacheContext object, so that the choco search command makes use of the same cached query results. This will mean that all commands return consistent results. It does mean that we will need to provide an ability to by-pass/purge these caches, but that will be part of another scope of work.
In order to be consistent with how queries are cached when doing install and upgrade commands, this commit switches to passing in an instance of the ChocolateySourceCacheContext object, so that the choco search command makes use of the same cached query results. This will mean that all commands return consistent results. It does mean that we will need to provide an ability to by-pass/purge these caches, but that will be part of another scope of work.
In order to be consistent with how queries are cached when doing install and upgrade commands, this commit switches to passing in an instance of the ChocolateySourceCacheContext object, so that the choco search command makes use of the same cached query results. This will mean that all commands return consistent results. It does mean that we will need to provide an ability to by-pass/purge these caches, but that will be part of another scope of work.
In order to be consistent with how queries are cached when doing install and upgrade commands, this commit switches to passing in an instance of the ChocolateySourceCacheContext object, so that the choco search command makes use of the same cached query results. This will mean that all commands return consistent results. It does mean that we will need to provide an ability to by-pass/purge these caches, but that will be part of another scope of work.
choco search
command does not use previously cached results
🎉 This issue has been resolved in version 2.1.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Checklist
Is Your Feature Request Related To A Problem? Please describe.
When doing a call to
choco search
it does not re-use a previously cached results, unlike what is done when callingchoco install
.Describe The Solution. Why is it needed?
To keep it consistent with the results you would get with installations.
Additional Context
N/A
Related Issues
The text was updated successfully, but these errors were encountered: