Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2024-04-25 Thread Michal Domonkos
Closed #386 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/386#event-12610248521 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2024-04-25 Thread Michal Domonkos
With the above said, I'm going to close this issue now. We also plan to improve the documentation for triggers in general (via #2860) so that should help avoid the confusion in the future. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2024-04-04 Thread Michal Domonkos
As mentioned above, this is indeed expected behavior; when the trigger source is part of the transaction, the trigger is also activated, and is fed *all* the matching prefixes. It's analogous to *all* the packages shipping files in the `/` prefix being part of the transaction. That said, I can

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2020-09-30 Thread Panu Matilainen
Reopening for tracking in file trigger spec revise (whenever that will happen) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2020-09-30 Thread Panu Matilainen
Reopened #386. -- 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/386#event-3823454237___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-02-13 Thread Panu Matilainen
Documentation says "for all installed packages that contained...", nowhere does it say installed in *this* transaction. The "obvious" reason(s) for the behavior is that when installing the package containing the trigger, you want to get it to do its thing on the packages that are already

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-02-13 Thread Igor Gnatenko
> %transfiletriggerin: Executed once after transaction for all installed > packages that contained file(s) that matches prefix of this trigger. Also > executed after transaction if there was a package containing this file > trigger in that transaction and there is/are some files(s) matching

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-02-13 Thread Igor Gnatenko
Why would you run ldconfig (for example), if there was no library installed / changed during transaction? Just to be sure? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-02-13 Thread Igor Gnatenko
> and installed package set this doesn't make any sense for me... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-02-13 Thread Panu Matilainen
Closed #386. -- 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/386#event-1471178645___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-02-13 Thread Panu Matilainen
Hmm, actually I don't think this is a bug afterall: file triggers match files from the current transaction *and* installed package set, just like regular triggers do. And prefix / happens to match all installed files. It'll seem more sensible with a more reasonable prefix. -- You are

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-01-30 Thread Panu Matilainen
Yay, more file trigger bugs. -- 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/386#issuecomment-361631951___ Rpm-maint mailing

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-01-29 Thread Florian Weimer
This needs to be gated by an option, in case the command being run doesn't expect any data on standard input and exits before completely reading all input. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2018-01-29 Thread Igor Gnatenko
If spec happens to have something like: ``` %transfiletriggerin -- / cat ``` It would dump all files on filesystem instead of showing what's really in transaction. I don't think that it was done in this way by design. -- You are receiving this because you are subscribed to this thread. Reply