From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 7DD033858CDA for ; Fri, 28 Apr 2023 05:51:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7DD033858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id sFkrpb8Ow6NwhsH1LpVl6C; Fri, 28 Apr 2023 05:51:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1682661111; bh=DPr7seks3KBpWXQxVFe3IZLiXdcH/21qpty29fo75SQ=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=ow1CVuftnT2mzfvA1bPTMcaglZG1UBKThZS7Gj7ev9n9pi4Z5CQayr6jtqpIzgcwf apLVgr7qGJuHSuCxuOd+D6S0S4pAO3BGiOFyLMOhXUL5FBR4zWK3tRfHY1pF1Z7qIo Whn1w9o2TisC9hbb9eWofyPUX6VRtG4U6l9iIZL9QgiC80949grBlQU8AjmdDDX0jz XqtunqHfnr5sUlO5OUlqdkc6s7WDT4/jgrOiNGSRLDtOdMbilnyiGgKqKh1VOPoIvv Pm4gK503cEjC0j+FZiTY97tJ0WPb9PDaCRLJ/5fGhD7US8636GQlB6Q50FGeCrEGuB 20lPnecGfizAg== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id sH1KpFe8KyAOesH1KpAGyC; Fri, 28 Apr 2023 05:51:50 +0000 X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=644b5ef6 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=bnYZryYyYMif5DHyvQIA:9 a=QEXdDO2ut3YA:10 a=zLY97t-96K0A:10 a=sRI3_1zDfAgwuvI8zelB:22 Message-ID: <2fc159e2-2544-9e07-1f6b-8adadcdbe2f3@Shaw.ca> Date: Thu, 27 Apr 2023 23:51:50 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Reply-To: cygwin-apps@cygwin.com Subject: Re: [PATCH setup 0/2] Detect filename collisions between packages Content-Language: en-CA To: cygwin-apps@cygwin.com References: <20230423144330.3107-1-jon.turney@dronecode.org.uk> <87y1mh5end.fsf@Rainer.invalid> From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfI46/pkYcxIqMzDNyQHhol3LILBzk0gdLsegCghUOr+AtuC1BEtb96fW+FzlwI9jcOLtlZ08n0nlQ1ucvLPiyc3AvKNKgpCIpM1rAibdISs9vWAp9H4+ /oFJtN/OSTeSK4Zh8ajc/TXoHwm+Av6VZYlEUax5NF6e9m+CldnkS7S3yLAEY5nPMNMi+5L+lPmIXg== X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-04-27 10:11, Jon Turney via Cygwin-apps wrote: > On 24/04/2023 19:16, Achim Gratz via Cygwin-apps wrote: >> Corinna Vinschen via Cygwin-apps writes: >>> Calm could create a database containing all the files from the tar >>> archives it uploads, and compare that against the newly uploaded files >>> on the fly. >> >> That already exists as the basis for package grep, albeit in the form of >> a buiinch of text files. >> >> […] >>> There's probably another problem in terms of different file lists in >>> different package versions, though... >> >> That is probably not too onerous to check for, but files moving from one >> package to another is a different story. > > This is certainly doable. > > (There's a few more wrinkles, as calm doesn't presently concern itself with > trying to work out what the solver would install if you asked to install > "everything", considering 'obsoletes:', and maybe even explicit 'conflicts:' > markers in hints, etc.) > > I think this functionality needs to exist in setup as well, though, as calm > can't possibly have knowledge of packages you might be installing from 3rd party > overlay package repositories. Please make any of these conflict messages warnings only, as few packages use alternatives, and there may well be benign duplication, e.g. multiple language versions, as we normally get complaints about conflicts. Alternatively, what about a report like Deprecated shared library packages https://cygwin.com/packages/reports/deprecated_so.html? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry