-
Notifications
You must be signed in to change notification settings - Fork 482
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
Support spaces in git repository path #1066
Conversation
|
||
included do | ||
delegate :clone_directory, :build_directory, to: :"config.builder" | ||
end |
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 delegation becomes superfluous when we need to escape the values returned by clone_directory
and build_directory
, so I just removed it. Inlined config.builder.clone_directory.shellescape
in the single location it's needed, and factorized config.builder.build_directory.shellescape
in the escaped_build_directory
method.
def build_directory | ||
"#{Dir.tmpdir}/kamal-clones/app/kamal/" | ||
end | ||
|
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.
I wondered what this was, and realized it has become unnecessary when tests still passed without it.
0bb649d
to
f45c754
Compare
cc @djmb |
Thanks @davidstosik! |
Fixes #1036
I haven't written any tests for this though I'd be interested to try.