dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
335 stars 163 forks source link

ome_diagnostics and support_assist_collection under log_type #309

Closed MallocArray closed 2 years ago

MallocArray commented 3 years ago
Summary

In all of Dell's applications and marketing, SupportAssist is one word. In the module ome_diagnostics, under log_type, one of the option is "support_assistcollection" which treats it as two words with separating each one. Ideally, the option should be named supportassist_collection, but since the module has been released with it being treated as two words, can it be made into an alias one way or the other, so supportassist_collection becomes a valid option? Documentation would also need to be updated to use this as the name, even if support_assist_collection continues to be available.

Component Name

ome_diagnostics

Ansible Version
iDRAC or OpenManage Enterprise version

OME-M 1.30.00

Steps to Reproduce
Playbook used
https://github.com/dell/dellemc-openmanage-ansible-modules/blob/collections/docs/modules/ome_diagnostics.rst
Expected Results

log_type value named supportassist_collection as SupportAssist is only one word

Actual Results

value is named support_assist_collection, treating it as separate words

Community Note

jagadeeshnv commented 3 years ago

Yes you are right, there are a few places in doc where SupportAssist has to be used. We will update it. Regarding the option name support_assist would be the snake_case of SupportAssist. This is the format recommended by Ansible though not mandatory.

MallocArray commented 3 years ago

Maybe it depends on what your definition of snake_case is, but according to Wikipedia: https://en.wikipedia.org/wiki/Snake_case each space is replaced with _

In this case, SupportAssist is always documented across Dell as a single word, so in my eyes, would not fall under the convention of putting an underscore between them, hence my consideration of supportassist_collection.

Ultimately, this is your decision, but wanted to bring this to your attention for another review. If it is decided to keep it formatted as 3 separate words, this issue can be closed.

anupamaloke commented 3 years ago

@jagadeeshnv, I am also somewhat aligned with @MallocArray in that we should be using "supportassist" as a single word. It would be good to have another choice named supportassist_collection for the log_type module argument and may be alias it.

MallocArray commented 2 years ago

Addressed in 5.3.0