1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/5328ebe51a0e/
changeset: 5328ebe51a0e
user: greg
date: 2012-11-30 21:19:11
summary: Fix for installing tool shed repositories into Galaxy.
affected #: 1 file
diff -r 14589278b02d0dea916319811ddebf17ecca0747 -r 5328ebe51a0eba8b0e2315f2ce9fedf2c4a02e83 lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py
--- a/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py
+++ b/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py
@@ -670,7 +670,7 @@
# Clone each repository to the configured location.
update_tool_shed_repository_status( trans.app, tool_shed_repository, trans.model.ToolShedRepository.installation_status.CLONING )
repo_info_tuple = repo_info_dict[ tool_shed_repository.name ]
- description, repository_clone_url, changeset_revision, ctx_rev, repository_owner, tool_dependencies = repo_info_tuple
+ description, repository_clone_url, changeset_revision, ctx_rev, repository_owner, repository_dependencies, tool_dependencies = repo_info_tuple
relative_clone_dir = self.generate_tool_path( repository_clone_url, tool_shed_repository.installed_changeset_revision )
clone_dir = os.path.join( tool_path, relative_clone_dir )
relative_install_dir = os.path.join( relative_clone_dir, tool_shed_repository.name )
@@ -1395,7 +1395,7 @@
# Handle case where the repository was previously installed using an older changeset_revsion, but later the repository was updated
# in the tool shed and now we're trying to install the latest changeset revision of the same repository instead of updating the one
# that was previously installed. We'll look in the database instead of on disk since the repository may be uninstalled.
- description, repository_clone_url, changeset_revision, ctx_rev, repository_owner, tool_dependencies = repo_info_tuple
+ description, repository_clone_url, changeset_revision, ctx_rev, repository_owner, repository_dependencies, tool_dependencies = repo_info_tuple
tool_shed = get_tool_shed_from_clone_url( repository_clone_url )
# Get all previous change set revisions from the tool shed for the repository back to, but excluding, the previous valid changeset
# revision to see if it was previously installed using one of them.
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.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/dc83012e4b83/
changeset: dc83012e4b83
user: inithello
date: 2012-11-29 21:02:56
summary: Fixed server error when tool search returns no results.
affected #: 1 file
diff -r 44ae555b804bae7aa8170326ff37d5c0dc47be28 -r dc83012e4b83cbf33c45b28982232bfcfcd29f3b lib/galaxy/webapps/community/controllers/repository.py
--- a/lib/galaxy/webapps/community/controllers/repository.py
+++ b/lib/galaxy/webapps/community/controllers/repository.py
@@ -501,7 +501,8 @@
.filter( or_( *clause_list ) ) \
.order_by( model.Repository.name )
# Return an empty query
- return []
+ return trans.sa_session.query( model.RepositoryMetadata ) \
+ .filter( model.RepositoryMetadata.id < 0 )
class InstallMatchedRepositoryGrid( MatchedRepositoryGrid ):
columns = [ col for col in MatchedRepositoryGrid.columns ]
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.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/7fbdc9666006/
changeset: 7fbdc9666006
user: inithello
date: 2012-11-29 19:06:02
summary: Fixed functional test script creating stray directories in galaxy root.
affected #: 1 file
diff -r 607e9db258f20ad47b8bb813508bd6a9056596b8 -r 7fbdc96660062a9194fc16039e6be3b63831ee4e test/tool_shed/functional_tests.py
--- a/test/tool_shed/functional_tests.py
+++ b/test/tool_shed/functional_tests.py
@@ -129,7 +129,7 @@
else:
database_connection = 'sqlite:///' + os.path.join( db_path, 'universe.sqlite' )
kwargs = {}
- for dir in tool_shed_test_tmp_dir:
+ for dir in [ tool_shed_test_tmp_dir ]:
try:
os.makedirs( dir )
except OSError:
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.