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

MergedTransaction: Calculate RPM difference between two same versions as no-op #1657

Merged

Conversation

ppisar
Copy link

@ppisar ppisar commented Apr 23, 2024

Upstream commit: 54823d8
Upstream commit: 90d2ffa
Resolves: https://issues.redhat.com/browse/RHEL-17494
Tests: rpm-software-management/ci-dnf-stack#1490

@jan-kolarik, could you please review this backport of your commit into rhel-9.5 branch?

… as no-op

Upstream commit: 54823d8

If a package of a particular version is installed and would still be installed after a list of transactions, it's more user friendly to treat the whole situation as "do nothing".

Resolves: https://issues.redhat.com/browse/RHEL-17494
@jan-kolarik
Copy link
Member

LGTM, though an issue was discovered related to this patch, so I'd recommend not backporting it without the additional fix.

@ppisar
Copy link
Author

ppisar commented Apr 24, 2024

I see. Then I will wait on that a for #1652 and then add it into this pull request.

@ppisar ppisar marked this pull request as draft April 24, 2024 11:38
@ppisar
Copy link
Author

ppisar commented Apr 24, 2024

That is #1658.

Upstream commit: 90d2ffa

When an item is dropped from the merged transaction, the `ItemPair` reference becomes invalid and should no longer be used.

Resolves: https://issues.redhat.com/browse/RHEL-17494
@ppisar
Copy link
Author

ppisar commented Apr 25, 2024

I added a fix from #1652.

@ppisar ppisar marked this pull request as ready for review April 25, 2024 10:19
Copy link
Member

@jan-kolarik jan-kolarik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@jan-kolarik jan-kolarik merged commit 020aab8 into rpm-software-management:rhel-9.5 Apr 25, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants