From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12657 invoked by alias); 28 Oct 2013 19:34:56 -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 12639 invoked by uid 89); 28 Oct 2013 19:34:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mho-01-ewr.mailhop.org Received: from mho-03-ewr.mailhop.org (HELO mho-01-ewr.mailhop.org) (204.13.248.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 28 Oct 2013 19:34:54 +0000 Received: from pool-98-110-183-69.bstnma.fios.verizon.net ([98.110.183.69] helo=cgf.cx) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1VasaS-000BLH-Pz for cygwin-apps@cygwin.com; Mon, 28 Oct 2013 19:34:52 +0000 Received: from cgf.cx (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 3711A60009 for ; Mon, 28 Oct 2013 15:34:52 -0400 (EDT) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19xLpaFv8tcQ5vk+H9QTHLx Date: Mon, 28 Oct 2013 19:34:00 -0000 From: Christopher Faylor To: cygwin-apps@cygwin.com Subject: Deleting old versions of packages Message-ID: <20131028193452.GA5968@ednor.casa.cgf.cx> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <5266FCC6.7030405@tiscali.co.uk> <20131023021452.GC8111@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131023021452.GC8111@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2013-10/txt/msg00216.txt.bz2 On Tue, Oct 22, 2013 at 10:14:52PM -0400, Christopher Faylor wrote: >On Tue, Oct 22, 2013 at 11:31:34PM +0100, David Stacey wrote: >>Thanks to CGF for the effort that has gone into the new upload process - >>I've just uploaded a new package called 'icoutils' and it was really >>quite painless. >> >>One thing I haven't grasped yet is the mechanism by which old versions >>are deleted. If I were to upload a new version of an existing package, >>how would I go about removing the oldest? > >Eventually old packages will be deleted (actually archived) automatically. >I haven't yet added that functionality to upset though. Maybe this weekend >if I have the time. The problem with this method is that it forces you to use a setup.hint file to delete packages. For instance, I just had a case where I wanted make-4.0-2 to be curr and make-3.82.90-1 to be prev. I really don't want to have to change setup.hint to enforce that because that's error prone. If that's exactly what people were trying to warn me about then I apologize for being dense. I don't like the clunkiness of creating anti-files in the sftp directory to force deletions but I can't think of any other way to do this short of actually making it look like the entire release directory is in the user's sftp area. cgf