Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Dropping (or enabling only on request) bootstrap from SCM eclasses
Date: Thu, 24 Sep 2009 06:32:58
Message-Id: 19131.4757.820903.606019@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] [RFC] Dropping (or enabling only on request) bootstrap from SCM eclasses by Maciej Mrozowski
1 >>>>> On Thu, 24 Sep 2009, Maciej Mrozowski wrote:
2
3 > Because SCM bootstrap is either not used at all, or used very
4 > rarely, there's suggestion to:
5 > - either drop it
6 > - or (preferably) to make SCM eclasses export src_prepare only on
7 > specific request
8 > - or to make it easier - to not export it at all - thus making it
9 > required for developer to intentionally invoke
10 > ${ECLASS}_src_prepare if bootstrapping is required.
11
12 Not a good idea, IMHO. In pre-EAPI-2, the SCM eclasses shadow
13 src_unpack of base.eclass, so also no autopatching of base.eclass
14 takes place. If we now change it _not_ to export src_prepare, then
15 there may be surprises when bumping an ebuild to EAPI-2.
16
17 Besides, most SCM eclasses (at least cvs, subversion, git and bzr)
18 have their own autopatch facility running in src_prepare (before
19 bootstrap). Why would one need _both_ this and the one in base.eclass?
20
21 Ulrich

Replies

Subject Author
Re: [gentoo-dev] [RFC] Dropping (or enabling only on request) bootstrap from SCM eclasses Maciej Mrozowski <reavertm@××××××.fm>