-
Notifications
You must be signed in to change notification settings - Fork 426
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
Allow escaping commas and colons in source bind path with the followi… #6008
Conversation
59de124
to
789f681
Compare
@cclerget is this ready for review? You weren't thinking of getting this in to 3.8.0, were you? |
@DrDaveD Not 3.8.0, I created a 3.8.1 milestone and put this fix and issues in the 3.8.1 milestone. For this PR I forgot to add few e2e tests which I will add soon |
…ng syntax: - `singularity shell -B /tmp/comma\\,separated_dir:/data image` - `singularity shell -B "/tmp/comma\,separated_dir":/data image` - `singularity shell -B /tmp/colon\\:sep_dir:/data image` - `singularity shell -B /tmp/"colon\:sep_dir":/data image` - Fixes apptainer#5923 - Fixes apptainer#5959
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an important improvement.
…out destination two times
Fix a regression introduced by #6008 adding bind mounts without destination two times
…ut destination two times" This reverts commit 26a215e.
…out destination two times
Description of the Pull Request (PR):
Allow escaping commas and colons in source bind path with the following syntax:
singularity shell -B /tmp/comma\\,separated_dir:/data image
singularity shell -B "/tmp/comma\,separated_dir":/data image
singularity shell -B /tmp/colon\\:sep_dir:/data image
singularity shell -B "/tmp/colon\:sep_dir":/data image
This fixes or addresses the following GitHub issues:
Before submitting a PR, make sure you have done the following:
make check
and tested this PR locally with amake test
, andmake testall
if possible (see CONTRIBUTING.md).