You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User configuration/data should be separated from cache
Detailed information
Currently TU keeps all related data in one directory (~/.config/taskunified on Linux). It would be nice to follow the XDG Base Directory specification (not to keep it in the home directory directly), but there are also element related to the project cache. While doing backup (especially an automatic daily backup of the most important things) they unnecessarily take space. It would be good to put they to some cache specific directory (such as XDG_CACHE_HOME - ~/.cache on Linux).
Update. Electron currently doesn't support it - electron/electron#8124. Therefor, maybe you could just mention somewhere which elements are auto-recreatable and can be omitted from backup? I have found: blog_storage, Cache, Code cache, GPUCache, Partitions and maybe LOG*. Is that ok? What about Cookies? Is it use for something in the app or it is a left over from the web engine?
Version and system information
master on Fedora 30.
The text was updated successfully, but these errors were encountered:
Actually, in the settings you can change the data folder location.
And then the TaskUnifier data and backups are saved in the selected folder.
All the rest is not important and can be recreated automatically.
Does it answer your question/feature ?
I was thinking about that and I don't have any sensible idea how to split it between XDG_CONFIG_HOME and XDG_DATA_HOME. In addition XDG_CACHE_HOME is not well supported by Electron.
Therefor, having dataFolder in place and the information is can be skipped from backup I would keep it as is waiting for electron/electron#8124 to be resolved at the Electron side (as Chromium already supports--disk-cache-dir).
Feature description
User configuration/data should be separated from cache
Detailed information
Currently TU keeps all related data in one directory (~/.config/taskunified on Linux). It would be nice to follow the XDG Base Directory specification (not to keep it in the home directory directly), but there are also element related to the project cache. While doing backup (especially an automatic daily backup of the most important things) they unnecessarily take space. It would be good to put they to some cache specific directory (such as
XDG_CACHE_HOME
-~/.cache
on Linux).Update. Electron currently doesn't support it - electron/electron#8124. Therefor, maybe you could just mention somewhere which elements are auto-recreatable and can be omitted from backup? I have found:
blog_storage
,Cache
,Code cache
,GPUCache
,Partitions
and maybeLOG*
. Is that ok? What aboutCookies
? Is it use for something in the app or it is a left over from the web engine?Version and system information
master on Fedora 30.
The text was updated successfully, but these errors were encountered: