From: Lionel Thiry Date: 2005-04-08T08:29:42+09:00 Subject: Re: [ANN] Rant 0.3.2 Jim Weirich a �crit : > On Wednesday 06 April 2005 09:09 pm, Lionel Thiry wrote: >>I have forgotten one, the way tasks are executed. You can execute the TDG >>in such a way that you don't have to check repeatedly each task to know if >>it has already been executed. You just begin at the right starting nodes >>and follows the arrows. >> >>Well, that's what I thought until I tried to code that myself. What a >>nightmare! :) > > > Hmmm ... I suppose you could do a topological sort on the nodes of the DAG and > execute them in reverse order. Not a good idea when combined with multithreading. (or I haven't found how to do) > There might be some dynamic behavior that is > lost with that approach. And I personnaly wouldn't like to lose that "some dynamic behavior". > And I'm not sure you would do any /less/ checking > doing the sort. I'm slowly thinking the same as you. >>Do you mean that every thing in the list above can already be done with >>rake? Or will be added to rake? Will you really add all these features? > > > If there is interest in any of those features, I would consider implementing > them. Patches and source code contributions are always welcome too. I > remain the final decision maker, but I try to keep an open mind to > suggestions. Ok. I'll think about it. :) > > >>Especially about (1), would you plan to decouple Rake interface (the >>Rakefiles) and Rake internals? Said another way, would you plan to make >>rake usable through a standard ruby script? >> >> require 'rake' >> # do rake stuff but more explicitly >> # no more implicit tasks or rules >> # no more implicit management of options > > > See, you half way convinced me already. Actually, you /can/ do this today. > In fact, that's how the unit tests work. But there is some cleanup that > could be done to make the interface better. If you have specific > suggestions, I'm listening. Ok. I'll think about suggestions (and patches) and propose them to you on the Rake mailing list whenever I have one. -- Lionel Thiry