Skip to content

Fileinstall fails if installing broken link #2946

@wxtim

Description

@wxtim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions