From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6BB04138010 for ; Thu, 13 Sep 2012 17:30:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF12921C07D; Thu, 13 Sep 2012 17:29:57 +0000 (UTC) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 0FC5221C021 for ; Thu, 13 Sep 2012 17:28:50 +0000 (UTC) Received: by vbbfc21 with SMTP id fc21so3883027vbb.40 for ; Thu, 13 Sep 2012 10:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=t6yiA5Pqix0gvyae9pFMlFBPCo1fRDtBzPJbPRxKojQ=; b=hhMs6CcnnOxE2SESoDmTwvgJP0pRi2Dmka0jZrcOqZ5RcfqhG5Pyf9fAL5ikw2F4Nm 1kU4/i2NK3aim4yUFpfteLo21M/4Q3dg1Y67lbLyM8pdlzvRmpoT9hNFbMJDV4R9ySl+ Zoa+u4SOj3jgpay0P+BEVTUGVmxXy21pmBVin1sSQFAAujGffA9meozMOKPp8v1wWtqH oIIie2sFFROiw4jlZhdeiEIVs0pPf9EwGmIX3DPOmYH/X4sQmhyU5tl9sOZ95ROT1tc1 OBIoz8+Qg8VVSfwZqH83iL/NGyexknPBjHT1tLnIXkRLtnvKeNoMAtYeP2P2Xt37t7zo gnZA== Received: by 10.52.34.65 with SMTP id x1mr1446186vdi.128.1347557330544; Thu, 13 Sep 2012 10:28:50 -0700 (PDT) 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 Sender: vapierfilter@gmail.com Received: by 10.58.164.66 with HTTP; Thu, 13 Sep 2012 10:28:30 -0700 (PDT) In-Reply-To: <20561.39424.625509.299133@a1i15.kph.uni-mainz.de> References: <20120912203621.GA28593@localhost> <20561.29622.649540.849023@a1i15.kph.uni-mainz.de> <20561.39424.625509.299133@a1i15.kph.uni-mainz.de> From: Mike Frysinger Date: Thu, 13 Sep 2012 13:28:30 -0400 X-Google-Sender-Auth: cNsd0XEl3KZ3IoiKjv1TXNNPnuA Message-ID: Subject: Re: [gentoo-dev] EAPI5: require ebuilds/eclasses to not use any vars/funcs prefixed with __ To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 4cca839d-40c2-403d-b0b1-84fce5b56ce5 X-Archives-Hash: 8ab848f03fbbf9f816e810e1b361e1d1 On Thu, Sep 13, 2012 at 4:32 AM, Ulrich Mueller wrote: >>>>>> On Thu, 13 Sep 2012, David Leverton wrote: >> It's nice to be able to do >> local SANDBOX_WRITE=${SANDBOX_WRITE} >> and then allow bash to restore the old value at the end of the >> function, regardless of how it exits. It's not the end of the world >> to lose this, but it would be a bit of a shame IMHO - having to do it >> manually seems a little error-prone. > > Maybe we should just document the SANDBOX_* variables? Looks like the > easiest solution to me. > > The problem with adding an option to addwrite is that eclasses would > have to stick with the existing solution, or add a pointless case > distinction. Otherwise it won't work for all EAPIs. well, if you want to focus on the $now, then you're mostly correct. however, as we've done in the past, it's generally pretty easy to implement functionality in say eutils.eclass so that other places don't have to worry about different EAPI code paths. then in the $future, there is only the code provided by EAPI. -mike