From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Shduc-0004yB-FO for garchives@archives.gentoo.org; Thu, 21 Jun 2012 09:42:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA7FEE0961; Thu, 21 Jun 2012 09:42:41 +0000 (UTC) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by pigeon.gentoo.org (Postfix) with ESMTP id D0B3BE07C8 for ; Thu, 21 Jun 2012 09:42:07 +0000 (UTC) Received: by lbbgk8 with SMTP id gk8so1954161lbb.40 for ; Thu, 21 Jun 2012 02:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=j61xP0vEdVCGSLApg25kOP4KZ5e2ohU3+stYl5o574Q=; b=BmuGufVp/gw6cddxY4C4BuD6NMlyVjJW0ZsqMRO2VilBt6OvqyYHcRw5WooIzV2VRm Ck///WzS4XOPYHYt9gEcHTEqAgT5JxtVU+jipGfBNRGFvoqkRskKpy7AjoFKeXKPKmoO fFYk1B2G8DH8XGDY/bsFUzwUzkGPthfUET/Btzp5ohuSVfN0fNKOYqQYkeL6sgFYpk0e N7WAZy+G1vpG3dV27V8GvMOoz5uk5+BljbTF9F9aGdUGg2B5P8QfTfTvDE1RQZXjxlma bW53HUeja2hElUHlCd/6e7OTigPuixC/6nhI0WFwzjt8k2E3cSScw+O+/TSgW12JesFh vSMA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.112.42.164 with SMTP id p4mr11391063lbl.54.1340271726775; Thu, 21 Jun 2012 02:42:06 -0700 (PDT) Sender: yngwin@gmail.com Received: by 10.112.117.40 with HTTP; Thu, 21 Jun 2012 02:42:06 -0700 (PDT) In-Reply-To: References: <4FE231BA.6020404@gentoo.org> Date: Thu, 21 Jun 2012 17:42:06 +0800 X-Google-Sender-Auth: GcHEgiRFQWDFj0qyClLzGPuT2Zo Message-ID: Subject: Re: [gentoo-dev] My wishlist for EAPI 5 From: Ben de Groot To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a8bf92d4-40d5-487c-bc88-0ddfe908858e X-Archives-Hash: 699cea0ed9caea2a972e0a69b824cdaf On 21 June 2012 05:33, Alec Warner wrote: > On Wed, Jun 20, 2012 at 10:25 PM, Richard Yao wrote: >> Here is my wishlist for EAPI 5: [...] >> POSIX Shell compliance >> =C2=A0 =C2=A0 =C2=A0 =C2=A0There has been a great deal of work done to g= ive the user full control >> of what is on his system and there is more that we can do there. In >> particular, I think a lean Gentoo Linux system should be able to use >> busybox sh and nothing else. That requires POSIX shell compliance. >> OpenRC init scripts support this and the configure scripts support this. >> The few exceptions are bugs that are addressed by the Gentoo BSD develop= ers. >> =C2=A0 =C2=A0 =C2=A0 =C2=A0As such, I think we should make EAPI=3D5 use = POSIX shell by default. If >> an ebuild requires bash, we can allow the ebuild to declare that (e.g. >> WANT_SH=3Dbash), but that should be the exception and not the rule. >> > > Our ebuilds are written in bash. [...] Screw > trying to get the PM to stop using bash; developers are not interested > in writing ebuilds in posix shell; bar none. > > Why would I as an ebuild author waste a bunch of time writing my > ebuild in posix compatible sh when I can use bash (and if I had a > better language than bash to write ebuilds in; I'd use that too.) You > are free to write your ebuilds in posix sh; good luck to you. Ebuilds are written in bash. And the convenience of using bash far outweighs any benefits of using posix sh instead. One needs to make a very strong case to convince enough developers to change this... --=20 Cheers, Ben | yngwin Gentoo developer Gentoo Qt project lead