Worker: change default location for writing local files #99415

Closed
opened 2022-07-04 15:31:43 +02:00 by Sybren A. Stüvel · 3 comments

Change default location for writing local files (sqlite database, credentials file) from the current working directory (CWD) to a platform-specific location in the user's home directory (~/.local/share/flamenco on Linux, %APPDATA%\Blender Foundation\Flamenco on Windows, etc.).

This is to aid in upgrades (worker files can all be removed & replaced with a new version), as well as simplifying global configuration (global config can be read from a common, network-shared directory in CWD, Worker-specific files are always written to Worker-specific location).

Change default location for writing local files (sqlite database, credentials file) from the *current working directory* (CWD) to a platform-specific location in the user's home directory (`~/.local/share/flamenco` on Linux, `%APPDATA%\Blender Foundation\Flamenco` on Windows, etc.). This is to aid in upgrades (worker files can all be removed & replaced with a new version), as well as simplifying global configuration (global config can be read from a common, network-shared directory in CWD, Worker-specific files are always written to Worker-specific location).
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Sybren A. Stüvel changed title from Worker: change default location for writing files to Worker: change default location for writing local files 2022-07-04 15:38:32 +02:00
Sybren A. Stüvel self-assigned this 2022-07-19 12:14:50 +02:00
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#99415
No description provided.