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
Re-work upload clarification from #5206. #5264
Re-work upload clarification from #5206. #5264
Conversation
See post-merge discussion on that issue.
7227f39
to
3f75a2d
Compare
👍 I think that's correct now. |
This looks good to me, but do we have any test for the |
@nsoranzo Well... in fact... https://github.com/galaxyproject/galaxy/blob/dev/test/integration/test_upload_configuration_options.py#L264. # Purge is set by default so this should be gone.
# ... but it isn't - is this a bug? Are only certain kinds of uploads purged?
# assert not os.path.exists(ftp_path) |
Well I played a bit more with that test case and it seems like purge would only ever be used with non-binary data if the to posix lines option is disabled - because usually Galaxy will create a new file and not purge the original. I may open a PR to clarify some of this in testing. I guess an open question is if we should purge those files that we don't move - just to keep things clean and consistent across datatypes and data content. |
@jmchilton @mvdbeek I just find out (after a long session of I think we should modify purge_source = dataset.get('purge_source', True) and not run_as_real_user and dataset.type not in ('server_dir', 'path_paste') |
Re-work upload clarification from #5206.
See post-merge discussion on that issue.