From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9375 invoked by alias); 5 Oct 2017 12:24:58 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 9364 invoked by uid 89); 5 Oct 2017 12:24:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=errorprone, error-prone, automation, schulman X-HELO: out1-smtp.messagingengine.com Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Oct 2017 12:24:56 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1A89520AB3 for ; Thu, 5 Oct 2017 08:24:55 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 05 Oct 2017 08:24:55 -0400 X-ME-Sender: Received: from [192.168.1.102] (host86-151-121-210.range86-151.btcentralplus.com [86.151.121.210]) by mail.messagingengine.com (Postfix) with ESMTPA id B66667FA83 for ; Thu, 5 Oct 2017 08:24:54 -0400 (EDT) From: Jon Turney Subject: Re: [PATCH cygport] Add a command to make a test release To: cygwin-apps@cygwin.com References: <0756319a-94e5-d3d3-507a-2aee9418aca6@dronecode.org.uk> Message-ID: Date: Thu, 05 Oct 2017 12:24:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-10/txt/msg00033.txt.bz2 On 03/10/2017 21:01, Andrew Schulman wrote: >> This patch (originally by Achim Gratz) adds a mechanism for generating >> packages marked as 'test' as described in [1]. >> >> I'm not committed to any of the details, but I would like to get >> something with this functionality in, so tell me how you'd like it >> implemented and I'll do it... >> >> [1] https://cygwin.com/ml/cygwin-apps/2016-12/msg00005.html > > Cygport needs a way to specify which versions are prev, curr, and test in > cygport files. David Rothenberger and I each proposed a method [1,2]. It > doesn't matter much to me which method is picked, but it's definitely a > missing feature. I'm not keen on the idea of including this transient information into the cygport, and thus baking it into the source package. However, I also want to make package maintainers lives easier. So, I'm all for automation to make things less tedious and error-prone, which this patch attempts to do. A few points to consider: * I'm going to remove the restriction that you can only have 3 versions. (I keep on putting this off only because it will break parsing setup.ini for setup prior to 2.877) * (This also means that more than one test: version may be available) * Changing curr: doesn't cause setup to downgrade (since 2.864) (unless --force-current is used, since 2.874) * prev: isn't a very significant label, since the only way to install that version is by manually selecting it, i.e. all it means is "keep this version around" Taking a step back, as a package maintainer, what do you need to control? What features do we need here?