From nobody Fri Aug 18 19:43:02 2023 X-Original-To: dev-commits-ports-main@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 4RSC2w2VYHz4r16s; Fri, 18 Aug 2023 19:43:04 +0000 (UTC) (envelope-from jrm@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSC2w1xMyz4MLT; Fri, 18 Aug 2023 19:43:04 +0000 (UTC) (envelope-from jrm@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692387784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FWwKrPXiYIS+ov8VWnnt6aCmxuCRpkxip0pxo8jhXNg=; b=WOd/G0FFSgVrrHzsPsSki9xxIsopoKw3RKdK72VVw8BAgpLxMudgFWSbAZzrh1ma5ItQ4F TU+41zfAh2IMEh241Nt9GY6FTQKLYMXxI3QSqkjh3zdggRMKHoD7U7yrup85zN/ettEVd9 tx2Rzy4NwbhBmFYwUFoOg3K0KlCGGE/AXMhGB66OPB9CJeIBL48/sGXgxQMsfc0/HZwMoS YsIAy9YMdzRUgQjdjwr8fnEqAmgsDW5XDWTF4j+HpbbzLZkNJDVINpFzMkyzc38poAewWX mXZbpIr7gb9mB5984S4VO3R5DSRvSjzE+ywiBu1kJdGUyOWyY5rbEWxRO5iWmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692387784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FWwKrPXiYIS+ov8VWnnt6aCmxuCRpkxip0pxo8jhXNg=; b=MxCS45jqc0nk7Uiv/NFypOJnNcVymp2g1t0ScJB1NWAGrIJ/cpGz4Lw3e9nnPWCxpyir/1 KItoCykeQAsA0XRj1akY8TScqVxIyZZj7RF+WfvbqGCKbTPA0kDzKN1tx3SQOvauu6Z+8r Ndeh6pc//jf6ce+nKg+JWgi/f/HBDjcAqRpoZ6pi56hciZkEbwTbM3pVAz1T8T8poLPqVS rBuH0tjjDMmXLLQ4oiTv1Be+MlGRcUVqdr9mNS7DwA9AGE4Ib7r47WXjEeHGp+BfW55b+g Nzo5lAGfIU3FaBSYJb/qe61Vz6NS9XgvAM0WOrXw5nTN1k51QaB8ESwiuN4tmg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692387784; a=rsa-sha256; cv=none; b=O69cliYr7XfHe4gp8wRZukS/vd5UMkb8FvfRvSyBZ4COLmnaGhXF/PLGw3MYua/MlT5B/E dtevPzV82ouHVlW6aFBbh6OnSkS4FCrfQwE6NyYhVShtqWDyDYWuor81QGfCb+XykGJ6b5 v4wrxR68PsF2eygRP7/uGr9eudFmmh61rUs7G2uacOGaci1ZXNf9wEzRs3m7qJYjvtIHqR DT7YcXdaAWFdb2/SypsWnZC/LqiWD8arzmrbtu9O5nnrfBVj9ljLmS+Gx2MjrOGRURehYa 0ZuzqLXdXE95Xwuc89+4TylaEcdzho7N2+s3II+QNwRcmgMwuWpnfPbnRg+V7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-187-123.dhcp-dynamic.fibreop.ns.bellaliant.net [156.34.187.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: jrm/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RSC2v601lz1K2q; Fri, 18 Aug 2023 19:43:03 +0000 (UTC) (envelope-from jrm@freebsd.org) From: Joseph Mingrone To: Renato Botelho Cc: Po-Chuan Hsieh , ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 11e51925413b - main - devel/p5-DateTime-Format-MySQL: Update to 0.08 In-Reply-To: <440dbd8c-04e1-4c5f-a4de-bd11cd8f0cac@FreeBSD.org> (Renato Botelho's message of "Fri, 18 Aug 2023 16:01:54 -0300") References: <202308161836.37GIaHp6043137@gitrepo.freebsd.org> <86jzttx00m.fsf@phe.ftfl.ca> <867cpsp4hi.fsf@phe.ftfl.ca> <440dbd8c-04e1-4c5f-a4de-bd11cd8f0cac@FreeBSD.org> Date: Fri, 18 Aug 2023 16:43:02 -0300 Message-ID: <86v8dcnnll.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain On Fri, 2023-08-18 at 16:01, Renato Botelho wrote: > On 18/08/23 15:52, Joseph Mingrone wrote: >> On Fri, 2023-08-18 at 14:32, Renato Botelho wrote: >>> On 17/08/23 10:37, Joseph Mingrone wrote: >>>> On Thu, 2023-08-17 at 10:15, Renato Botelho wrote: >>>>> On 16/08/23 15:36, Po-Chuan Hsieh wrote: >>>>>> The branch main has been updated by sunpoet: >>>>>> URL: https://cgit.FreeBSD.org/ports/commit/?id=11e51925413b7090544d4a4ac449c364717f7e50 >>>>>> commit 11e51925413b7090544d4a4ac449c364717f7e50 >>>>>> Author: Po-Chuan Hsieh >>>>>> AuthorDate: 2023-08-16 18:16:29 +0000 >>>>>> Commit: Po-Chuan Hsieh >>>>>> CommitDate: 2023-08-16 18:26:21 +0000 >>>>>> devel/p5-DateTime-Format-MySQL: Update to 0.08 >>>>>> Changes: https://metacpan.org/dist/DateTime-Format-MySQL/changes >>>>>> --- >>>>>> devel/p5-DateTime-Format-MySQL/Makefile | 2 +- >>>>>> devel/p5-DateTime-Format-MySQL/distinfo | 6 +++--- >>>>>> 2 files changed, 4 insertions(+), 4 deletions(-) >>>>>> diff --git a/devel/p5-DateTime-Format-MySQL/Makefile b/devel/p5-DateTime-Format-MySQL/Makefile >>>>>> index 989d481a74d2..f9b0e03be278 100644 >>>>>> --- a/devel/p5-DateTime-Format-MySQL/Makefile >>>>>> +++ b/devel/p5-DateTime-Format-MySQL/Makefile >>>>>> @@ -1,5 +1,5 @@ >>>>>> PORTNAME= DateTime-Format-MySQL >>>>>> -PORTVERSION= 0.0701 >>>>>> +PORTVERSION= 0.08 >>>>> Hello Po-Chuan! >>>>> 0.08 is smaller than 0.0701 so port version went backwards after this change. >>>> 0.08 is greater than 0.0701, but not according to pkg version. >>>> % pkg version -t 0.08 0.0701 >>>> < >>> Actually pkg is correct in this case. Numerically 8 is smaller than 701. I tested it on Ubuntu and dpkg --compare-versions has the same result, and I believe any other package management tool will do. >>> What seems to be wrong is the version schema used by this project. It should be 0.0800 instead of 0.08. >> I didn't mean to suggest that pkg is wrong, but just pointing out that numerically, 0.08, which is equal to 0.0800, is greater than 0.0701. This could be a source of confusion for anyone who assumes that the comparison of version numbers works the same as comparisons of >> real numbers. > Right, but I cannot see how could 0.08 be considered equal to 0.0800. For me they are clearly different. I never saw a place where adding zeroes on the right side of a number wouldn't change that number. % cat ./test.c #include int main() { double a = 0.08; double b = 0.0800; if (a == b) printf("Phewww!\n"); else printf("We're in trouble.\n"); return (0); } % clang test.c -o test % ./test Phewww! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKkBAEBCgCOFiEEVbCTpybDiFVxIrrVNqQMg7DW754FAmTfycZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUQHGpybUBmcmVl YnNkLm9yZwAKCRA2pAyDsNbvnn6pD/95S+cSkWY7s02ofe9AKVXcBpV87DlHClwO WjRI99Ft7eqPwEO0gwKovgNhx0NvkhbT51eaPOWAXThn+OTyPLOm/SIOA0+ycwQ5 DaD6Au65xknPJkoHCwTXBeuXMAdd8Umn61fp5WkeYPW58VFo0hms5UrlmmfrdpFz ohohCSb3qd4GjWeRdgPSFPZ1LO1XSXtxr3JaXSmBITQtXwrl6OWMyJPjL4Hrk9EH HWIfS9VMU3bAO/sKjbN4PI00uuvbeW+W9AYOVERrKYt1GUvXu75SwTRLUoDOGBxA 6mzzMgKpiBNvzc96m8wdYchwPix9R95oVEueFlqfVRrTWiOL0AkYVIzDjIX2BF3n VkDX4Ae8BsWAwgP3b06RXpdArMwuTt4wXqG8tsOyGk3p/3RApddpoFoIEOznpLn9 /MPgNzFTZNJ9kdGJ57Z/0tb/HSYojZzud3UjuoLtqPcRySbrcPoBFVj5ZDDo+Ttd 500OOdI3KYAp6uBDuhKMYsvWEuo8uV2TMhPQWYnESvvfZW9iFYQCsZXQjSMTlm2x RhXK3WYQAFiTiA76ERCPWMgu9UE+Z3/+tGIDXFH6F2u9cjPPOPIsulWGhClCAzc9 W/HGTuixTk7m0GxPf4vVCArJgSklu8C/HN1c3Jpcuel44xFfSGMzL6iBsfMh1J5+ /zZDedO34A== =KRqM -----END PGP SIGNATURE----- --=-=-=--