Re: [ww-users] cleaning out old directories
Status: Beta
Brought to you by:
worden
From: Peter L. R. <pl...@st...> - 2011-04-05 17:23:18
|
> >> 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 > > Oh, man. You could do that. I should make sure that when it archives > to that page it flags it properly, because any time a source file is > changed, pages need to be expired from the parser cache so things will > be remade. I think it would work actually. (Though it wouldn't matter > if it's in the same project, because it's coming from the working > directory and syncing it back to the directory would be a null operation > and wouldn't necessitate any further makes, so actually it doesn't need > to be flagged in that case. But it does if it's a source file in a > different project.) If you do try it I'd like to watch! :) Yes, this is just what I was thinking; perhaps we can assume that if any file is costly enough it should not be erased that it will be stored as an archived project file? --peter |