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 pre_transaction_test() hook #2136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MigNov
Copy link

@MigNov MigNov commented Sep 30, 2024

Hi,
in yum I've used the pre_transaction_hook() to be able to do the processing in the case between yum downloaded the packages and before it went to the transaction test itself. With dnf I found out I am unable to do it like that as it's missing the pre_transaction_test() hook so I have implemented it.

This is functionality that I was using in the previous version, i.e. yum, for the preprocessing purposes of the packages before they got installed. The use case is to either provide an encryption of the packages and decrypt before the transaction test and/or to do the verification on my on.

Please kindly review.
Thanks,
Michal

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.

1 participant