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

Add pImpl to libdnf5::transaction::* classes #1200

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Jan 24, 2024

This includes TransactionItem, CompsEnvironment, CompsEnvironmentGroup, CompsGroup, CompsGroupPackage, Package and TransactionHistory.

This PR is into a new dnf5-5.2.0.0 branch to keep the main branch API compatible.

Another part for: #1025

Also add pImpl to `libdnf5::transaction::CompsEnvironmentGroup`.
Also add pImpl to `libdnf5::transaction::CompsGroupPackage`.
It explicitely deletes copy and move constructors becuase
TransactionHistory contains weak ptr guard and it cannot be easily
moved or copied.
@jan-kolarik jan-kolarik self-assigned this Feb 12, 2024
@jan-kolarik jan-kolarik merged commit f43de08 into rpm-software-management:dnf5-5.2.0.0 Feb 19, 2024
5 of 9 checks passed
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