CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

Warning message when attempting to set `--install_class` or `--uninstall_class` flag on `update_package_xml` and `--managed` is `false` or null (defaults to true)

Open Julian88Tex opened this issue 2 years ago • 0 comments

Feature Type

I'm interested in extensions to existing CumulusCI functionality (e.g., broader applicability of an existing Task or Flow).

Does your feature request solve a current problem?

The problem is if you are attempting to explicitly add an install class or uninstall class you also need to set --managed to true or else it will not be added. This can be confusing to the user if they don't realize that this parameter is key.

Describe the solution you'd like

Warning message that says something to the effect of:

Warning: When using --install_class or --uninstall_class parameters you need to set --managed to True.

Describe alternatives you've considered

  • Potentially this should be an error message.
  • Not really sure how this should perform in relation to install_class: and uninstall_class: being set in the CumulusCi.yml file.
  • Maybe --managed should be True by default.
  • Perhaps managed: True should be something you can set in cumulusci.yml as $project_config.project__package__managed

Additional context

No response

Julian88Tex avatar Apr 23 '23 00:04 Julian88Tex