1 new changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/36221b56dfcd/
changeset: 36221b56dfcd
user: natefoo
date: 2011-09-06 17:51:01
summary: Add the "Galaxy ls" script to contrib/. Thanks, Simon McGowan.
affected #: 2 files (239 bytes)
--- a/contrib/README Tue Sep 06 10:44:44 2011 -0400
+++ b/contrib/README Tue Sep 06 11:51:01 2011 -0400
@@ -23,3 +23,9 @@
SMF Manifest for Solaris 10 and OpenSolaris. Import with `svccfg import
galaxy.solaris-smf.xml`.
+
+gls.pl:
+
+ "Galaxy ls", for sites where Galaxy logins match system logins, this script
+ can be used to list the filesystem paths to a user's history datasets.
+ Requires site modifications. Written and submitted by Simon McGowan.
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 changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/ba5c95886cef/
changeset: ba5c95886cef
user: greg
date: 2011-09-06 16:44:44
summary: Fix for browsing tool shed repo files whose names include apsces, and display a better message if repository metadata cannot be set due to lack of tools.
affected #: 2 files (197 bytes)
--- a/lib/galaxy/webapps/community/controllers/common.py Tue Sep 06 09:43:17 2011 -0400
+++ b/lib/galaxy/webapps/community/controllers/common.py Tue Sep 06 10:44:44 2011 -0400
@@ -295,6 +295,9 @@
repository_metadata.metadata = metadata_dict
trans.sa_session.add( repository_metadata )
trans.sa_session.flush()
+ else:
+ message = "Changeset revision '%s' includes no tools or exported workflows for which metadata can be set." % str( changeset_revision )
+ status = "done"
else:
# change_set is None
message = "Repository does not include changeset revision '%s'." % str( changeset_revision )
--- a/lib/galaxy/webapps/community/controllers/repository.py Tue Sep 06 09:43:17 2011 -0400
+++ b/lib/galaxy/webapps/community/controllers/repository.py Tue Sep 06 10:44:44 2011 -0400
@@ -1396,7 +1396,7 @@
changeset_revision=repository.tip,
status=status,
message=message ) )
- return output.split()
+ return output.split( '\r\n' )
@web.json
def get_file_contents( self, trans, file_path ):
# Avoid caching
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 changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/6f321d52b8af/
changeset: 6f321d52b8af
user: greg
date: 2011-09-05 13:07:43
summary: Fix for defining the relative file path for a tool automatically installed from a tool shed.
affected #: 1 file (288 bytes)
--- a/lib/galaxy/web/base/controller.py Fri Sep 02 18:32:13 2011 -0400
+++ b/lib/galaxy/web/base/controller.py Mon Sep 05 07:07:43 2011 -0400
@@ -2768,11 +2768,8 @@
try:
repository_tool = trans.app.toolbox.load_tool( full_path )
if repository_tool:
- # At this point, we need to lstrip tool_path from relative_path,m but we
- # have to be careful, so we do this the following way instead of using lstrip().
- items = relative_path.split( '/' )
- lstriped_items = items[ 2: ]
- tup_path = '/'.join( lstriped_items )
+ # At this point, we need to lstrip tool_path from relative_path.
+ tup_path = relative_path.replace( tool_path, '' ).lstrip( '/' )
repository_tools_tups.append( ( tup_path, repository_tool ) )
except Exception, e:
# We have an inavlid .xml file, so not a tool config.
@@ -2894,7 +2891,7 @@
Generate a tool path that guarantees repositories with the same name will always be installed
in different directories. The tool path will be of the form:
<tool shed url>/repos/<repository owner>/<repository name>/<changeset revision>
- http://test@gvk.bx.psu.edu:9009/repos/test/filter
+ http://test@bx.psu.edu:9009/repos/test/filter
"""
tmp_url = self.__clean_repository_clone_url( repository_clone_url )
# Now tmp_url is something like: bx.psu.edu:9009/repos/some_username/column
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 changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/cf8748a743a7/
changeset: cf8748a743a7
user: greg
date: 2011-09-02 21:53:04
summary: A couple of bug fixes in handling tool shed installs.
affected #: 1 file (524 bytes)
--- a/lib/galaxy/web/base/controller.py Fri Sep 02 14:59:31 2011 -0400
+++ b/lib/galaxy/web/base/controller.py Fri Sep 02 15:53:04 2011 -0400
@@ -2768,10 +2768,15 @@
try:
repository_tool = trans.app.toolbox.load_tool( full_path )
if repository_tool:
- repository_tools_tups.append( ( relative_path.lstrip( '%s/' % tool_path ), repository_tool ) )
+ # At this point, we need to lstrip tool_path from relative_path,m but we
+ # have to be careful, so we do this the following way instead of using lstrip().
+ items = relative_path.split( '/' )
+ lstriped_items = items[ 2: ]
+ tup_path = '/'.join( lstriped_items )
+ repository_tools_tups.append( ( tup_path, repository_tool ) )
except Exception, e:
# We have an inavlid .xml file, so not a tool config.
- log.debug("Ignoring invalid tool config (%s)." % str( relative_path ))
+ log.debug( "Ignoring invalid tool config (%s). Error: %s" % ( str( relative_path ), str( e ) ) )
if repository_tools_tups:
# Generate an in-memory tool conf section that includes the new tools.
new_tool_section = self.__generate_tool_panel_section( repository_name,
@@ -2865,7 +2870,7 @@
if tool_shed_url.find( ':' ) > 0:
# Eliminate the port, if any, since it will result in an invalid directory name.
return tool_shed_url.split( ':' )[ 0 ]
- return tool_shed_url
+ return tool_shed_url.rstrip( '/' )
def __clean_repository_clone_url( self, repository_clone_url ):
if repository_clone_url.find( '@' ) > 0:
# We have an url that includes an authenticated user, something like:
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.