Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Ticket #195 (new defect)

Opened 9 years ago

Last modified 9 years ago

DSSS installdir fails copying readonly things in .svn dirs

Reported by: baxissimo Assigned to: Gregor
Priority: major Milestone:
Component: DSSS Version:
Keywords: Cc: larsivi

Description

If you dsss install a Tango SVN checkout, the installdir commands in Tango's dsss.conf cause .svn dirs to get installed too.

First of all these really shouldn't be installed in the first place. Since DSSS is svn-aware to begin with, it should automatically ignore these directories. I can see an argument for it ignoring .hg dirs or other .XXX dirs that it doesn't know anything about, but SVN usage is an integral part of DSSS, so it should be smart enough not to copy SVN cruft.

Second, the copying can lead to install failures on Windows because some of that .svn stuff has read-only attributes, and it's copied with that attribute in tact. So the second time you try to install you get an error about trying to overwrite read-only files which causes DSSS to terminate before the installation of Tango is complete.

This was reported as a bug to the Tango folks (with a simple proposed workaround) but they have chosen to declare this DSSS's problem and apparently don't intend to apply the workaround (which is to not use installdir) on their side. For reference the Tango bug is here: http://www.dsource.org/projects/tango/ticket/897

Change History

07/20/08 21:51:29 changed by larsivi

  • cc set to larsivi.