vast-ai / vast-python

Vast.ai python and cli api client
MIT License
124 stars 49 forks source link

~/. files should probably be moved to xdg files #136

Closed kristopolous closed 4 weeks ago

kristopolous commented 1 month ago

So although some software (shells, editors, git, ssh) use the $HOME/.[file] convention, many modern software such as htop, google-chrome, wireshark, gtk, xfce, gimp, etc, use xdg.

This is a ticket to transition to xdg (https://specifications.freedesktop.org/basedir-spec/latest/) specifically that standard. Not only is it a nice place to store the key but it also facilitates any ambitions you may have for, say a cache. It's a standardized location that we'll know we'll have access to.

The cache file I moved over to temp recently should also be moved over to here.

kristopolous commented 1 month ago

this one isn't ready to merge yet

kristopolous commented 1 month ago

ok that second commit should have fixed my objections