From nobody Mon Sep 12 21:30:21 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MRKWl47T8z4cMv0 for ; Mon, 12 Sep 2022 21:30:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MRKWk5Dntz3l7F for ; Mon, 12 Sep 2022 21:30:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663018225; bh=4g+UNkzPIbycghKTegO4Va4+NUUPPWAVXAq8bR4k4Os=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=il7mBVnZUmE2jknDTS6zX6KxDK3Mjzku0VtTsT8VKFA2e+Org/pqiNXMQXiRd6OJGZjsDtiPDdQA5VqZDj9MwCv1MjJtRMnlSnzGGL63ty+haAUcL17Bn03hL+AMZTX/fMwEXtrTl16F33Mw51lEtS4VoGXkO0ufum3Qm9mmZ0TCQEoYI0YMu7FcvhcJ9fUrCbhZaa+qIB8C/k6x1gs23EkbQzborMULPHm6ZrUQFKvmzVgVqCmakWDgUTywEB5RT7uQpYsvf+Ki/LyBhEDQCDcfbw4v0Iz+xx9IRmDDr6l0Ot04I2kXQdlN6iUubfOh+hjbsMFIbJFI7gLvwCIiJg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663018225; bh=U62tpxFyv6IjAxtD/2eCV0XNDM3NWm7JsKAD3TbtuW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a3x86Z0wvQR5XZWMhEl.EkAhlPTichh5yuEF3D1 vACkxLgiSAKp_uxxJArnCK7EoAyrBTNGszehdkOdX5q5b7Ess2cJR4wnyDTfqh7.RzT5axbhdWr7 94QpLwnv8qUW4jgxzq8SsXYlFjqWsLgqpZY8nvN7WelJRdRo78p8LayX7BFXvKQ__i4WHqpzNDXJ cSxFlOL2osrck3R3x.VS0CNvr6Y68UAS5zEhrjxGcln7T.Np2p4LQCYmH8OV7QmPgB7hHgNXTV66 MrwJ9FA3OgKH42lGyXISGJCgHypxHK2mvUtd9qL_o1meWp2OeT7nTpupUw_9AbZUrsv6hsLPonxg ZMp2iuJUP3EdfYri7vxEIbM1altg4bjv.kDLnu8Do5MJ8Evkcn3.uuhUUNaZMvOq66FoXdrFDcoo yEUgsmMIF63wk4E.OnShooOP3lCI6yUTaHPgd_HQN2zsOi3n_ZXxSGXk20G3YVO0oiuBIjxXUQp5 eEsa3hEdwXIZm8DbXAgoXwH_5psxamq4aUq43pQaQ54UneiZlhZcDIyWjgTx0ORrBmUQPBe2Pztu pIX9tpyZPYqIM X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Mon, 12 Sep 2022 21:30:25 +0000 Received: by hermes--production-ne1-544744cc75-w2cfm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 739e842ee5c4745fbbc517ae74926488; Mon, 12 Sep 2022 21:30:23 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Upstream changed released versions from 1.0.2 -> 3025803779 (!) From: Mark Millard In-Reply-To: Date: Mon, 12 Sep 2022 14:30:21 -0700 Cc: "se@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Nuno Teixeira , FreeBSD Mailing List X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4MRKWk5Dntz3l7F X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=il7mBVnZ; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.996]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.83:from]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_COUNT_THREE(0.00)[3]; SUBJECT_HAS_EXCLAIM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Sep-12, at 14:15, Mark Millard wrote: > Nuno Teixeira wrote on > Date: Mon, 12 Sep 2022 18:37:05 UTC : >=20 >> (...) >> And at this point I'm in doubt on what to use: >>=20 >> DISTVERSION=3D 1.0.${GH_TAGNAME} || DISTVERSION=3D {GH_TAGNAME} >>=20 >> :) >=20 > As far as I can tell, neither works by itself, overall. > This is because ${GH_TAGNAME} will not in general be > increasing: as far as I know it is just a hash and so > will look to be random from one update to the next. Looks like I started off with a somewhat bad assumption: QUOTING https://github.com/aardappel/treesheets/issues/257 : We're now using CI run id as a release tag.. these are increasing = numbers, so feel free to use those. END QUOTE So however the CI run id is generated, it does provide the ability to compare newer vs. older (given the modern numbering technique), at least so long as the number of digits in the ${GH_TAGNAME} string does not increase for a pure string/textual comparison. If the number of digits in ${GH_TAGNAME} does increase someday, there might be problems. I've no clue how long it took to reach the likes of 3025803779 . > If upstream does not make the text that identifies the > version allow sorting versions in release-sequence-order, > it would seem that the port must invent its own release > sequence tracking identification text. (But I'm no > ports infrastructure expert.) >=20 > I wonder if there are other ports that have to deal > with such --and if there are, what they did. >=20 > May be I'm wrong, but I thought that the ports > infrastructure required being able to compare strings > to identify newer vs. older. >=20 > Having ${GH_TAGNAME} after a textual prefix that always > allows the comparison would seem to be okay. But the > prefix with the property looks to be essential to me. >=20 > What a mess, even if I got the wrong understanding of > the ports infrastructure's requirements. >=20 >> Nuno Teixeira escreveu no dia segunda, = 12/09/2022 >> =C3=A0(s) 19:19: >>=20 >>> Hi, >>>=20 >>> I forgot to mention deskutils/treesheets port. >>>=20 >>> I've been talking with Stefan se@ and he advised me to avoid = PORTEPOCH >>> swithing from 1.0.2 -> gYYMMDD and use 1.0.2 -> 1.0.${GH_TAGNAME} = where: >>> GH_TAGNAME=3D3025803779 (release version). >>> This way we avoid PORTEPOCH and be prepared for future 1.1.x version = but >>> upstream told me that they will continue to use CI run ids as = versions. >=20 > Wow: version identification text that is not sortable > into a release-sequence-order relative to past releases > at the time. >=20 >>> Thanks >>>=20 >>>=20 >>>=20 >>> Kurt Jaeger escreveu no dia segunda, 12/09/2022 = =C3=A0(s) >>> 19:08: >>>=20 >>>> Hi! >>>>=20 >>>>>> Recently, upstream change version naming from 1.0.2 -> 3025803779 >>>> based on CI run id as release tag. >>>>>=20 >>>>> Which port is this for? >>>>=20 >>>> deskutils/treesheets >>>>=20 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com