-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Remove legacy library interface #4908
Conversation
xref: #1995 |
I signed up as a reviewer for this since I am interested and working on related code atm. |
eecccb6
to
0ea7720
Compare
It was problematically removed with a recent PR and is causing Travis breakages - Galaxy assumes this directory exists.
When adding datasets from user directory:
|
also errors when using import directory or path
|
My branch was busted, with a clean checkout the errors above are not thrown anymore. |
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.
Looks well, works well. Thanks Aysam.
Thanks a lot for the review man. I know it was quite a bit of work. |
This PR removes the legacy library interface. The main challenge is that the api controller uses the web controller functions. This PR attempts to unwind the two. While unwinding it turns out that many of the validation checks, parameters and code paths used through the controller are not working/not used when called through the API. Access validation e.g. is tested through the api but the result is not used to prohibit the operation, see: https://github.com/galaxyproject/galaxy/pull/4908/files#diff-a74fb51de19ecbcb13be07dea19fde07R316.