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 |