From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1II3WQ-0007Rl-W9 for garchives@archives.gentoo.org; Mon, 06 Aug 2007 14:25:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l76EOS5r021088; Mon, 6 Aug 2007 14:24:28 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l76EMR6V018772 for ; Mon, 6 Aug 2007 14:22:28 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6A20264CC2 for ; Mon, 6 Aug 2007 14:22:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: 1.264 X-Spam-Level: * X-Spam-Status: No, score=1.264 required=5.5 tests=[AWL=-1.477, BAYES_50=0.001, RCVD_NUMERIC_HELO=1.5, SARE_LWSHORTT=1.24] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ls1SrIcuQ74E for ; Mon, 6 Aug 2007 14:22:25 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 95223650C9 for ; Mon, 6 Aug 2007 14:22:24 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1II3TK-00083s-7E for gentoo-dev@gentoo.org; Mon, 06 Aug 2007 16:22:14 +0200 Received: from 82.152.210.201 ([82.152.210.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Aug 2007 16:22:14 +0200 Received: from slong by 82.152.210.201 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Aug 2007 16:22:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Steve Long Subject: [gentoo-dev] Re: Hooks are gone from java eclasses Date: Mon, 06 Aug 2007 15:22:30 +0100 Message-ID: References: <46B5885F.1070203@gentoo.org> 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 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 82.152.210.201 User-Agent: KNode/0.10.4 Sender: news Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l76EOS7l021088 X-Archives-Salt: d3948948-e0cd-4cd0-9f17-37cc2e945ca4 X-Archives-Hash: 5d25106154ed85883ae47c770096b2c6 Petteri R=E4ty wrote: > http://bugs.gentoo.org/show_bug.cgi?id=3D163262 >=20 What is the situation regarding the hooks in general? > > They're a horrible solution. They don't stack and they override > > something that is used by users. What's going to happen if anyone els= e > > starts using the same functions? >=20 > It's primarily a user feature, introduced due to the usefulness of > /etc/portage/bashrc breaking down with proper env state handling. >=20 =20 > If paludis doesn't want to support (pre|post)_*, whatever, long term it > was only a user feature.=20 >=20 > Short term, it's part of the required env support. > The "only a user feature" bothers me tbh. Is it so hard to make the functions stack then?=20 (I'm thinking along the lines of an eclass which defines foo_src_unpack which can be called by an ebuild function if overridden.) --=20 gentoo-dev@gentoo.org mailing list