From owner-freebsd-ruby@freebsd.org Tue Sep 17 11:34:53 2019 Return-Path: Delivered-To: freebsd-ruby@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 CB6011211DF for ; Tue, 17 Sep 2019 11:34:53 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46Xgy550kNz3Px5 for ; Tue, 17 Sep 2019 11:34:53 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id A9FB71211DE; Tue, 17 Sep 2019 11:34:53 +0000 (UTC) Delivered-To: ruby@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 A9A951211DC; Tue, 17 Sep 2019 11:34:53 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Xgy53w8xz3Px3; Tue, 17 Sep 2019 11:34:53 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from lrrr.mouf.net (cpe-174-109-174-192.nc.res.rr.com [174.109.174.192]) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id x8HBYXf4060560 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 17 Sep 2019 11:34:39 GMT (envelope-from swills@FreeBSD.org) Subject: Re: FLAVORS for Ruby To: Mathieu Arnold , Koichiro Iwao Cc: FreeBSD Ports , ruby@freebsd.org, Adam Weinberger References: <20190913074519.xfu3avb4ihmfzm2o@icepick.vmeta.jp> <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> From: Steve Wills Message-ID: Date: Tue, 17 Sep 2019 07:34:27 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20190917064039.7qhnw3lds2zaxdl5@atuin.in.mat.cc> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Tue, 17 Sep 2019 11:34:39 +0000 (UTC) X-Spam-Status: No, score=0.4 required=4.5 tests=KHOP_HELO_FCRDNS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-Rspamd-Queue-Id: 46Xgy53w8xz3Px3 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2019 11:34:53 -0000 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