Skip to content

Add --no_shed_install option. #841

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

Merged
merged 1 commit into from
May 22, 2018

Conversation

jmchilton
Copy link
Member

@bgruening's original advice was to base this on whether --galaxy_admin_key was an actual admin key or not and just disable this functionality if not. My issue with this is that Planemo assumes a default admin key (that works with planemo serve defaults), so if the admin key is wrong and required I think it should be a hard failure not a silent behavior change. To put this another way, Planemo is tool development SDK, the correct assumption is that the target Galaxy is something it can just install tools into without worry - if that is not a correct assumption you need to change the behavior of Planemo and to do that the --no_shed_install flag makes a lot of sense I think.

I understand the critique that there are too many commands with too many options, and I have done things to make the default behaviors better (for instance none of the --conda_*** flags really need to be used for typical runs now). Rather than restricting functionality or making too clever assumptions I prefer the to go the route of documentation that focused on the actual commands to run and the relevant options for that use case. Therefore I've updated the documentation related to external Galaxy testing - and that doesn't cover twenty options - it covers only three - the most important three for external Galaxy testing including this new one.

@bgruening's original advice was to base this on whether --galaxy_admin_key was an actual admin key or not and just disable this functionality if not. My issue with this is that Planemo assumes a default admin key (that works with 'planemo serve' defaults), so if the admin key is wrong and required I think it should be a hard faliure not a silent behavior change. To put this another way, Planemo is tool development SDK, the correct assumption is that the target Galaxy is something it can just install tools into without worry - if that is not a correct assumption you need to change the behavior of Planemo and to do that the --no_shed_install flag makes a lot of sense I think.

I understand the critique that there are too many commands with too many options, and I have done things to make the default behaviors better (for instance none of the --conda_*** flags really need to be used for typical runs now). Rather than restricting functionality or making too clever assumptions I prefer the to go the route of documentation that focused on the actual commands to run and the relevant options for that use case. Therefore I've updated the documentation related to external Galaxy testing - and that doesn't cover twenty options - it covers only three - the most important three for external Galaxy testing including this new one.
@bgruening
Copy link
Member

Tested and works for me. I still would argue that the admin access is not necessary but this is a great feature and I was able to test workflows against usegalaxy.eu.

@bgruening bgruening merged commit 1b96ab9 into galaxyproject:master May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants