From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-042.btinternet.com (mailomta8-sa.btinternet.com [213.120.69.14]) by sourceware.org (Postfix) with ESMTPS id 57B4F38AEB55 for ; Sat, 17 Dec 2022 17:00:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 57B4F38AEB55 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk Received: from sa-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.38.6]) by sa-prd-fep-042.btinternet.com with ESMTP id <20221217170051.HTAG16997.sa-prd-fep-042.btinternet.com@sa-prd-rgout-003.btmx-prd.synchronoss.net>; Sat, 17 Dec 2022 17:00:51 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 613942904847ECBB X-Originating-IP: [81.153.98.246] X-OWM-Source-IP: 81.153.98.246 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrfeelgdelhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepvddtteffkeevveejgeehgeelhfdtgefgieelgffgudetudefvdeggfeiiefftdevnecukfhppeekuddrudehfedrleekrddvgeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdeingdpihhnvghtpeekuddrudehfedrleekrddvgeeipdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeevhhhrihhsthhirghnrdfhrhgrnhhkvgesthdqohhnlhhinhgvrdguvgdprhgtphhtthhopegthihgfihinhdqrghpphhssegthihgfihinhdrtghomh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.106] (81.153.98.246) by sa-prd-rgout-003.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as jonturney@btinternet.com) id 613942904847ECBB; Sat, 17 Dec 2022 17:00:51 +0000 Message-ID: <072c7812-95f7-2b48-fef6-0c47e02642d3@dronecode.org.uk> Date: Sat, 17 Dec 2022 17:00:50 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH setup] Ignore reinstall requests if version is not accessible Content-Language: en-GB To: Christian Franke , "cygwin-apps@cygwin.com" References: <0961ff47-79c8-30af-53e4-43df240d4d99@dronecode.org.uk> <0c87ef72-4fdd-073e-a379-dfc2ea7630b5@t-online.de> From: Jon Turney In-Reply-To: <0c87ef72-4fdd-073e-a379-dfc2ea7630b5@t-online.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3570.0 required=5.0 tests=BAYES_00,FORGED_SPF_HELO,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE,TXREP autolearn=no 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 16/12/2022 15:40, Christian Franke via Cygwin-apps wrote: > Jon Turney wrote: >> On 11/12/2022 15:11, Christian Franke via Cygwin-apps wrote: >>> This prevents accidental package loss if reinstall is run from local >>> directory but the package is no longer cached. >> >> Thanks.  This seems right, so please apply. > > Done. > > Could you please also review "[PATCH setup] Add tooltip for Ctrl+I/R/U > accelerator keys" before next release? Yes, I hadn't forgotten about that, but I think it will be a bit before I get back to setup... > BTW, I have a local bash-script 'cygcache' which allows to list package > states ([auto]installed, cached, curr/prev/test), cleanup the cache > using above rules (configurable) or merge cache directories into one. > Still requires some polishing. If there is any interest, I could ITP it > next year. There's been a few ad-hoc solutions over the years, I think, but unless it's built into setup somehow, it's not going to reach the majority of users, I think. It's been pointed out recently that the top-level cache directory should probably be the release label (e.g 'cygwin') rather than the mirror URL. (There's some historical cache layout compatibility stuff in Cygwin for an even older scheme, but I can't remember the details...)