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

Fixes #37642 - Drop compatibility with smart_proxy_openscap < 0.6.1 #575

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jul 9, 2024

If this was still needed, we could use capabilities and easily check this statically but version 0.6.1 was released in 2017 so by now it's safe to assume it's new enough.

Dropping the old code makes it more reliable and we have less code to maintain.

I must admit I've only grepped through the source and am not that familiar with the codebase, so it realistic that I missed something.

@adamruzicka
Copy link
Contributor

Test failures seem related to the changes.

@ekohl
Copy link
Member Author

ekohl commented Jul 9, 2024

Yes, I missed something in the tests. Updated.

@pondrejk
Copy link

hello, I ran oscap-related tests from robottelo against stream with this PR's packit, the results matched with what we have seen with the latest stream snap

If this was still needed, we could use capabilities and easily check
this statically but version 0.6.1 was released in 2017 so by now it's
safe to assume it's new enough.

Dropping the old code makes it more reliable and we have less code to
maintain.
@ekohl ekohl changed the title Drop compatibility with smart_proxy_openscap < 0.6.1 Fixes #37642 - Drop compatibility with smart_proxy_openscap < 0.6.1 Jul 10, 2024
@ekohl
Copy link
Member Author

ekohl commented Jul 10, 2024

Updated the commit message to refer to a Redmine issue. No content change.

Copy link
Contributor

@adamruzicka adamruzicka left a comment

Choose a reason for hiding this comment

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

Looks good

@adamruzicka adamruzicka merged commit 38421d4 into theforeman:master Jul 11, 2024
27 checks passed
@adamruzicka
Copy link
Contributor

Thank you @ekohl & @pondrejk !

@ekohl ekohl deleted the remove-old-compat branch July 11, 2024 08:16
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.

3 participants