[darcs-users] phpDarcsView 0.5
Max Battcher
me at worldmaker.net
Sun Mar 4 01:26:37 UTC 2007
On 3/2/07, Sergej Chodarev <sergejx at centrum.sk> wrote:
> I've written simple PHP script for viewing Darcs repositories placed at
> HTTP server. Unlike other similar programs it doesn't need to have Darcs
> installed on the server. It obtain all information about repository by
> parsing files in _darcs directory of repository.
Thanks for posting that, from just flipping through it it looks pretty
good. I was thinking that I should look at it later and see if I can
use some of the code as a guide in my hybrid Python system (based in
spirit at least on darcsweb, but extremely different at this point).
In mine, I try to balance darcs calls by slurping data into a database
(not because darcs is slow so much as the fact that it's tough to be
faster than a highly optimized modern relational database for
key-based lookups), as well as building things modularly enough that
you can turn off the pieces that use certain darcs calls (ie,
Patch/Tag-related views use more darcs calls than File-related views).
I've definitely considered adding the ability to do the "database
slurps" without darcs and your code might finally prove the
inspiration I need to add that as an alternative script alongside my
darcs-calling scripts.
--
--Max Battcher--
http://www.worldmaker.net/
All progress is based upon a universal innate desire on the part of
every organism to live beyond its income. --Samuel Butler
More information about the darcs-users
mailing list