Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable cavern to handle links to external files #246

Merged
merged 4 commits into from
Sep 4, 2024
Merged

Conversation

pdowler
Copy link
Member

@pdowler pdowler commented Sep 3, 2024

Use file:///path/to/something for an external file (external to cavern root)

allow GET and PUT (create) external file links
reject all attempts to navigate external links (to directories)
reject download of an external file via files or transfer neg.

one optional create + get test added
currently no automated tests of the reject scenarios... TBD

all: correctly fail if attempting to navigate an external linknode in path
cavern: handle absolute and relative links to external targets (eg in a
separately mounted filesystem)
enable cavern to create symlink to external files from file: URI
Copy link
Member

@brianmajor brianmajor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty straightforward in the end.

@pdowler pdowler marked this pull request as ready for review September 4, 2024 17:00
@pdowler pdowler merged commit 2965d9d into opencadc:main Sep 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants