Re: [ww-users] cleaning out old directories
Status: Beta
Brought to you by:
worden
From: Jonathan D. <du...@mc...> - 2011-04-05 03:56:25
|
On Fri, Apr 1, 2011 at 7:04 PM, Lee Worden <wor...@gm...> wrote: > Hi Peter! > So the recommended treatment for big costly files is to isolate their > make rules to be run only in background jobs: > http://lalashan.mcmaster.ca/theobio/projects/index.php/Background_Jobs#Background_jobs_design_pattern > If you do that, they won't be remade unless you do it explicitly by > creating a background job. Another recommended move is to save them on the wiki as archived project files. > Or you can just make sure to use <project-file ... make=false/> and > write your make rules so that nothing that makes automatically has a > dependency on any of your costly targets. This is tricky, because you typically want to make things from your costly targets, and you would like your make rules to reflect that accurately. > If we did have a "do not remake" flag I'd hesitate to assume that > anything not tagged could be erased, because it's common to put off > housekeeping tasks like making sure all the files are tagged when you > add new ones. > A way to change things to source files might be useful - or something > like Jonathan has suggested (if I remember right), where project files > that are being archived in the wiki get written back out to the working > directory, so they're preserved even if the whole directory gets > removed. But those kind of ideas are confusing and troubling to me and > I don't know what to do with them. Here's something I've always wanted to try. You could have a valuable target be an archived project file living in the Media: space. Then another project could use that same Media: page as a source file. Seems like it should work well. I was thinking it should be done across projects, but it seems like it would work to allow you to control the flow within a project as well. JD |