rose icon indicating copy to clipboard operation
rose copied to clipboard

Fileinstall fails if installing broken link

Open wxtim opened this issue 2 months ago • 0 comments

A user report of Rose fileinstall failing when in the source contains a broken link.

To replicate

mkdir -p "${TMP}/."

# Install a file from a git source
cat > "${TMP}/./rose-app.conf" <<__ICI__
[command]
default=true

[file:git-source]
source=git:${TMP}/src::./::main
__ICI__

# Create that source
mkdir -p "${TMP}/src"
cd "${TMP}/src"
git init .
ln -s missing link
git add .
git commit -a -m "Add broken link"

# Run the rose app
mkdir -p "${TMP}/run"
cd "${TMP}/run"
rose app-run -C ../ --debug

This behaviour also appears to apply to rsync fileinstall, and may apply to others.

broken-link-bug-git.sh broken-link-bug-rs.sh

wxtim avatar Oct 21 '25 12:10 wxtim