[Rpm-maint] [rpm-software-management/rpm] Handle file install failures more gracefully (#1534)

Panu Matilainen notifications at github.com
Fri Feb 12 10:40:27 UTC 2021


Yup, the file plugin calls are buggy here.
The common theme with our plugins is that pre- and post-slots get called in pairs: if the first is called then the latter is always called too. The code was quite careful to follow this, but now this is all so very different now - for one, the last loop runs in reverse order. Okay, it could and probably should look at the stage (and yeah it's ... vague atm) to determine if pre was called and only call post for those. Then again, I wonder if the pre-post pairing makes sense anymore at all. Especially since I don't think any plugin actually uses those slots...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1534#issuecomment-778117980
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210212/0236f081/attachment.html>


More information about the Rpm-maint mailing list