From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69264 invoked by alias); 30 Nov 2017 09:29:01 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 69249 invoked by uid 89); 30 Nov 2017 09:29:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Received:Thu X-HELO: mail-lf0-f53.google.com Received: from mail-lf0-f53.google.com (HELO mail-lf0-f53.google.com) (209.85.215.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 09:28:59 +0000 Received: by mail-lf0-f53.google.com with SMTP id t197so7111356lfe.7 for ; Thu, 30 Nov 2017 01:28:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zq6S+HwgP2ywVyt5N+LhLqjEYL3iTmI6oGZEL/Ag/pQ=; b=uUHEN7r4A5axAoCF0Edgs8N13eZfAS1XiDmz5OOg/ay50354cy3hiukJhOxH8Z8zhf H3IaE0+3snp+eRuNonvcXnZCsDM/gIL6pEOWArZTbuFYSxw4VPZK2oeNmz2iBsSooNbf cOL3sW5uKY0mLP+AcBIi/GaJ+cTWQqIXZDHSYYR3/S6acwULG9zXVMt5EjYrcAllBE0O livZwJ/arhTGWcSVymQuZapPjx7KOEMA7orNp9yTpljiuIUag4EPr1ZTWKFw9/3yISpk WfJor9bMvPb0fpQmFPjzqeCqUSRqN9Myf6XgSKnc0PJDP2EMgnatUAY3j5MN3xUeUt+F vCVQ== X-Gm-Message-State: AJaThX5jD+dPWeKMMua+koINRSrm5ZoUPq+JXEssZxJwhwoq3KB9geZ7 5RMZbPBjJRq4budNc4C3O0OMX2l8C7wrjJnPcBw= X-Google-Smtp-Source: AGs4zMbBuX8+3LpPWF3SBxo5ic4neQz6LPwwgq1ilSffSqtounDwbet4KWZNkuGvIO38M8lhThm397yd77GMW7F8aRs= X-Received: by 10.25.150.137 with SMTP id y131mr2251376lfd.91.1512034137273; Thu, 30 Nov 2017 01:28:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.166.142 with HTTP; Thu, 30 Nov 2017 01:28:56 -0800 (PST) In-Reply-To: References: <3e13ae03-786f-6157-00a3-53e909495751@dronecode.org.uk> From: Ivan Gagis Date: Thu, 30 Nov 2017 09:29:00 -0000 Message-ID: Subject: Re: mksetupini fails validating packages because curr is test To: Jon Turney Cc: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00303.txt.bz2 I use git repository on github to store the files. And to update it I clone the repo, run mksetupini and then commit and push. So, I'm not sure what actually is going on with mtime of the files there. Perhaps git messes up the mtime of cloned files. But why is this check of mtime needed at all? Isn't version number enough for tracking earlier-later files? Br, Ivan 2017-11-30 0:13 GMT+02:00 Jon Turney : > On 29/11/2017 21:34, Ivan Gagis wrote: >> >> What is that timestamp? Is it when the package was uploaded? > > > Sorry, by timestamp, I just mean the mtime of the archive file. > >> Then it should not be possible, because lower version definitely was >> uploaded earlier than higher version package. >> >> Where are those timestamps kept? Hint files does not contain any >> timestamp and setup.ini only has its global timestamp, but not >> per-package timestamps. >> >> Do you have any suggestion of how to fix this? > > > Assuming you've found a bug, I need some more details to enable me to > reproduce it, before I can fix it... > > >> 2017-11-29 18:52 GMT+02:00 Jon Turney: >>> >>> On 29/11/2017 15:06, Ivan Gagis wrote: >>>> >>>> >>>> I have an overlay cygwin repo where I publish my packages. >>>> >>>> Recently I started getting errors from mksetupini script: >>>> >>>> " >>>> mksetupini: package 'mypackage' version '0.4.38-1' is most recent >>>> non-test version, but version '0.4.43-1' is curr: >>>> mksetupini: package set has errors, not writing setup.ini >>>> " >>>> >>>> there was no such errors before. And I don't have "test:" in any hint >>>> files of my packages, so no I dea why it thinks that some versions are >>>> non-test and curr is test? >>> >>> >>> >>> It's not saying any versions are test. >>> >>>> Can you explain what this actually means? >>> >>> >>> >>> "most recent" means "latest timestamp" >>> >>> So this is telling you that 0.4.38-1 is the non-test version which has >>> the >>> most recent timestamp, but 0.4.43-1 is curr: (because it's the highest >>> non-test version) -- 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