-
Notifications
You must be signed in to change notification settings - Fork 61
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
click-odoo-update: add option to filter modules to be updated #66
Comments
@gustavovalverde Usually, that command has to be called 'per environment'. Could you explain a little more the use case you have? |
@rousseldenis for example, I have a kubernetes cluster, each version <11, 12, 13> has their own containers. I commonly use a script like this one #39 (comment) to upgrade all the databases from a single version, but sometimes I don't want (nor can wait) a full upgrade. |
Usually, if a set of modules has changed, it is safe to update them, no? As the update process should be agnostic (and generic). If you want to bypass this, why not using the classic -u? |
Actually, that's what I'm doing: This would be just a way to keep the same script for both behaviors. |
@gustavovalverde would #69 help for your use case? |
Yes, that would work, in a common scenario it makes more sense to actually "filter-out" problematic modules, instead of doing the inverse. Closing this in favor of that approach. |
A common scenario, mostly in multi-tenant environments, is to update a specific set of modules (or a single one) instead of all the modules that has been changed since the last update. Sometimes you don't even want to upgrade everything.
It could be a parameter like
--modules
/-m
The text was updated successfully, but these errors were encountered: