Re: [Rpm-maint] [rpm-software-management/rpm] Psmpre and psmpost plugin callbacks executed multiple times per package (#1254)

2021-02-12 Thread Panu Matilainen
Closed #1254. -- 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/issues/1254#event-4324830996___ Rpm-maint mailing list Rpm-maint@lists.r

Re: [Rpm-maint] [rpm-software-management/rpm] Psmpre and psmpost plugin callbacks executed multiple times per package (#1254)

2021-02-12 Thread Panu Matilainen
Closing in favor of the more generic #1536 ticket. -- 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/issues/1254#issuecomment-778200474_

Re: [Rpm-maint] [rpm-software-management/rpm] Psmpre and psmpost plugin callbacks executed multiple times per package (#1254)

2020-06-05 Thread Panu Matilainen
The other thing with these hooks is that they're prone to misuse anyway. It's easy to end up thinking psmpost means package is all set and done, when it's often not the case: updates are not complete until the erasure part has also executed, and if the package has or takes part in post-trans sc

Re: [Rpm-maint] [rpm-software-management/rpm] Psmpre and psmpost plugin callbacks executed multiple times per package (#1254)

2020-06-03 Thread Panu Matilainen
That they get called multiple times could be considered a feature too, for example a plugin could hook in there to be able to do stuff each time a package file is opened. Rather than try bend those to something different, I think we'd be better off with actual install/erase hooks. -- You are r