Skip to content

[lightspeed] Add new plugin for RH Lightspeed #4070

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcastill
Copy link
Member

@jcastill jcastill commented Jul 7, 2025

This commit creates the plugin for RHEL Lightspeed Command Line Assistant.

Related: RSPEED-549, RHEL-102037


Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines

  • Is the commit message split over multiple lines and hard-wrapped at 72 characters?
  • Is the subject and message clear and concise?
  • Does the subject start with [plugin_name] if submitting a plugin patch or a [section_name] if part of the core sosreport code?
  • Does the commit contain a Signed-off-by: First Lastname [email protected]?
  • Are any related Issues or existing PRs properly referenced via a Closes (Issue) or Resolved (PR) line?
  • Are all passwords or private data gathered by this PR obfuscated?

This commit creates the plugin for RHEL Lightspeed
Command Line Assistant.

Related: RSPEED-549, RHEL-102037

Signed-off-by: Jose Castillo <[email protected]>
@jcastill
Copy link
Member Author

jcastill commented Jul 7, 2025

Work in progress for now. I'm reviewing what needs to be obfuscated (for now, only db passwords, but waiting for confirmation) and log captures.

Copy link

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/sosreport-sos-4070
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

services = ('clad',)

def setup(self):
self.add_copy_spec("/etc/xdg/command-line-assistant/config.toml")
Copy link
Contributor

Choose a reason for hiding this comment

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

T see the file has (commented out by default, unsure if supported) options:

# In order to use postgresql, uncomment the following settings:
# [database]
# type = "postgresql"
# host = "localhost"
# port = "5432"
# username = "your-user"
# password = "your-password"
# database = "history"

# Or, to use mysql, uncomment the following:
# [database]
# type = "mysql"
# host = "localhost"
# port = "3306"
# username = "your-user"
# password = "your-password"
# database = "history"

so shall we scrub passwords from it?

Copy link
Member Author

Choose a reason for hiding this comment

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

passwords for sure, but I'm waiting to see if something else needs to be scrubbed. Do you prefer if I add the postproc now and expand it later?

Copy link
Contributor

Choose a reason for hiding this comment

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

Let add it later, no need now.

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.

2 participants