Skip to content
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

improve info role outputs #103

Merged

Conversation

mikemorency
Copy link
Collaborator

@mikemorency mikemorency commented Oct 1, 2024

This change includes two suggestions from the testathon feedback.

  1. Remove unnecessary dependency on the community.general collection that comes from the info role's output filenames
  2. Make the gathered info more accessible via variables

For the first suggestion, the recommendation was to make the output filenames simpler and let the user create randomized names if they want. I also made writing output files optional since many users did not find them useful. The default is to still output files, since that is what we did previously.
I also noticed that the community.general collection was referenced by a lot of tests when it wasnt actually being used so I removed that reference.

For the second suggestion, I added a variable that is optionally set with the gathered info. Its documented in the README and uses a variable name that is unlikely to cause any conflicts. The user can opt out of this variable. They may want to do so to save memory, since the data gathered can be quite large in size.

@mikemorency mikemorency changed the title improve info role improve info role outputs Oct 1, 2024
@bardielle
Copy link
Contributor

@machacekondra please review it as well

Copy link
Collaborator

@anna-savina anna-savina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikemorency mikemorency merged commit 362c4c3 into redhat-cop:main Oct 8, 2024
19 checks passed
@mikemorency mikemorency deleted the mm-feature/improve-info-role branch October 8, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants