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

Make the location of "ui_results" configurable #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ikselven
Copy link

@ikselven ikselven commented Aug 7, 2018

This PR makes the location of the directory ui_results configurable.

To achieve this, a new setting called RESULTS_DATA_DIR has been introduced in settings.py. It should contain the path to the ui_results directory, the directory where the Datacube UI saves its created product files into. Hardcoded paths that referred to ui_results have been replaced with a reference to this new setting.

Further adjustments have been made so that the paths to task result files are not stored as absolute paths in the database. With this PR, they are now relative to the configured RESULTS_DATA_DIR.

Otto Wagner and others added 3 commits June 30, 2018 23:50
- in settings.py there is a new setting "RESULTS_DATA_DIR"
- should contain the path to the "ui_results" directory, where DCUI save
  its created product files into
- in the database, the paths to these files are not stored absolute, but
  relative to the configured "RESULTS_DATA_DIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant