-
-
Notifications
You must be signed in to change notification settings - Fork 533
Tox should adhere to the XDG BaseDir standard on Linux and possibly OS X #346
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
Original comment by @hpk42 what do you suggest as behaviour for windows? or does XDG specify that as well? |
Hi @hpk42 Another question: |
@obestwalter judging from the low interest and the fact of deprecation of distshare I would say let's close this for now. |
When is distshare actually going away in that case? |
the options it's marked as deprecated for 2 years now, so whenever we decide to do so 😃 |
@gaborbernat The issue really is that "there's a .tox directory in $HOME", so personally I'm happy with the PR not getting merged if distshare actually goes away -- but leaving it in without merging the PR, on the premise that it'll go away "some day" is kinda weird imo. |
Hi @jleclanche, the reason the PR never got merged is that the question how this should behave on Windows was never addressed. There was another problem pointed out in the PR comments that wasn't addressed also. So the assumption was that the interest in getting this merged was not big enough to put in some more work in and address those issues. Maybe we should talk about the question what we do with distshare first and then decide if we actually need that global directory at all, wether it is directly in $HOME then or somewhere else. |
So, has the question on whether ~/.tox/distshare will continue to be used been resolved in the meantime? |
We don't plan to go ahead with using distshare. |
A few years later, it looks like present-day tox still creates |
I'm planning to remove this feature in tox 4, which would solve it. |
You can find the specification here.
This blog post lists the advantages of using the XDG Base Directory Specification as follows:
$HOME
is a lot less cluttered.$XDG_DATA_HOME
along with your files is enough).For example, what is currently
~/.tox/distshare
would be~/.cache/tox/distshare
or something similar.The text was updated successfully, but these errors were encountered: