[darcs-users] deps.pl?

Isaac Dupree ml at isaac.cedarswampstudios.org
Thu Apr 22 05:27:12 UTC 2010


I discovered via Google that there was a tool that showed a Darcs repo 
of patches into a Graphviz file showing the dependencies: "deps.pl", 
used by Zooko in 2005, originally written by James Webb, and used 
successfully by another person in 2007 (see those details later)

I found it in a few places on the internet, and updated/generalized the 
options string to /yn[a-zA-Z]*jk/ , and hackily changed `darcs init` to 
`darcs init --hashed` (Is there anyway to create a repo with no patches 
in it that has the same patch-format, i.e. darcs1 vs. darcs2, as another 
one? I didn't see any options in either `darcs get` or `darcs init` that 
would let me do this. It's needed so that we can create a repo that 
we're going to pull patches, one-at-a-time, into.)  And then... it 
*still* never finished running, on my quite small hashed-format darcs 
repo (55 patches), with darcs 2.4, and I'm not sure what's wrong. 
Should I give up and re-write it somehow if I want graphviz results? 
(it's only 128 lines of code, and does hacky things with darcs 
command-line and darcs interactive output)

Tool history I could find via Google:

for example,
http://sage.math.washington.edu/home/tornaria/darcs-deps
http://www.mail-archive.com/darcs-devel@darcs.net/msg01785.html
note that they all claim to be "version 0.1" but there's at least one 
difference.
Probably an update per
http://lists.osuosl.org/pipermail/darcs-users/2005-November/009035.html
Zooko proposed to add it to darcs' tools/contrib before that existed in 
the main darcs repo, so it never arrived there.

The latest mention I found on Google was 2007, 
http://code.djangoproject.com/wiki/VisualizingDjangoChangesetDependencies
which points to (darcs repo) 
http://scratchbox.org/~ttimonen/repos/darcs-deps
which is now a 404 error, and contains this version 
http://web.archive.org/web/20070513214107/scratchbox.org/~ttimonen/repos/darcs-deps/darcs-deps


More information about the darcs-users mailing list