Skip to content

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