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
Documentation for dependency resolvers #1296
Conversation
* Add documentation on dependency resolvers
@@ -1,7 +1,10 @@ | |||
<dependency_resolvers> | |||
<!-- the default configuration, first look for dependencies installed from the toolshed --> | |||
<tool_shed_packages /> | |||
<!-- then look for env.sh files profile according to the "galaxy packages" schema --> | |||
<!-- then look for env.sh files in directories according to the "galaxy packages" schema. | |||
These resolvers can take a base_path attribute to specify where to look for |
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.
I can't find the code where base_path
attribute should be parsed, lib/galaxy/tools/deps/__init__.py
seems to always use config.tool_dependency_dir
.
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.
Its used in lib/galaxy/tools/deps/resolvers/resolver_mixins.py in the UsesToolDependencyDirMixin which is used by the galaxy_packages resolver.
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.
Thanks!
Thanks @pvanheus, nice work! |
* Use modulepath in both environment modules resolvers * Export MODULEPATH in generated shell command * Add logging for operation of dependency resolvers
* Replace {} and .format with %s and % to preserve Python 2.6 compatibility * Add a modulepath= paranter to the fake resolver (Bunch object) used to test the modules dependency resolver
Utterly and wonderfully fantastic @pvanheus! |
Documentation for dependency resolvers
Documentation largely derived from my blog post (http://pvh.wp.sanbi.ac.za/2015/10/09/how-galaxy-resolves-dependencies-or-not/) on how dependency resolvers are and can be configured for Galaxy.