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
Add --update-list CLI option #9133
Conversation
Hello, This option will only work if you are in update mode (e.g. install another module). Otherwise looks good for master |
Should the help text mention it should be used with -d and -i? |
Alternatively, wouldn't it make sense to update the modules list any time we're trying to install a new module? /cc @odony |
Yes, we already have so many CLI parameters, it'd be much more in favor of merging this feature with the update/init mode itself. The likely reason why we didn't do that yet is the (small) extra cost of the addons_path scanning. But I think it would be ok to do it at the beginning of every install and/or update, not just for |
I went hunting for the origin of this expecting a revision 1 introduction but it turns out to be 00098e7: the restriction to "only when installing or updating base" seems somewhat arbitrary and is not explained. |
That's even simpler. I can do that PR if you like. |
PR made here: #9140 |
CLI option to update the module list.
Using it allows to directly install newly added modules without going to the web GUI or updating the base module.