X-Recipient: archive-cygwin@delorie.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=eRJC6tUEnwzIrtTvphRUiRdDujxxA
	EagSmVx5SLvlJ6ud7dErm08ewezv+U9mPNZ2CD9Sayyey40E1UUvCh0Qq+CXpq+L
	lyLKunW+O0AF4H4iHKKzZkU5eR64o8rjrYhYFQNKhnEyNFdrmox7toBT28Xnf6jq
	5MlViW0H7uJnu8=
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=zSeqYTA1GjyULRNeiEAYHZrr39o=; b=AVW
	WdRWFQtuz110ZVX2LekYYkxwnDfFwTZQlmjbQvus0w/MaR8ZfulBrkLaKJvJLDru
	bf4s1mVZz1wO5+hXLG2xatqNGnJy6sKCkYX0r7LU0pvnVdOETOHFYkGC6JV3jCzJ
	EPfJfRhulhIUSrJCJji0h8Xm4ec7cM7QNELLXttY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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=UD:altervista.org, H*UA:github.com, H*M:google
X-HELO: mail-oi0-f46.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=9GhG7gkR8dLAu+EOBzMdxasoc163zQtBnoURnMdbcoM=;        b=gv/hQII2vv1gmpx61TkUz4GTZjZsBSTzdOL4XJWVZ0o3BnB7LAurdWLeFMEMcK327A         H2o6SmhiBha6NYylQ4nB7idjv88PLvmHaGl6ebs0kYFb+Zxm4xKs38jB3CsBNeJbBs1t         zhd/Glj7I9m17ZQLzliMrF14uWUw2qPBFRXDJmYUS0WYGUFREZUjJxd1gLJMiSr0m2Hf         YiB+IrauVSpjoByviB+eB+JM0r5f4pHxUvPQefcRvNFn8iLkt1mIeRK5jAMNN1reqxIC         5TsM2J4EStvpsr7eoFnOk2+rgETgxNcmfNUP7p8CvH+sAU1gBmLDY4v8ApMayE7CG/Uu         l04A==
X-Gm-Message-State: AKGB3mIyrxZbReit5r/J69MPJlpLp6Wn2vN2Ls+WE6L1z/7u/rPtE+q3	F5pKP4jdJifv6BIhjGaRYoMaUQ==
X-Google-Smtp-Source: ACJfBosD/ixFOvmZD4MRvmfknDuNIQ/2Y07DjvpGdnyK6gbXi9oiMmztphsWeC3WlT2JHQnlMHtWOg==
X-Received: by 10.202.49.212 with SMTP id x203mr482141oix.33.1513123975063;        Tue, 12 Dec 2017 16:12:55 -0800 (PST)
Message-ID: <5a307086.70159d0a.91426.1547@mx.google.com>
Date: Tue, 12 Dec 2017 16:12:54 -0800 (PST)
From: Steven Penny <svnpenn@gmail.com>
X-Google-Original-From: Steven Penny
Subject: Re: setup 2.883 release candidate - please test
To: cygwin@cygwin.com
References: <0c853d67-305e-97fd-c144-9151c3ba2085@cornell.edu>
Content-Type: text/plain; charset=utf8; format=flowed
User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst)

On Tue, 12 Dec 2017 08:04:09, Ken Brown wrote:
> How can setup possibly automate this?  It doesn't know where the corrupt 
> local tarball came from.  For example, suppose you sometimes build 
> packages yourself for testing or debugging.  You keep them in your local 
> repository, and you also upload them to a private repository on the 
> internet so that you can easily install them on a different computer. 
> You make a change and rebuild the package, but you forget to replace all 
> copies of it.  setup can't know which version is the correct one.  And 
> it certainly shouldn't be deleting your files because it thinks they're 
> corrupt.

No, this is not right. If you are building packages yourself, then you should
have a custom setup.ini to match, example:

http://matzeri.altervista.org/x86_64

so that in any case, setup.ini has the final say of what a correct archive is,
via the SHA512. If a file in the local repo doesnt match either because:

- file size 0
- file size less than proper size because of interrupted download
- SHA mismatch because of custom build

said file should be removed and redownloaded by setup.exe. if you are building
custom archives, then you should also be making custom setup.ini.


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

