darcs

Issue 903 wish: avoid creating hard links in darcs src tarball

Title wish: avoid creating hard links in darcs src tarball
Priority wishlist Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy, twb
Assigned To
Topics

Created on 2008-06-05.03:05:31 by twb, last changed 2009-08-27.14:00:36 by admin.

Messages
msg4952 (view) Author: twb Date: 2008-06-05.03:05:28
sshfs doesn't support hard links.  This means that the source tarball
cannot be safely extracted on sshfs filesystems.  Is there any reason
to have these hard links in the source tarball?  The files in question
get re-compiled at build time anyway (when TeX is installed).

$ grep $PWD /proc/mounts
fs:Desktop/darcs /home/twb/Desktop/darcs fuse.sshfs rw,nosuid,nodev,user_id=1187,group_id=2000,max_read=65536 0 0
$ tar zxf darcs-2.0.1rc1.tar.gz
tar: darcs-2.0.1rc1/doc/manual/img6.png: Cannot hard link to `darcs-2.0.1rc1/doc/manual/img4.png': Function not implemented
tar: darcs-2.0.1rc1/doc/manual/index.html: Cannot hard link to `darcs-2.0.1rc1/doc/manual/darcs.html': Function not implemented
msg4960 (view) Author: kowey Date: 2008-06-05.07:27:40
So, if I understand correctly, the only thing that goes wrong here is that tar
gives you some warnings when you extract the source tarball.  Is that correct?

If so, I'm marking this as wont-fix.  I tried looking in the tar man page for
options that would make it ignore hard links (and just create a new file), but
didn't find anything.  Also, I'm not too sure what's generating these links in
the first place (latex2html ?) and what parts of the makefile we'd need to fix.

make dist seems to say it uses darcs dist... which suprises me, because darcs
dist only copies recorded files, as far as I know.

Feel free to work on this and report back, of course.  And thanks for the bug
report!
msg4964 (view) Author: twb Date: 2008-06-05.07:43:55
On Thu, Jun 05, 2008 at 07:27:42AM -0000, Eric Kow wrote:
> So, if I understand correctly, the only thing that goes wrong here
> is that tar gives you some warnings when you extract the source
> tarball.  Is that correct?

I'm not sure exactly what tar ends up producing; I just gave up and
ran tar on the remote host (I'm using sshfs in the first place so I
can edit files with Emacs, since TRAMP no longer has multihop.)

> If so, I'm marking this as wont-fix.

No worries.  This is a very low-priority issue as far as I'm concerned.
History
Date User Action Args
2008-06-05 03:05:31twbcreate
2008-06-05 07:27:42koweysetpriority: wishlist
status: unread -> wont-fix
messages: + msg4960
nosy: + kowey
title: Hard links in source tarball are mildly annoying -> wish: avoid creating hard links in darcs src tarball
2008-06-05 07:43:57twbsetnosy: tommy, beschmi, kowey, dagit, twb
messages: + msg4964
2009-08-06 21:07:10adminsetnosy: + dmitry.kurochkin, simon, thorkilnaur, - beschmi
2009-08-11 00:16:21adminsetnosy: - dagit
2009-08-25 18:12:03adminsetnosy: + darcs-devel, - simon
2009-08-27 14:00:36adminsetnosy: tommy, kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin