Skip to content

Commit

Permalink
Merge branch 'release_16.07' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Aug 11, 2016
2 parents 13b8067 + a7be24e commit 4ffbedd
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 17 deletions.
13 changes: 11 additions & 2 deletions .ci/first_startup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
#!/bin/bash
TRIES=120
URL=http://localhost:8080
echo "Testing for correct startup:"
bash run.sh --daemon && sleep 30s && curl -I localhost:8080
EXIT_CODE=$?
bash run.sh --daemon && \
while [[ $i -le $TRIES ]]
do
curl "$URL" && EXIT_CODE=0 && break
sleep 1
EXIT_CODE=1
((i = i + 1))
done
echo "exit code:$EXIT_CODE, showing startup log:"
cat paster.log
exit $EXIT_CODE
28 changes: 15 additions & 13 deletions config/galaxy.ini.sample
Original file line number Diff line number Diff line change
Expand Up @@ -164,29 +164,31 @@ paste.app_factory = galaxy.web.buildapp:app_factory
# <toolbox> tag.
#tool_path = tools

# -- Tool dependencies

# Path to the directory in which tool dependencies are placed. This is used by
# the tool shed to install dependencies and can also be used by administrators
# the Tool Shed to install dependencies and can also be used by administrators
# to manually install or link to dependencies. For details, see:
# https://wiki.galaxyproject.org/Admin/Config/ToolDependencies
# Set to the string none to explicitly disable tool dependency handling.
# If this option is set to none or an invalid path, installing tools with dependencies
# from the Tool Shed will fail.
# from the Tool Shed will fail.
#tool_dependency_dir = database/dependencies

# The dependency resolves config file specifies an ordering and options for how
# The dependency resolvers config file specifies an ordering and options for how
# Galaxy resolves tool dependencies (requirement tags in Tool XML). The default
# ordering is to the use the tool shed for tools installed that way, use local
# Galaxy packages, and then use conda if available.
# ordering is to the use the Tool Shed for tools installed that way, use local
# Galaxy packages, and then use Conda if available.
# See https://github.com/galaxyproject/galaxy/blob/dev/doc/source/admin/dependency_resolvers.rst
# for more information on these options.
#dependency_resolvers_config_file = config/dependency_resolvers_conf.xml

# Following conda dependeny resolution options are experimental as of early
# 2016. These will change the defaults for each conda resolver, but multiple
# resolvers can be configured independently and these options overridden in
# Following Conda dependency resolution options will change the defaults for each Conda resolver,
# but multiple resolvers can be configured independently and these options overridden in
# dependency_resolvers_config_file.
# Location on the filesystem where Conda packages are installed
#conda_prefix = <tool_dependency_dir>/_conda
# Override the conda executable to use, it will default to the one on the
# Override the Conda executable to use, it will default to the one on the
# PATH (if available) and then to <conda_prefix>/bin/conda
#conda_exec =
# Pass debug flag to conda commands.
Expand All @@ -196,11 +198,11 @@ paste.app_factory = galaxy.web.buildapp:app_factory
# Set to True to instruct Galaxy to look for and install missing tool
# dependencies before each job runs.
#conda_auto_install = False
# Set to True to perform additional checking of installed conda environment
# Set to True to perform additional checking of installed Conda environment
#conda_verbose_install_check=False
# Set to True to instruct Galaxy to install conda from the web automatically
# Set to True to instruct Galaxy to install Conda from the web automatically
# if it cannot find a local copy and conda_exec is not configured.
#conda_auto_init = False
#conda_auto_init = True

# File containing the Galaxy Tool Sheds that should be made available to
# install from in the admin interface (.sample used if default does not exist).
Expand Down Expand Up @@ -1212,7 +1214,7 @@ use_interactive = True
#communication_server_host = http://localhost
#communication_server_port = 7070
# persistent_communication_rooms is a comma-separated list of rooms that should be always available.
#persistent_communication_rooms =
#persistent_communication_rooms =


# ---- Galaxy External Message Queue -------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/tools/deps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'conda_debug': None,
'conda_ensure_channels': 'r,bioconda,iuc',
'conda_auto_install': False,
'conda_auto_init': False,
'conda_auto_init': True,
}

CONFIG_VAL_NOT_FOUND = object()
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/tools/deps/resolvers/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_option(name):
# warning is related to conda problem discussed in https://github.com/galaxyproject/galaxy/issues/2537, remove when that is resolved
conda_prefix_warning_length = 50
if len(conda_prefix) >= conda_prefix_warning_length:
log.warning('Conda install prefix ({}) is long ({} characters), this can cause problems with package installation, consider setting a shorter prefix (conda_prefix in galaxy.ini)')
log.warning("Conda install prefix '%s' is %d characters long, this can cause problems with package installation, consider setting a shorter prefix (conda_prefix in galaxy.ini)" % (conda_prefix, len(conda_prefix)))

condarc_override = get_option("condarc_override")
if condarc_override is None:
Expand Down

0 comments on commit 4ffbedd

Please sign in to comment.