3 ms·
> ~/.cargo/ This reminds me... STOP putting your shitty dot-directories full of a mix of config, cache and data in my god damned home directory. Concerned th
by Arch-TK 2y ago
> ~/.cargo/
This reminds me...
STOP putting your shitty dot-directories full of a mix of config, cache and data in my god damned home directory.
Concerned that not doing this will break things? Just check if you've dumped your crap in there already and if not then put it in the right places.
Worried about confusing existing users migrating to other machines? Document the change.
Still worried? How about this: I'll put a file called opt-into-xdg-base-directory-specification inside ${XDG_CONFIG_HOME:-$HOME/.config} and if you find that file you can rest assured I won't be confused.
Thanks in advance!
- pvinis 2y agoI would upvote at least 10 times if I could. This!
- childintime 2y agoIf you have to blame the developer, blame the OS. Shit drops down from above. Maybe it's just old and crappy.
- HdS84 2y agoAs a non linux expert I always wonder where to put crap - most places seem not fit for purpose.
- seanhunter 2y agoThere is a standard which you should follow. Here you go https://specifications.freedesktop.org/basedir-spec/latest/ https://specifications.freedesktop.org/basedir-spec/latest/
- childintime 2y agoYep, likely an example of downstream problems that should not exist.
- johnisgood 2y agoBlame the OS? Why? And what good would that do? The developers could have used XDG_CONFIG_HOME at the very least.
- NautilusWave 2y agoSo like ~/.ssh/ is bad? Or does it get grandfathered?
- ramon156 2y agoI feel like a healthy mix is fine. Just like I wouldn't want my repo to be 90% cache, having 1-2 folders is fine.
- Vilian 2y agoSSH has the argument that they are older than the specification, now cargo, nah, a lot of application that use ssh hardcoded .ssh, cargo don't have that excuse
- Arch-TK 2y agoI thought my comment addresses this specifically. Yes, it's bad. If you predate the specification then see options 2 (check), 3 (document) or 4 (come up with a new spec for opting in).
- rascul 2y agoStop giving me a mix of locations that aren't even used correctly and just put the dot file/directory in my home directory. Thanks in advance.
- porridgeraisin 2y agoI hate XDG. I prefer app/kinds-of-data. If home directory clutter is the problem, I would prefer having a ~/crap folder. So it would be ~/crap/.cargo
- Arch-TK 2y agoI am all for a "Please put everything in random sub directories of /" config option for the installer of your linux distribution of choice where / is your home directory, PATH, configuration directory and everything else. But I think you're in the minority.