Roundup Tracker - Issues

Issue 2550493

classification
Allow run_tests.py to be run in SCM working copy
Type: behavior Severity: normal
Components: Infrastructure Versions: 1.4
process
Status: closed fixed
:
: stefan : stefan, tobias-herp
Priority: : patch

Created on 2009-02-05 01:53 by tobias-herp, last changed 2009-02-09 17:50 by stefan.

Files
File name Uploaded Description Edit Remove
init.py.patch tobias-herp, 2009-02-05 01:53 copytree skips SCM special directories
runtests.py.patch tobias-herp, 2009-02-08 22:08 Skip the same SCM-special directories in run_tests.py itself as well
Messages
msg3500 Author: [hidden] (tobias-herp) Date: 2009-02-05 01:53
When run_tests.py is run from a Subversion copy (and probably CVS,
Mercurial as well), the standard template is copied (lots of times),
preserving all file attributes (this might be a problem specific to
Windows / OSes which use FAT-style file attributes: On Windows, readonly
and system attributes prevent file deletion), causing errors when the
temporary tree is to be deleted.

This patch makes the roundup.init.copytree function skip CVS, Subversion
and Mercurial special directories: No copying of special files, no
attribute problems when cleaning up.

(sorry, I can't use Keywords here; no read access! Would a "Testing"
component be useful?)
msg3504 Author: [hidden] (stefan) Date: 2009-02-05 14:00
Thanks for the suggestion. I added an 'infrastructure' component.)
msg3529 Author: [hidden] (stefan) Date: 2009-02-09 17:50
I have applied both of these patches in slightly modified form in rev:4117:

As the 'CVS' directories are gone now, the only ones that need to be
filtered are 'hidden' files, i.e. those starting with '.'.
History
Date User Action Args
2009-02-09 17:50:28stefansetstatus: new -> closed
assignee: stefan
resolution: fixed
messages: + msg3529
2009-02-08 22:08:53tobias-herpsetfiles: + runtests.py.patch
2009-02-05 14:00:48stefansetnosy: + stefan
messages: + msg3504
components: + Infrastructure
2009-02-05 01:53:26tobias-herpcreate