Skip to content

generator: Quote paths passed to container image extraction commands #178

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

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

euanh
Copy link
Contributor

@euanh euanh commented Feb 4, 2025

Some paths were being passed to container extraction commands (tar, docker cp) without quotes. This caused the extraction to fail if the paths contained spaces.

@euanh euanh requested a review from MaxDesiatov as a code owner February 4, 2025 11:58
@euanh euanh added the bug Something isn't working label Feb 4, 2025
Some paths were being passed to container extraction commands (tar,
docker cp) without quotes.  This caused the extraction to fail if
the paths contained spaces.
@euanh euanh force-pushed the quote-container-extraction-paths branch from 4d43be6 to 25e3dfe Compare February 4, 2025 11:58
@euanh
Copy link
Contributor Author

euanh commented Feb 4, 2025

@swift-ci test

@MaxDesiatov
Copy link
Contributor

I wonder if a type with custom string interpolation could insert quotes automatically? Totally fine to tackle in a future PR if you think that's a sensible idea at all.

@euanh euanh merged commit 6bf9922 into swiftlang:main Feb 4, 2025
3 checks passed
@euanh euanh deleted the quote-container-extraction-paths branch February 4, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants