On Sep 19, 2008, at 10:59 AM, Michael Schroeder wrote:
> On Fri, Sep 19, 2008 at 02:52:21PM +0000, Alexey Tourbin wrote:
>> On Fri, Sep 19, 2008 at 11:07:04AM +0200, Michael Schroeder wrote:
>>> while implementing virtual triggers
>> [...]
>> May I perhaps take a look at where you are?
>> I'm implementing some sort of triggers, too.
>
> Oh, I'm not implementing new triggers, I'm just changing the current
> implementation so that they also trigger on package provides (and
> maybe the file list) and not just package NEVR.
>
That's exactly the right approach imho, better than the per-file
triggers as implemented
in Mandriva rpm. The ability to trigger through externally configured
scripts needs doing as well.
Likely the 1st thing to get into place is the ability to trigger from
adding
a file to a directory, i.e. trigger if RPMTAG_DIRNAMES matches a trigger
pattern, add trailing / to pattern to differentiate a dirname trigger.
All the blessed hack-o-matic newer! better! bestest! packaging to
run /sbin/ldconfig
or rebuild a gnome menu index coluld/should be handled with a trigger
on directory change primitive, and externally to packaging for
maintenenace ease.
73 de Jeff
Received on Fri Sep 19 17:26:57 2008