1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/796cf860956c/ Changeset: 796cf860956c User: greg Date: 2014-01-08 15:46:33 Summary: Fix for retrieving repository dependency information for a repository changeset revision via the Tool Shed's API. Affected #: 1 file diff -r af196ff2cc63fcc59b07c1579891ffe7bed2013a -r 796cf860956c4f61b873335e502a8db4a0d7e951 lib/galaxy/webapps/tool_shed/api/repository_revisions.py --- a/lib/galaxy/webapps/tool_shed/api/repository_revisions.py +++ b/lib/galaxy/webapps/tool_shed/api/repository_revisions.py @@ -89,12 +89,16 @@ for rd_tup in rd_tups: tool_shed, name, owner, changeset_revision = rd_tup[ 0:4 ] repository_dependency = suc.get_repository_by_name_and_owner( trans.app, name, owner ) + repository_dependency_id = trans.security.encode_id( repository_dependency.id ) + repository_dependency_repository_metadata = \ + suc.get_repository_metadata_by_changeset_revision( trans, repository_dependency_id, changeset_revision ) + repository_dependency_repository_metadata_id = trans.security.encode_id( repository_dependency_repository_metadata.id ) repository_dependency_dict = repository_dependency.to_dict( view='element', value_mapper=value_mapper ) # We have to add the changeset_revision of of the repository dependency. repository_dependency_dict[ 'changeset_revision' ] = changeset_revision repository_dependency_dict[ 'url' ] = web.url_for( controller='repositories', action='show', - id=trans.security.encode_id( repository_dependency.id ) ) + id=repository_dependency_repository_metadata_id ) repository_dependencies_dicts.append( repository_dependency_dict ) return repository_dependencies_dicts except Exception, e: 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.