From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 20A303858C78; Wed, 31 Jan 2024 20:45:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 20A303858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 20A303858C78 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=3.97.99.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706733925; cv=none; b=aQ30ZD7QlUm4ZuiwKhnNxtPfHBlNpJpyWCDAVxmpLgBckEuQO3ZQ8haIeSR1NgtZqJ9gmMwNRSB0pxVcu2mDku/lDQ3HA8U10Gbe/1z+0WD2ZsWAXFAZXEBNdITCCtR14E8lVBmRHHozNLpWjPcIThLJPYzPkFZPOWJFawqMBdI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706733925; c=relaxed/simple; bh=nVoY9jTNhTRw7g3OIFN8UtykVqwAo1uTtcKbZJrkOHA=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=gCXBO4AXt/8h/Q79cKLnyjeJav3KEON/Un1F0/vawWf8QEiexz8PYOuUU6BvT6VM5Nbx47GvCRnGnr7X3XqOXUQW4KDZ4XrHZtLI9DPB5DKnYw4m4hJyMQbmvAaICqR2s2bf2YiuKBahrlc39JE702d0CUKuKAxWsYgtBFNXFgg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id V3Yyr6wx6GAIJVHSUrFGwZ; Wed, 31 Jan 2024 20:45:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1706733922; bh=nVoY9jTNhTRw7g3OIFN8UtykVqwAo1uTtcKbZJrkOHA=; h=Date:Reply-To:Subject:To:References:From:Cc:In-Reply-To; b=slMbM9DtZfxnoz8YH0ad/yXLbF+vMSUL4Vd+h2qGoaWjnBuvrGMl1Y9N9O3+pyybh iNzvlXFiOkqOskaJdscdFdZKodOe0mUuFXkSSU82Hl5fRD1MB+ogw+bhuTXI1lCzmO NDclJjuY6kaig+WThPHvhh48+3ePXNtWDjzwhZayK/B9nI0NjgptEdB4vA0lXAuqND 7OzUVqlCgpvVMushi0b9ROXM96oSMDqEdHQv4fmh3f+yXn/eINfdXeQ/46RKGdqO01 8qIKXlPUlmzy8yI6/k0u1mPV91rqga4wJTHmA6F2s8BRZm+7iFSlJDFweixd4nKBCN ABuqtB8kcFk3w== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id VHSTr9nmAZ0jDVHSTriG4M; Wed, 31 Jan 2024 20:45:22 +0000 X-Authority-Analysis: v=2.4 cv=P8GZhTAu c=1 sm=1 tr=0 ts=65bab162 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=HiWkEfo4AAAA:8 a=vTr9H3xdAAAA:8 a=2MB4vAxnMitXTz6RU1QA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=_QplDg0m8TGAdENQf2wZ:22 a=7PCjnrUJ-F5voXmZD6jJ:22 Message-ID: <2c43c0cd-c52d-4363-ad6e-140d3e174442@Shaw.ca> Date: Wed, 31 Jan 2024 13:45:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Cygwin Apps Subject: Re: ncurses version (was: Tmux crashes on copy) Content-Language: en-CA To: Cygwin Apps References: <20240118.163759.544696899534989142.yasu@utahime.org> <20240118172431.8308e15fc705d96fc39410d7@nifty.ne.jp> <35eb821c-5270-406c-985f-b6107b43be9a@SystematicSW.ab.ca> <2016e573-7282-4fa3-bee4-e54d36ac0c2d@SystematicSW.ab.ca> <878r45wgjw.fsf@> From: Brian Inglis Organization: Inglis Cc: cygwin@cygwin.com In-Reply-To: <878r45wgjw.fsf@> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfBF9UjKVmp6c6Kn9q+qNlRMj8rKMjht1Biy1JquC9/txnTpnZhGNBdmRv/Gzf5pFFhaLbf+fxwoOujlCuegGsmNhEuPayRp+FtXr8dpClj8tv+aEroKv CJ3BQ8stK2KPWtRTnoquU2o1RS3hMT8uU+3teHBEdKZRiOAXSWJ1h/ASFyRG3Bj/gpfx8dGMFuenLVbuKAhiMH+6x0iBUQ+jPEYPA5JGaYJPfZbAnyGVF/Hw X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham 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 2024-01-31 10:36, ASSI via Cygwin wrote: > Jon Turney via Cygwin writes: >> If upstream really is making multiple releases called '6.4', which >> we're supposed to distinguish by some other means, then there aren't >> really any good answers... > There's only one official 6.4 release, but just about everyone packages > one of the roughly weekly snapshots inbetween releases (depending on > where you are looking they are also called beta versions), which are > named 6.4-yyyymmdd upstream. We can't have a "-" in the version number, > hence the suggestion to replace it with a "+". [moving discussion to -apps] Upstream developer is Thomas Dickey at invisible-island.net so no git. My only concern is if 6.4+20240203-1 !> 6.4-20240120 as strvercmp test beds disagree, presumably about the effect of the delimiter, possibly because the + may be treated similarly to a prefix for an RC preceding the 6.4 release? For guidance I have looked at: https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/ which states that ~ prefixes pre-stable "snapshot" releases and ^ prefixes post-stable "snapshot" releases where . or nothing prefixes upstream bugfix or patch level releases, so perhaps we should just use version suffix .yyyymmdd? I have downloaded and locally installed Fedora rpmdevtools package but Cygwin python rpm module seems to lack labelCompare(): $ rpmdev-vercmp 6.4+20240203-1 6.4-20240120 /usr/local/lib/python3.9/site-packages/rpm.py:15: UserWarning: The RPM Python bindings are not currently available via PyPI. Please install them with your distro package manager (typically called 'python2-rpm' or 'python3-rpm'), and ensure that any virtual environments needing the API are configured to be able to see the system site packages directory. warnings.warn(warning_msg) Traceback (most recent call last): File "/home/BWI/bin/rpmdev-vercmp", line 121, in main() File "/home/BWI/bin/rpmdev-vercmp", line 108, in main rc = rpm.labelCompare((e1 or None, v1 or None, r1 or None), AttributeError: module 'rpm' has no attribute 'labelCompare' I also pip3 installed SAS SW rpm_vercmp which seems okay: $ python3 -c 'import rpm_vercmp;print(rpm_vercmp.vercmp("6.4+20240203-1","6.4-20240120")) ' 1 and wrote a wrapper for shell script functions I found which agrees: $ ~/src/fedora/rpm-ver.bash 6.4+20240203-1 6.4-20240120 0 6 4 20240203 1 0 6 4 20240120 6.4+20240203-1 6.4-20240120 0 6 4 20240203 1 0 6 4 20240120 sizes 5 4 max 5 20240203 != 20240120 8 ? 8 1 How are Cygwin pre-stable RC releases defined differently from post-stable snapshot releases and upstream patch releases? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry