commit/galaxy-central: greg: Fix for installing from a list of tool shed repositories that matched a search criteria.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/00d26ae73e5a/ changeset: 00d26ae73e5a user: greg date: 2012-04-24 20:25:23 summary: Fix for installing from a list of tool shed repositories that matched a search criteria. affected #: 1 file diff -r e34f80fe39ecab5d76cd20ded0eeac449351b482 -r 00d26ae73e5aa56ef7e0f59b2b89ff92ca7aaaf7 lib/galaxy/webapps/community/controllers/repository.py --- a/lib/galaxy/webapps/community/controllers/repository.py +++ b/lib/galaxy/webapps/community/controllers/repository.py @@ -755,10 +755,14 @@ if not includes_tools and 'tools' in repository_metadata.metadata: includes_tools = True repository = get_repository( trans, trans.security.encode_id( repository_metadata.repository_id ) ) + # Get the changelog rev for this changeset_revision. + repo_dir = repository.repo_path + repo = hg.repository( get_configured_ui(), repo_dir ) + changeset_revision = repository_metadata.changeset_revision + ctx = get_changectx_for_changeset( repo, changeset_revision ) repository_id = trans.security.encode_id( repository.id ) - changeset_revision = repository_metadata.changeset_revision repository_clone_url = generate_clone_url( trans, repository_id ) - repo_info_dict[ repository.name ] = ( repository.description, repository_clone_url, changeset_revision ) + repo_info_dict[ repository.name ] = ( repository.description, repository_clone_url, changeset_revision, str( ctx.rev() ) ) return encode( repo_info_dict ), includes_tools @web.expose def preview_tools_in_changeset( self, trans, repository_id, **kwd ): 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)
-
Bitbucket