1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f721ff18d976/ Changeset: f721ff18d976 Branch: next-stable User: jmchilton Date: 2014-09-23 00:01:05+00:00 Summary: Continue flailing on environment variable configuraiton of Galaxy. Expand variables earlier right in app_factory so middleware, etc... pick up defaults/overrrides. In particular GALAXY_CONFIG_OVERRIDE_DEBUG should now work properly. GALAXY_CONFIG_DEBUG cannot be used because the sample config template overrides debug's default. Thanks to Bjoern for the bug report. Affected #: 2 files diff -r d8fc0bf14dfeb6f59cef39e92984a46f2fafc4dc -r f721ff18d976e2876648310d59cb6b8c4f6f258b lib/galaxy/config.py --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -13,7 +13,6 @@ import ConfigParser from datetime import timedelta from galaxy.web.formatting import expand_pretty_datetime_format -from galaxy.util.properties import load_app_properties from galaxy.util import string_as_bool from galaxy.util import listify from galaxy.util.dbkeys import GenomeBuilds @@ -37,9 +36,6 @@ deprecated_options = ( 'database_file', ) def __init__( self, **kwargs ): - kwargs = load_app_properties( - kwds=kwargs - ) self.config_dict = kwargs self.root = kwargs.get( 'root_dir', '.' ) diff -r d8fc0bf14dfeb6f59cef39e92984a46f2fafc4dc -r f721ff18d976e2876648310d59cb6b8c4f6f258b lib/galaxy/webapps/galaxy/buildapp.py --- a/lib/galaxy/webapps/galaxy/buildapp.py +++ b/lib/galaxy/webapps/galaxy/buildapp.py @@ -19,6 +19,7 @@ import galaxy.web.framework.webapp from galaxy import util from galaxy.util import asbool +from galaxy.util.properties import load_app_properties import logging log = logging.getLogger( __name__ ) @@ -31,6 +32,9 @@ """ Return a wsgi application serving the root object """ + kwargs = load_app_properties( + kwds=kwargs + ) # Create the Galaxy application unless passed in if 'app' in kwargs: app = kwargs.pop( 'app' ) 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.