-
Notifications
You must be signed in to change notification settings - Fork 14
Support data collection #1287
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
Support data collection #1287
Conversation
wkz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work! 🙏
jovatn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Note: I have only looked at user documentation and test documentation.
Perhaps you'd like to include gpg encryption in the test too?
Thank you! 🙏
|
Signed-off-by: Joachim Wiberg <[email protected]>
Signed-off-by: Joachim Wiberg <[email protected]>
This commit adds optional support for encrypting the tarball before it leaves the target system. Documentation and usage text updated. Signed-off-by: Joachim Wiberg <[email protected]>
Also, adjust file suffix for json files. Signed-off-by: Joachim Wiberg <[email protected]>
Sync with latest updates, including test path changes. Signed-off-by: Joachim Wiberg <[email protected]>
Signed-off-by: Joachim Wiberg <[email protected]>
Signed-off-by: Joachim Wiberg <[email protected]>
Signed-off-by: Joachim Wiberg <[email protected]>
|
@wkz would you mind having a final look and approve if you like what you see? |
wkz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super trooper! 🎖️
| if os.path.exists(output_file): | ||
| os.remove(output_file) | ||
|
|
||
| if has_gpg: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if has_gpg: | |
| if not has_gpg: | |
| test.succeed() |
Just for future endeavors: this pattern should work, IIRC. Avoids having to indent the whole following block 🤓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, of course. Thanks!
Description
This PR adds a
supportscript tailored for gathering system information. The recommended way of running the script is:Also included is an initial prototype of a support analysis utility tool. Implemented in python using the textual framework, tui mode only atm., but possible to extend with a web front-end later on.
Checklist
Tick relevant boxes, this PR is-a or has-a: