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

Add openssh vendor extension to sftp rename. #2448

Merged
merged 1 commit into from Nov 12, 2019
Merged

Conversation

easink
Copy link
Contributor

@easink easink commented Nov 2, 2019

To use openssh rename extension it use the same logic as openssh scp client and verify if extension exists and choose that first.

@CLAassistant
Copy link

CLAassistant commented Nov 2, 2019

CLA assistant check
All committers have signed the CLA.

@rickard-green rickard-green added the team:PS Assigned to OTP team PS label Nov 4, 2019
@HansN HansN added testing currently being tested, tag is used by OTP internal CI and removed testing currently being tested, tag is used by OTP internal CI labels Nov 5, 2019
@HansN
Copy link
Contributor

HansN commented Nov 11, 2019

Looks good so far. What about a test case? Is this option always enabled on for example openssh servers?

@IngelaAndin IngelaAndin added the waiting waiting for changes/input from author label Nov 11, 2019
@easink
Copy link
Contributor Author

easink commented Nov 11, 2019

The option is there but its an undocumented "feature" to disable their extension. The "original" way of rename is to link() the file and then unlink() the source. The extension uses rename(), and is in my opinion better, one operation iso two.

@HansN HansN merged commit ce10727 into erlang:master Nov 12, 2019
@HansN
Copy link
Contributor

HansN commented Nov 12, 2019

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS waiting waiting for changes/input from author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants