-
Notifications
You must be signed in to change notification settings - Fork 994
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
[feature] Add option to clean the cache before update via config_install_interval
#12842
Comments
Hi @gpxricky Thanks very much for your suggestion. A different thing might be if we decouple the feature from the automatic config install. Does a |
Hi @memsharded actually I just wanted to open another issue that it is quite impossible now (with enabled I can imagine that there is lot of other trouble (failing updates, etc.) that makes it even more complicated. Therefore removing the functionality makes sense and is fine for me. I will try to find another way to realize a Conan 2.0 compatible auto-update. The |
This has completely changed already in Conan 2.0. All the output goes to stderr, except the really important bits, that goes to stdout. All commands that expect something valuable will also have a
This sounds to us something more system-level thing, like a
Yes, that would be the idea. To completely remove all config and reset it to the original state after a clean Conan install (except the packages storage). |
Hi @memsharded, actually using a
This sounds great and would be a good idea then. |
Update: We're looking into adding |
This has been implemented in #17514 for next Conan 2.12, thanks for the feedback ( |
What is your suggestion?
Hi,
I really like the possibility to update the Conan configuration periodically via the
config_install_interval
variable. However, this doesn't fit our needs to 100%. It would be great if the automatic update functionality could be enhanced to clean the cache (not the package data, but the profiles and hooks) before the configurations are updated. E.g. via aconfig_install_clean
variable in theconan.conf
file. Unfortunately this isn't that easy:Another solution would be to provide a hook for that purpose, so a project specific clean up is possible:
What do you think?
Best regards,
Markus
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: