X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id; q=dns; s=default; b=nYqkLaMPBZAqDhmGT9iQYAnQF+9eZwCjc5dINxdBBCd /7ASehM6a8u5dQ2m0VEs68vdRiWIKk7jsrSvqWhs7ROB4SnEOFxPfwEnbiP4UtW6 o5EpeBEKsulO5Z4nYlLA6ArGM037FeJN6WnQy7hmSeNHks1G4RKhq4ldRUa8BFHY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id; s=default; bh=7v3CIlPE+2F0Xplp82R2vb4EgbI=; b=fMq2EyvIh+ZnB/FKv M07RgyGSmsBNhnrtQkSSxo1CM1YglUaApyKnDrxvozB206UPL5OGzqLEEh7JrmGe GJQ4+DTXWmPvJ8LrbtPmV29KcsWqUXkcLhwerPLJY3GpGzZxQWpt2bAUwSFhvxMw zT3T0S88RM2odu23EUbg4r8Bfg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=offer, stand, risk X-HELO: gproxy2-pub.mail.unifiedlayer.com X-Authority-Analysis: v=2.2 cv=VcCHBBh9 c=1 sm=1 tr=0 a=x/h8IXy5FZdipniTS+KQtQ==:117 a=x/h8IXy5FZdipniTS+KQtQ==:17 a=kj9zAlcOel0A:10 a=ocR9PWop10UA:10 a=w_pzkKWiAAAA:8 a=CGd8J84C9Cq8AB0GFYkA:9 a=CjuIK1q_8ugA:10 a=BLJGF7XH7M0A:10 a=sRI3_1zDfAgwuvI8zelB:22 From: Vince Rice Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: setup's response to a "corrupt local copy" Date: Fri, 15 Dec 2017 09:50:44 +0700 References: <5a331856 DOT 46e8ca0a DOT 834c DOT f39b AT mx DOT google DOT com> To: The Cygwin Mailing List In-Reply-To: <5a331856.46e8ca0a.834c.f39b@mx.google.com> Message-Id: <94A36026-06D9-4BD2-BFC5-68D5005D0071@solidrocksystems.com> X-BWhitelist: no X-Exim-ID: 1ePg5n-003zJD-5w X-Source-Sender: ([192.168.1.105]) [175.100.60.31]:13424 X-Source-Auth: vrice AT solidrocksystems DOT com X-Email-Count: 1 X-Source-Cap: c29saWRycjI7c29saWRycjI7Ym94ODY3LmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id vBF2plrj019907 > On Dec 15, 2017, at 7:33 AM, Steven Penny wrote: > > On Thu, 14 Dec 2017 14:57:14, Ken Brown wrote: >> And, as I said, it happens when setup is *preparing* to download files and >> finds a corrupt copy already present in the local cache. In that context, >> setup has no idea where the file came from. > > the point is, *it doesnt matter*. it is not and shouldnt be setup.exe job to > worry about the origin of files in the Local Package Directory. > > Officially this directory, and the files below, are only created by setup.exe > itself. If people are creating their own custom archives, then putting them in > the Local Package Directory, *then* expecting them to work without a modified > setup.ini, that is an error in judgment on their part. > > my original point, and one that i stand by as ive seen no reasonable counter > yet, is that setup.exe should assume control of the entire Local Package > Directory and its contents. this includes removing rogue files that are in > conflict with the current setup.ini. As Hans said: > > http://cygwin.com/ml/cygwin/2017-12/msg00126.html > > my viewpoint would be in concert with a typical "Git" workflow: > > 1. make changes to working directory > 2. add those changes to the index > > with step 2 being the analogue to creating a custom setup.ini. setup.ini should > always have the final say on what a correct file is; so if you want a custom > archive then you better tell setup.ini about it or otherwise risk it being > nuked. No, the point is it doesn't matter *to you*. As always, what you want doesn't necessarily reflect what everyone else wants, no matter how often you repeat yourself or try to deflect others' opinions as not being a "reasonable counter". It's my computer. I don't want setup (or anything else) replacing files on it it doesn't know about without at least asking whether that's what I want it to do. Setup's current behavior is exactly what it should be, IMO. If, as has been mentioned, someone wants to offer an *option* to replace, either with or without a question, then great. But the default should be to leave something it doesn't know about alone. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple