-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Use $HOME/.dart instead of $HOME/.dartServer #42499
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
Comments
Also CC @mit-mit RE keeping our SDK footprint on a users machine as clean/sane as possible |
|
I don't think For temporary files, did we consider using a system-level temp folder? |
I think we should pack everything into a single folder - and that folder should follow established conventions. On Linux this probably means following XDG (#41560) On Mac this probably means |
Sorry – didn't mean temporary. I meant settings and such.
Since .dartServer IS for caches and not settings, I think Slava's idea is
solid here.
…On Fri, Jun 26, 2020 at 1:22 AM Vyacheslav Egorov ***@***.***> wrote:
I think we should pack everything into a single folder - and that folder
should follow established conventions.
On Linux this probably means following XDG (#41560
<#41560>)
On Mac this probably means ~/Library/Caches/...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#42499 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAEFCVWZI3JJ7WKBUAMBTLRYRLDVANCNFSM4OIWWHZQ>
.
|
To do this right we would need to implement a package to support XDG directories on all platforms (Linux, Mac, Windows). |
A utility to find an application specific config file was added to cli_util, see: applicationConfigHome |
The dart CLI is using
$HOME/.dart
for its analytics data.It'd be great if the analysis server used this, too – so there are fewer places we litter a users home directory.
Not a big priority – but something to consider.
CC @jwren
The text was updated successfully, but these errors were encountered: