daml/daml-assistant/daml-project-config/DA/Daml/Project
Robin Krom 32ca8fb831
telemetry: use an extra cache directory for telemetry (#8439)
* telemetry: use an extra cache directory for telemetry

If the sdk's `.daml` directory is not writable, telemetry fails and
kills the IDE. We add a new assistant environment variable "DAML_CACHE".
If set, this directory is used for telemetry cache data.

Fixes #8396.

CHANGELOG_BEGIN
CHANGELOG_END

* try creating directory

* check for already existing machine id file

* set DAML_CACHE to read-only in assistant integration tests
2021-01-15 11:44:18 +01:00
..
Config.hs update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
Consts.hs telemetry: use an extra cache directory for telemetry (#8439) 2021-01-15 11:44:18 +01:00
Types.hs telemetry: use an extra cache directory for telemetry (#8439) 2021-01-15 11:44:18 +01:00
Util.hs update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00