delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/14/19:33:42

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:message-id:date:from:subject:to:references
:content-type; q=dns; s=default; b=Sd/Fg+nLbeBX9FmxlRQGrDcH2bC8X
rCFrn3Qr+MEgkLYgn5gqQ+meh5ys5E8PO3jfXm/zXFNAsryt/GBnaHDJF4q6Xlv7
HAV0Gqcd8R6Zu6aqDAXMLairzZ9VYhOE7U/fKdmxqHDfo1ueuKHZvpNlPtjFWaYa
Fu6Xfu8mvFvfVo=
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:message-id:date:from:subject:to:references
:content-type; s=default; bh=lcHJwIPkT2WV8tj4+Nt4UAhuj2A=; b=TMG
ej0jYHkI++AZk4fgSZH37Z3XVWdoMtEKVOlNH9i5dAkaesSiSHwJt3v19YNj4Xbt
VoNGqc8fOt5nCn2Vf3XD9kg7PWtTNqikLu2ReMkhwJXxEyZKDetLdaHTomckVcTP
EgCEkgFZxGPqzHBe4b9dDapCM5FxcD8+aeNM+YSo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=viewpoint, rogue, H*UA:github.com, stand
X-HELO: mail-ot0-f173.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:subject:to:references :user-agent; bh=0pluX3XWi9a0hYxhPoJEwCvhUcbDGe1lM0zObIdRZn0=; b=R2adR21hoxXwXewiiQZ+SGWuP2WHNR0rORYRfUly1TQD22xiw/WT7Z/3wxhT02M5pC nkiIu2x1DTQbnlpaKt0huZvGeAPDHrH/J9H/iHMgqS0ig4zhQ0k2AMnO268MqsxFAZRr VIGNXq2O8QAwBXl2PWESsQJn0ZWcwZspM1c1/WekiRhqV+OKwIZgcubMJ7KbBw/mZMBB 3EHevY1DaU98WOHkxmI82COEhKA6lCIeFpt4zLuTHJvFG1dz83xZ/MvhX3E0cptX9WAV nHOH+FKlYUAX87J/l99QDbK43xtfdSPXcVmHWUBYQZJNo97Kz6yYwzxzEChgtJyJ4HoH GYNg==
X-Gm-Message-State: AKGB3mLK16QsnDZG8ifzrvhvPRwwoHKwLRr7cJO7fzHboNt8BKYFYqVb /VfwEnowAbdIW23KmfV7+YrFvQ==
X-Google-Smtp-Source: ACJfBotz6GOWeklrJnVtqB1Yds+8LmomRiRjcxfonFyGQrnINjw/35QjqVdUU5T3dhb1gS5YL45sjg==
X-Received: by 10.157.51.144 with SMTP id u16mr6048028otc.292.1513298007426; Thu, 14 Dec 2017 16:33:27 -0800 (PST)
Message-ID: <5a331856.46e8ca0a.834c.f39b@mx.google.com>
Date: Thu, 14 Dec 2017 16:33:26 -0800 (PST)
From: Steven Penny <svnpenn AT gmail DOT com>
X-Google-Original-From: Steven Penny
Subject: Re: setup's response to a "corrupt local copy"
To: cygwin AT cygwin DOT com
References: <b031c829-d3a0-f28e-9ce0-0052e7d3475a AT cornell DOT edu>
User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst)

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.


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019