Skip to content
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

[ENH] - Consider using OS-specific standards for conda-store data #648

Closed
Tracked by #507
jaimergp opened this issue Nov 2, 2023 · 4 comments · Fixed by #786
Closed
Tracked by #507

[ENH] - Consider using OS-specific standards for conda-store data #648

jaimergp opened this issue Nov 2, 2023 · 4 comments · Fixed by #786

Comments

@jaimergp
Copy link
Member

jaimergp commented Nov 2, 2023

Feature description

As part of #513, it was suggested to use ~/.conda-store as the default data directory. This was implemented successfully in #639.

I am suggesting we stick to well defined standards for this kind of decisions, instead of polluting the home directory with one more dot-folder. Namely:

Value and/or benefit

Following well established standards in each Operating System allow us to be better citizens, and navigate better known spaces (e.g. permissions, lack of user profiles in some Windows installations).

A nice side effect, and one of the reasons these standards exist, is to avoid polluting the user profile with dot-directories.

Anything else?

Comes from #639 (comment)

@nkaretnikov
Copy link
Contributor

ArchWiki list, with links to various issues: https://wiki.archlinux.org/title/XDG_Base_Directory_support

@costrouc
Copy link
Member

costrouc commented Nov 7, 2023

Yeah totally agree we should use system defaults

@jaimergp
Copy link
Member Author

jaimergp commented Nov 9, 2023

conda is going to switch to platformdirs (instead of the vendored appdirs), which seems to abstract away all the complicated business:

https://platformdirs.readthedocs.io/en/latest/index.html

@trallard trallard moved this from New 🚦 to Ready 🛎️ in conda-store 🐍 Nov 20, 2023
@nkaretnikov nkaretnikov moved this from Ready 🛎️ to TODO 📬 in conda-store 🐍 Dec 13, 2023
@nkaretnikov nkaretnikov added the area: user experience 👩🏻‍💻 Items impacting the end-user experience label Dec 13, 2023
@nkaretnikov nkaretnikov self-assigned this Dec 13, 2023
@nkaretnikov nkaretnikov moved this from TODO 📬 to In Progress 🏗 in conda-store 🐍 Dec 17, 2023
@nkaretnikov nkaretnikov moved this from In Progress 🏗 to Blocked ⛔️ in conda-store 🐍 Dec 18, 2023
@nkaretnikov
Copy link
Contributor

Status update: not working on this until other issues in the milestone are resolved.

@nkaretnikov nkaretnikov moved this from Blocked ⛔️ to TODO 📬 in conda-store 🐍 Jan 21, 2024
@nkaretnikov nkaretnikov moved this from TODO 📬 to In Progress 🏗 in conda-store 🐍 Mar 13, 2024
nkaretnikov added a commit to nkaretnikov/conda-store that referenced this issue Mar 17, 2024
nkaretnikov added a commit to nkaretnikov/conda-store that referenced this issue Mar 17, 2024
@nkaretnikov nkaretnikov moved this from In Progress 🏗 to In review 👀 in conda-store 🐍 Mar 18, 2024
nkaretnikov added a commit to nkaretnikov/conda-store that referenced this issue Apr 2, 2024
nkaretnikov added a commit to nkaretnikov/conda-store that referenced this issue Apr 5, 2024
@nkaretnikov nkaretnikov moved this from In review 👀 to Done 💪🏾 in conda-store 🐍 Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants