[darcs-users] "Static Gitit" site.
Daniel Carrera
daniel.carrera at theingots.org
Tue Apr 21 07:59:04 UTC 2009
Gwern Branwen wrote:
> What would this post-hook mode of operation be? A combination of a
> SIGUSR1 hook and a disabling of cache-freshness-checking-on-reads?
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). So
gitit should not need to interact with Darcs at all when serving pages.
Just look at the actual file in the file system and its timestamp.
Gitit would still have to interact with Darcs for writing and for
history. But these operations are much rarer than reads.
Daniel.
More information about the darcs-users
mailing list