[darcs-users] darcs 0.9.15 debs, darcs-createrepo bug, darcs get doesn't have -o

David Roundy droundy at jdj5.mit.edu
Sat Jan 24 16:06:31 UTC 2004


On Sat, Jan 10, 2004 at 06:02:22PM +0100, Shae Matijs Erisson wrote:
> with darcs 0.9.15 using the apt-source on a just installed debian/unstable

The fixes below are (or will be soon) in the public darcs repo, which you
can make a deb from using

darcs get http://abridgegame.org/repos/darcs
cd darcs
./configure
make deb

> line 68 of darcs-createrepo calls "darcs get -o repo" which fails since darcs
> get doesn't allow an argument of -o

Fixed.  Obviously I don't use createrepo very often...

> Also, darcs-createrepo leaves the symlink in /var/www/repos/ even if this error
> happens, which probably shouldn't be created until the repository has been
> successfully created. It means you can't rerun darcs-createrepo until you've
> removed the symlink.

I've reordered those two operations, so if the get fails (which seems
reasonably likely, all it takes is a typo in the repo URL) the symlink
isn't created.  I'm not sure if this will make createrepo capable of being
run again after failure (I haven't tested it), but at least it won't have
made the symlink in this case.

> A separate buglet is that debian usually puts documentation into
> /usr/share/doc/$PACKAGENAME and darcs is using /usr/share/darcs/doc/

Fixed.

Thanks for the reports! I just got cable modem installed yesterday at my
new apartment, so now I'm once again able to read my email, work on darcs,
and upload new darcs code from home, so bug fixes should come faster now.
-- 
David Roundy
http://civet.berkeley.edu/droundy/




More information about the darcs-users mailing list