[darcs-users] "Static Gitit" site.
Daniel Carrera
daniel.carrera at theingots.org
Tue Apr 21 19:52:57 UTC 2009
Gwern Branwen wrote:
> On Tue, Apr 21, 2009 at 3:59 AM, Daniel Carrera
>> Here is one thing I don't understand: Why do we need hooks at all? Darcs
>> itself will make sure that the files in the directory tree are updated. All
>> you need for that is to make sure that people can't edit the tree other than
>> through Darcs (and you'd want that anyways for security)...
>
> Gitit uses filestore, and filestore aims at multiple backends.
Doesn't seem like a valuable feature if the price is poor performance.
We don't need multiple backends.
> If I cd into
> my wiki directory, and rm -rf everything except _darcs, but I don't do
> any darcs record, Gitit chugs on blissfully unaware
That doesn't seem like a valuable feature. For example, a malicious user
who wanted to affect the wiki would delete _darcs just as easily as he
would delete any other file or directory. So I don't see that having
gitit ignore the files is a feature, and it is hard not to see it as a
bug when it requires what are really redundant calls to darcs just to
display a page. What a wiki does 95% of the time is displaying pages.
That operation should be fast, and adding a 'darcs query contents file'
on every page request seems like just a needless layer of work.
Daniel.
More information about the darcs-users
mailing list