Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.05] Do not modify self.app.config.tool_data_path #4089

Merged
merged 1 commit into from
May 23, 2017

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented May 19, 2017

and self.app.config.tool_data_table_config_path during metadata setting.

xref galaxyproject/tools-iuc#1315.

I suspect multiple threads installing tool simultaneously may have led
to self.app.config.tool_data_path and/or
self.app.config.tool_data_table_config_path being set to a temporary
directory. Initial testing looks like this is not necessary.

and self.app.config.tool_data_table_config_path during metadata setting.

xref galaxyproject/tools-iuc#1315.

I suspect multiple threads installing tool simultaneously may have led
to self.app.config.tool_data_path and/or
self.app.config.tool_data_table_config_path being set to a temporary
directory. Initial testing looks like this is not necessary.
@mvdbeek mvdbeek added this to the 17.05 milestone May 19, 2017
@mvdbeek mvdbeek changed the title [17.05][WIP] Do not modify self.app.config.tool_data_path [17.05] Do not modify self.app.config.tool_data_path May 21, 2017
@mvdbeek
Copy link
Member Author

mvdbeek commented May 21, 2017

I have gone through the various functions that are being called by generate_metadata_for_changeset_revision , and none are relying on a modified self.app.config.tool_data_table_config_path / self.app.config.tool_data_path, so this should be a safe change. Installing a new data manager and associated tables also worked fine. This is ready for review now.

@martenson
Copy link
Member

Thank you @mvdbeek !

@martenson martenson merged commit 3d1da8e into galaxyproject:release_17.05 May 23, 2017
nsoranzo added a commit to nsoranzo/galaxy that referenced this pull request May 24, 2017
@mvdbeek mvdbeek deleted the no_global_changes branch June 12, 2018 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants