Skip to content

Make the location of "ui_results" configurable#20

Open
ikselven wants to merge 3 commits intoceos-seo:masterfrom
ikselven:configurable-results-directory
Open

Make the location of "ui_results" configurable#20
ikselven wants to merge 3 commits intoceos-seo:masterfrom
ikselven:configurable-results-directory

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