From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IchFy-0007b9-4B for garchives@archives.gentoo.org; Tue, 02 Oct 2007 12:53:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l92ChUGY020562; Tue, 2 Oct 2007 12:43:30 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l92CdjuC014806 for ; Tue, 2 Oct 2007 12:39:46 GMT Received: by nf-out-0910.google.com with SMTP id f5so3007069nfh for ; Tue, 02 Oct 2007 05:39:45 -0700 (PDT) Received: by 10.78.177.3 with SMTP id z3mr7820437hue.1191328783940; Tue, 02 Oct 2007 05:39:43 -0700 (PDT) Received: by 10.78.52.6 with HTTP; Tue, 2 Oct 2007 05:39:43 -0700 (PDT) Message-ID: Date: Tue, 2 Oct 2007 05:39:43 -0700 From: "Alec Warner" Sender: antarus@scriptkitty.com To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: sh versionator.eclass In-Reply-To: <1191325130.6284.116.camel@uberlaptop.marples.name> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200710012259.40589.uberlord@gentoo.org> <200710020610.35301.vapier@gentoo.org> <1191321074.6284.57.camel@uberlaptop.marples.name> <200710020649.17241.vapier@gentoo.org> <1191325130.6284.116.camel@uberlaptop.marples.name> X-Google-Sender-Auth: b291f98044af079b X-Archives-Salt: 63ccea03-f6be-411e-892f-e582b34f3db5 X-Archives-Hash: e837c9b1c4579258df092264733e61a2 On 10/2/07, Roy Marples wrote: > On Tue, 2007-10-02 at 06:49 -0400, Mike Frysinger wrote: > > BSD is a second class citizen to GNU here. Gentoo started out as a project > > targetting a GNU userland under Linux and will continue for quite sometime > > (forever?) as the majority/core focus. forcing the project to limit itself > > when there is no gain (yet plenty of pain) for the majority of users is a no > > brainer: no. > > Well, let me be the first to stand for equal rights then! So there is a difference I think between 'making stuff work on BSD' and 'changing the fundamental requirements of the distribution'. > > Anyway, this was about changing the portage tree syntax from bash to > posix shell, not gnu vs bsd vs userland tools. The arguments are not the > same as bash supports posix shell whereas gnu tools don't support bsd > extensions and bsd tools don't support gnu extensions. > > I say that for the most part, there should be no technical reason why > ebuilds cannot be in posix shell whilst being readable and maintainable. > There is no technical reason. But if you think for two seconds this is only a technical problem then I think you have not examined it properly. Most of the developers here are running GNU/linux with GNU tools (as has been pointed out). These are the tools that are used and there is no gain *for them* to write in what I can only gather as an inferior but portable sh syntax. They would be writing for sh only to satisfy you, and you have IMHO done a poor job of motivating them. You can put bash in baselayout in BSD in like 2 seconds and prevent all this hard work you are asking of other developers. Personally, I like your idea in general until I have to start writing ebuilds in sh, and init scripts in sh, and pretty much anything in sh; as vapier points out, sh sucks donkey balls. So I *will* use bash, because the fix is 'gentoo requires bash', it's always required bash, and you haven't convinced me that it should change. Unless there is some crazy ass reason why you can't install bash on a given platform, I don't think there is a technical reason to avoid using bash. > If portage or another package manager wishes to uses bash to parse > ebuilds and eclasses, more power to them! I won't stop that. I just want > the ability for other shells to do the same. It isn't hard, and you > don't need to be a rocket scientist. It's not an overnight change, but a > gradual change. > > Thanks > > Roy > > -- > gentoo-dev@gentoo.org mailing list > > -- gentoo-dev@gentoo.org mailing list