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

Prevent loading plugins for unittests #1327

Merged

Conversation

j-mracek
Copy link
Contributor

Loading plugins from host system is risky for both sides.

Closes: #1316

@ppisar ppisar self-assigned this Mar 20, 2024
Copy link
Contributor

@ppisar ppisar left a comment

Choose a reason for hiding this comment

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

Otherwise, I confirm this patch looks good and indeed fixes the bug.

@j-mracek
Copy link
Contributor Author

j-mracek commented Apr 2, 2024

@ppisar I've modified the PR. May I ask you to look again to it?

@ppisar
Copy link
Contributor

ppisar commented Apr 4, 2024

I recommend squashing "Prevent loading plugins for unittests" and "Use a different method for disabling plugins during build" commits into one.

@ppisar
Copy link
Contributor

ppisar commented Apr 4, 2024

Otherwise, it's good.

@j-mracek j-mracek force-pushed the tests-without-plugins branch from 12a620e to ede94d3 Compare April 4, 2024 11:41
It makes functional --no-plugins option in DNF5
@j-mracek j-mracek force-pushed the tests-without-plugins branch from ede94d3 to 741702a Compare April 4, 2024 11:49
@j-mracek
Copy link
Contributor Author

j-mracek commented Apr 4, 2024

@ppisar Done

@j-mracek
Copy link
Contributor Author

j-mracek commented Apr 4, 2024

@ppisar Thank you for the review

@ppisar
Copy link
Contributor

ppisar commented Apr 4, 2024

Otherwise, it's good.

Loading plugins from host system is risky for both sides.

Closes: rpm-software-management#1316
@j-mracek j-mracek force-pushed the tests-without-plugins branch from 741702a to b9215c8 Compare April 4, 2024 13:59
Copy link
Contributor

@ppisar ppisar left a comment

Choose a reason for hiding this comment

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

Good. The failing integration tests are unrelated.

@ppisar ppisar merged commit cdf0d3d into rpm-software-management:dnf5-5.2.0.0 Apr 4, 2024
9 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants