1 |
On Friday 01 July 2005 23:00, Dan Armak wrote: |
2 |
> On Friday 01 July 2005 23:19, Paul de Vrieze wrote: |
3 |
> > On Friday 01 July 2005 17:14, Jonathan Smith wrote: |
4 |
> > > Thomas de Grenier de Latour wrote: |
5 |
> > > > Btw, what's wrong with the `DEPEND="$(your_function)" || die` |
6 |
> > > > |
7 |
> > > > i've proposed? Using a return code seems to be the simplest way |
8 |
> > > > to signal a failure, no? |
9 |
> > > |
10 |
> > > calling a function in a global scope is a bad idea. it leads to lots of |
11 |
> > > unneccessary (and timely) computations |
12 |
> > |
13 |
> > It also makes any attempts to parse ebuilds without using bash (our |
14 |
> > current strategy) a lot harder (actually causing bash reimplementation) |
15 |
> |
16 |
> You mean you're actually doing that for portage-cvs? I didn't know that. |
17 |
> Does 'our current strategy' refer to using bash or to not using it? |
18 |
|
19 |
I'm not working on portage. I don't know what people do, but parsing ebuilds |
20 |
is certainly easier orders of magnitude faster than bash parsing them (I have |
21 |
prove of concept code). |
22 |
|
23 |
Paul |
24 |
|
25 |
-- |
26 |
Paul de Vrieze |
27 |
Gentoo Developer |
28 |
Mail: pauldv@g.o |
29 |
Homepage: http://www.devrieze.net |