metomi / rose

:rose: Rose is a toolkit for writing, editing and running application configurations.
https://metomi.github.io/rose/
GNU General Public License v3.0
55 stars 50 forks source link

Failure to install from subversion #2784

Closed wxtim closed 2 months ago

wxtim commented 3 months ago

Whilst testing #2754 I discovered an unrelated bug which can be replicated with SVN file creation (as well as the original git from the git branch).:

To Reproduce

#!/bin/bash
TMP=$(mktemp -d)
echo Files extracted to ${TMP}
cat > "${TMP}/./flow.cylc" <<__ICI__
__ICI__

cat > "${TMP}/./rose-suite.conf" <<__ICI__
[file:file1]
source=svn://fcm1/um.xm_svn/main/trunk/CodeOwners.txt

__ICI__

cylc install "${TMP}"

Will result in

[INFO] 2024-06-06T13:04:34+0100 fcm info --xml svn://fcm1/um.xm_svn/main/trunk/CodeOwners.txt
[INFO] 2024-06-06T13:04:35+0100 svn export -q svn://fcm1/um.xm_svn/main/trunk/CodeOwners.txt@124504 /var/tmp/tmph0rc9y14/56e9ba5cafbbcb100e2c177b1b92485c
[FAIL] 2024-06-06T13:04:35+0100 svn export -q svn://fcm1/um.xm_svn/main/trunk/CodeOwners.txt@124504 /var/tmp/tmph0rc9y14/56e9ba5cafbbcb100e2c177b1b92485c # return-code=1, stderr=
[FAIL] 2024-06-06T13:04:35+0100 svn: E000002: Can't create temporary file from template '/var/tmp/tmph0rc9y14/svn-XXXXXX': No such file or directory