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 80A9B1385EE for ; Tue, 22 Jan 2013 09:33:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 695C521C03F; Tue, 22 Jan 2013 09:33:43 +0000 (UTC) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C571E052E for ; Tue, 22 Jan 2013 09:33:42 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id o6so6838469oag.25 for ; Tue, 22 Jan 2013 01:33:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=az3idgZpRx3mv6TqRA/wbPwJ81mzINBdpzs99Xhwkug=; b=E1L0vmlth8luCO1xo2rYj5Mt15+9N/G6v4hOo+jm23K47I3+cNPjRoxE6ZhLSB6SLW hPa1MIxgrdOxulsOJVr8I7cukeQMhpre234YORZ4uBaWXTeYWbKrRBxSlGw+slHYH/iC qraqpu9kaWuk0OcLDzgjbE9UQXaqniJIWhW2fcpVQI/nTWMthyj3gJflDeHBsDgZRt+v aQU4Twi0Ew4bYHRELG+SllFBDs4ifHodqMrOdzhklBOfzvjBFwaDnQ/i6EsoGANHbe9d X0H9vfC0sT59wDQqbVn0IHeYWzhjhq83JEVYkMJTdjDK+dLEn1lDDTAWVKN6Lu+oCH1s Fr3w== 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 X-Received: by 10.60.28.74 with SMTP id z10mr16349682oeg.29.1358847221642; Tue, 22 Jan 2013 01:33:41 -0800 (PST) Received: by 10.182.88.38 with HTTP; Tue, 22 Jan 2013 01:33:41 -0800 (PST) In-Reply-To: <1358842021.2064.55.camel@belkin4> References: <1358802503.2064.49.camel@belkin4> <1358842021.2064.55.camel@belkin4> Date: Tue, 22 Jan 2013 10:33:41 +0100 Message-ID: Subject: Re: [gentoo-dev] readme.gentoo.eclass: Add a readme.gentoo_force_print_elog function to force elog printing From: =?UTF-8?B?VG9tw6HFoSBDaHbDoXRhbA==?= To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: fb0f2669-4443-43e7-8a3e-48eeabcd6086 X-Archives-Hash: 9422d32adb0311cbf881610dd1458563 2013/1/22 Pacho Ramos : > El mar, 22-01-2013 a las 08:16 +0100, Tom=C3=A1=C5=A1 Chv=C3=A1tal escrib= i=C3=B3: >> Would'nt be better to just set some variable in the ebuild, rather >> than call function that touches empty file? >> >> Tom >> >> > > I think it can be done in either way... but I don't see the advantage of > any over the other :/ Just few I can think of right now: You can set the variable in the ebuilds global scope somewhere on top easil= y. You can actually do more magic later based on what content user puts to the variable if we want to (all msgs, important ones only, ...) You actually allow user to enforce this behaviour in make conf for all packages if he desires to do so. Also I never seen this being handled by touching files in any other eclasse= s :-) Tom