1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ea0b7ca55aec/ Changeset: ea0b7ca55aec User: greg Date: 2013-04-22 20:51:48 Summary: Raise exceptions when tool dependency definition <install> and <set_environment> tags define an unsupported version attribute. Affected #: 1 file diff -r 42632cc2a166e8933fe29496a6087309769b8987 -r ea0b7ca55aec1552718132227d80b0ae82ca2913 lib/tool_shed/galaxy_install/tool_dependencies/install_util.py --- a/lib/tool_shed/galaxy_install/tool_dependencies/install_util.py +++ b/lib/tool_shed/galaxy_install/tool_dependencies/install_util.py @@ -151,6 +151,8 @@ action_dict[ env_elem.tag ] = env_var_dicts actions.append( ( action_type, action_dict ) ) return tool_dependency, actions + else: + raise NotImplementedError( 'Only install version 1.0 is currently supported (i.e., change your tag to be <install version="1.0">).' ) return None, actions def install_and_build_package_via_fabric( app, tool_dependency, actions_dict ): @@ -299,6 +301,8 @@ sa_session.refresh( tool_dependency ) if tool_dependency.status != app.model.ToolDependency.installation_status.ERROR: print package_name, 'version', package_version, 'installed in', install_dir + else: + raise NotImplementedError( 'Only install version 1.0 is currently supported (i.e., change your tag to be <install version="1.0">).' ) elif package_elem.tag == 'readme': # Nothing to be done. continue @@ -550,6 +554,8 @@ sa_session.add( tool_dependency ) sa_session.flush() print 'Environment variable ', env_var_name, 'set in', install_dir + else: + raise NotImplementedError( 'Only set_environment version 1.0 is currently supported (i.e., change your tag to be <set_environment version="1.0">).' ) def strip_path( fpath ): if not fpath: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.