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
removed incoming as default destination folder for anonymous ftp #6829
removed incoming as default destination folder for anonymous ftp #6829
Conversation
@yrudman I think there needs to be some explanation for the reviewers of why you are deleting all this code and why you think that nothing will break after. |
@yrudman in addition to what @chessbyte says, we should have a rspec test that tests that the destination_path is a specific value... to confim that it no longer has a leading |
FTP transfer is fully implemented in FileDepotFtp class.
|
@bdunne Please review? Does this affect the CloudForms custom Ftp class we have? |
@Fryguy Yes, it does. I commented on the downstream code change. Please hold off merging this until that is in place. |
@Fryguy Downstream changes merged, this is ready to go |
d9bd3c4
to
c5a5c18
Compare
c5a5c18
to
2315c1e
Compare
Checked commits yrudman/manageiq@2315c1e~...24a921e with ruby 2.2.3, rubocop 0.37.2, and haml-lint 0.16.1 |
Looks good. |
…der_for_anonymous_ftp removed incoming as default destination folder for anonymous ftp
describe FileDepotFtpAnonymous do | ||
it "should require credentials for anonymous" do | ||
expect(FileDepotFtpAnonymous.requires_credentials?).to eq true | ||
expect(FileDepotFtpAnonymous.new.login_credentials[0]).to eq "anonymous" |
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.
In the future, this should probably match the entire array instead of the first element.
@bdunne I think there is no need in additional change for downstream code. I've tested it with latest upstream code - works |
Fixed several issues with anonymous ftp:
https://bugzilla.redhat.com/show_bug.cgi?id=1307019