From owner-freebsd-ports@freebsd.org Tue Oct 15 07:24:08 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3DD31155E3E for ; Tue, 15 Oct 2019 07:24:08 +0000 (UTC) (envelope-from markand@malikania.fr) Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46sn3q1ZHkz3JlB for ; Tue, 15 Oct 2019 07:24:06 +0000 (UTC) (envelope-from markand@malikania.fr) Received: from postfix.malikania.fr ([5.135.187.121]) by mwinf5d16 with ME id DjQ4210022dbEiD03jQ4iz; Tue, 15 Oct 2019 09:24:04 +0200 X-ME-Helo: postfix.malikania.fr X-ME-Auth: ZGVtZWxpZXIuZGF2aWRAb3JhbmdlLmZy X-ME-Date: Tue, 15 Oct 2019 09:24:04 +0200 X-ME-IP: 5.135.187.121 Received: from [167.3.108.158] (unknown [77.159.242.250]) by postfix.malikania.fr (Postfix) with ESMTPSA id 26466228B9 for ; Tue, 15 Oct 2019 09:24:03 +0200 (CEST) Subject: Re: FLAVORS for Ruby To: freebsd-ports@freebsd.org References: <20190913090645.buutinhgh2pygb4h@icepick.vmeta.jp> <20190914042738.r3hedyqtpxsxnd5e@icepick.vmeta.jp> <006FCB74-04EB-4A82-A800-6C7CA273E749@adamw.org> <20190916143929.z6vnzoqjme6vw2ey@icepick.vmeta.jp> <20190916161650.4ofb2o27tfxif57e@icepick.vmeta.jp> <20190917064039.7qhnw3lds2zaxdl5@atuin.in.mat.cc> <20191014163725.ibff4boooir2xqi3@icepick.vmeta.jp> From: David Demelier Message-ID: <8b31b734-3886-eef1-b468-c86368606246@malikania.fr> Date: Tue, 15 Oct 2019 09:24:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191014163725.ibff4boooir2xqi3@icepick.vmeta.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46sn3q1ZHkz3JlB X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of markand@malikania.fr has no SPF policy when checking 80.12.242.130) smtp.mailfrom=markand@malikania.fr X-Spamd-Result: default: False [3.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.91)[0.907,0]; NEURAL_SPAM_LONG(0.85)[0.850,0]; RCVD_IN_DNSWL_NONE(0.00)[130.242.12.80.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; DMARC_NA(0.00)[malikania.fr]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3215, ipnet:80.12.240.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(1.10)[ip: (2.51), ipnet: 80.12.240.0/20(1.37), asn: 3215(1.64), country: FR(-0.00)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2019 07:24:08 -0000 Le 14/10/2019 à 18:37, Koichiro Iwao a écrit : > On Tue, Sep 17, 2019 at 07:34:27AM -0400, Steve Wills wrote: >> Hi, >> >> On 9/17/19 2:40 AM, Mathieu Arnold wrote: >>> >>> What we are all trying to say is that adding flavors for ruby will have >>> a big impact on build time and ressources required for building. >>> >>> If all you want is to have ruby flavors for the kicks of it, then I am >>> glad to tell you that no, it will not be done. >>> >>> Now, the question is, why would someone need to have ruby flavors? >>> >>> The answer cannot be "because it should be fun" or "there is no reason >>> there should not be". >>> >>> Give us a real reason about why it would be required. >>> >> >> We have multiple versions of Ruby, we should provide the gems for each >> version. Right now, there is no way for users of Ruby 2.4 to install gem >> packages except to change the default ruby and then build their own >> packages. We want people to have fewer reasons to build their own packages, >> not more. >> >> We keep the latest Ruby as not default because it tends to have more bugs >> and gems lag, and the older version of Ruby is available because some gems >> tend to lag really badly. So, users do have legitimate reasons for using the >> non-default versions of Ruby. Also, upstream supports latest and two >> versions back. >> >> It wasn't until Ruby 2.6 was out that GitLab even supported 2.5, to give >> just one example. >> >> So, we have those versions of Ruby, and they should be usable, and that >> includes installing gems via pkg. >> >> There's the point that maybe we should only package gems that are needed by >> other things, which I can understand, but don't know if I necessarily agree >> with, because then you have users confused on what the "right" way to >> install a gem is. "Oh, this one is packaged because something else in ports >> needs it, so use the pkg, but this other one isn't packaged, so you have to >> use gem." >> >> And I'd think the same applies to python modules or perl modules, etc. One >> could ask, why not provide flavors for all versions of python, that is, 3.5, >> 3.6 and 3.7, along with the 2.7 ones as well, but to me that doesn't seem >> quite necessary because the compatibility is better there, as far as I can >> tell. But, I wouldn't be opposed to it personally, if someone did make the >> argument in favor of it. Same with Perl and especially things that depend on >> Java. >> >> But that's all beside the point, really. >> >> Steve > > Hello again everyone, > > I'm sorry I cannot express my thoughts correctly in English and I clould not > explain why flavors for Ruby required but swills explained far better than me. > > Based on his explanation, will it be a valid reason to introduce flavors > on Ruby ports? > Ruby use semantic versioning since version 2.1.0, unless there is Ruby 3 version release there is no reason to have flavors in FreeBSD for Ruby. Also, I don't even understand why there is several Ruby version in the ports tree since Ruby 2.6 is (as guaranteed by semantic versioning) retro compatible with 2.5, 2.4 and so on. Ports ruby24, ruby25 should be deleted.