From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4929 invoked by alias); 15 Oct 2015 18:01:55 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 4907 invoked by uid 89); 15 Oct 2015 18:01:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-01.arcor-online.net Received: from mail-in-01.arcor-online.net (HELO mail-in-01.arcor-online.net) (151.189.21.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 15 Oct 2015 18:01:52 +0000 Received: from mail-in-11-z2.arcor-online.net (mail-in-11-z2.arcor-online.net [151.189.8.28]) by mx.arcor.de (Postfix) with ESMTP id 3ncJMw5V0SzFQm0 for ; Thu, 15 Oct 2015 20:01:48 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-11-z2.arcor-online.net (Postfix) with ESMTP id B90D580571F for ; Thu, 15 Oct 2015 20:01:48 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net 3ncJMw4b7dzFQkv Received: from Gertrud (p54B47ACC.dip0.t-ipconnect.de [84.180.122.204]) (Authenticated sender: stromeko@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPSA id 3ncJMw4b7dzFQkv for ; Thu, 15 Oct 2015 20:01:48 +0200 (CEST) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [PATCH setup 0/3] Setup replacement for incver_ifdep References: <1442937170-17580-1-git-send-email-jon.turney@dronecode.org.uk> <561BB2A4.2030009@dronecode.org.uk> <87lhb8htrh.fsf@Rainer.invalid> <561FA783.900@dronecode.org.uk> Date: Thu, 15 Oct 2015 18:01:00 -0000 In-Reply-To: <561FA783.900@dronecode.org.uk> (Jon Turney's message of "Thu, 15 Oct 2015 14:17:55 +0100") Message-ID: <87oag0qad3.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-10/txt/msg00013.txt.bz2 Jon Turney writes: >> I still don't think the triggers should be implemented or at least not >> in the way you've been proposing. > > Can you explain the reason why? Triggers need to be coordinated among packages and we currently don't have an infrastructure for that. And implementing just a single trigger for info files is special-casing this thing too much. > I think that's more or less what I implemented. I'm talking about doing it with a perpetual postinstall script. >> But it would be possible to just add / >> remove the corresponding entries with a bit more bookkeeping. I'll try >> something of that, but not immediately. > > I guess that list of matching files added/removed could be written > into or associated with the trigger file, but the benefit starts to > look a bit marginal, (especially as this is not intended as a general > solution, but only for use with _update-info-dir, and other future > package-to-package triggers are written directly in the packages > themselves) Again, I don't see why updating the info dir should be so special, it can be done in postinstall without getting special-cased in setup: Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds