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

New feature: set HOME to pywps process tempdir #220

Merged
merged 2 commits into from
Feb 18, 2017

Conversation

cehbrecht
Copy link
Collaborator

Overview

some tools used in a wps process like to have a HOME environment and might even write into the HOME folder (config, cache, ...).

With this new feature the HOME can be set to the current tempdir of the process. This feature is disabled by default and can be activated with the sethomedir=true flag in the pywps server configuration.

You are already using this in Process._set_grass:
https://github.com/geopython/pywps/blob/master/pywps/app/Process.py#L220

Contribution Agreement

(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
  • [x ] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

@coveralls
Copy link

coveralls commented Dec 23, 2016

Coverage Status

Coverage increased (+0.007%) to 76.326% when pulling 12f971f on bird-house:feature-sethomedir into 7e7e12e on geopython:master.

@jachym
Copy link
Member

jachym commented Feb 18, 2017

works for me, thanks a lot

@jachym jachym added this to the 4.2.0 milestone Feb 18, 2017
@jachym jachym self-assigned this Feb 18, 2017
@jachym jachym self-requested a review February 18, 2017 14:15
@jachym jachym changed the base branch from master to develop February 18, 2017 14:15
Copy link
Member

@jachym jachym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@jachym jachym merged commit 2009761 into geopython:develop Feb 18, 2017
@cehbrecht cehbrecht deleted the feature-sethomedir branch March 28, 2017 16:09
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.

3 participants