1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/619995bcb99f/ changeset: 619995bcb99f user: inithello date: 2013-03-08 20:44:57 summary: Enhance the script that checks repositories for functional tests, adding support for multiple web frontends. affected #: 1 file
diff -r c937f80188d8026f2074f8a897e2ff2972d8da6d -r 619995bcb99feda43d9a369a7aa563108a19f3c7 lib/tool_shed/scripts/check_repositories_for_functional_tests.py --- a/lib/tool_shed/scripts/check_repositories_for_functional_tests.py +++ b/lib/tool_shed/scripts/check_repositories_for_functional_tests.py @@ -38,6 +38,12 @@ '''Script that checks repositories to see if the tools contained within them have functional tests defined.''' parser = OptionParser() parser.add_option( "-i", "--info_only", action="store_true", dest="info_only", help="info about the requested action", default=False ) + parser.add_option( "-s", + "--section", + action="store", + dest="section", + default='server:main', + help="which .ini file section to extract the host and port from" ) parser.add_option( "-v", "--verbose", action="count", dest="verbosity", @@ -57,10 +63,11 @@ config_dict[key] = value config = tool_shed_config.Configuration( **config_dict )
+ config_section = options.section now = strftime( "%Y-%m-%d %H:%M:%S" ) print "#############################################################################" print "# %s - Checking repositories for tools with functional tests." % now - print "# This tool shed is configured to listen on %s:%s." % ( config_parser.get( 'server:main', 'host' ), config_parser.get( 'server:main', 'port' ) ) + print "# This tool shed is configured to listen on %s:%s." % ( config_parser.get( config_section, 'host' ), config_parser.get( config_section, 'port' ) ) app = FlagRepositoriesApplication( config )
if options.info_only:
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.
galaxy-commits@lists.galaxyproject.org