commit/galaxy-central: greg: Eliminate unused method in the tool shed's repository controller.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/8752e2c14b71/ Changeset: 8752e2c14b71 User: greg Date: 2014-03-31 14:00:19 Summary: Eliminate unused method in the tool shed's repository controller. Affected #: 1 file diff -r 3f349df2bb9cade82ea55ab4b3ed7f9ad473cdf5 -r 8752e2c14b711ad6b6bd5e0162a65a198402b480 lib/galaxy/webapps/tool_shed/controllers/repository.py --- a/lib/galaxy/webapps/tool_shed/controllers/repository.py +++ b/lib/galaxy/webapps/tool_shed/controllers/repository.py @@ -1907,36 +1907,6 @@ readme_files_dict=readme_files_dict, repo_info_dict=repo_info_dict ) - @web.json - def get_versions_of_tool( self, trans, name, owner, changeset_revision, encoded_guid ): - #def get_versions_of_tool( self, trans, repository_id, repository_metadata, guid ): - """ - Return the tool version lineage chain in descending order for the received guid contained - in the repsitory_metadata.tool_versions column associated with the received changeset_revision - whose associated repository is associated with the received name and owner. - """ - guid = encoding_util.tool_shed_decode( encoded_guid ) - repository = suc.get_repository_by_name_and_owner( trans.app, name, owner ) - version_lineage = [] - if repository: - repository_id = trans.security.encode_id( repository.id ) - repository_metadata = suc.get_repository_metadata_by_changeset_revision( trans, - repository_id, - changeset_revision ) - if not repository_metadata: - repo_dir = repository.repo_path( trans.app ) - repo = hg.repository( suc.get_configured_ui(), repo_dir ) - updated_changeset_revision = suc.get_next_downloadable_changeset_revision( repository, - repo, - changeset_revision ) - if updated_changeset_revision: - repository_metadata = suc.get_repository_metadata_by_changeset_revision( trans, - repository_id, - updated_changeset_revision ) - if repository_metadata: - version_lineage = tool_util.get_version_lineage_for_tool( trans, repository_id, repository_metadata, guid ) - return version_lineage - @web.expose def help( self, trans, **kwd ): message = kwd.get( 'message', '' ) 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.
participants (1)
-
commits-noreply@bitbucket.org