Arch-TK
3 days 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!
porridgeraisin
2 days ago
I 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
2 days ago
I 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.
rascul
2 days ago
Stop 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.
childintime
3 days ago
If you have to blame the developer, blame the OS. Shit drops down from above. Maybe it's just old and crappy.
johnisgood
2 days ago
Blame the OS? Why? And what good would that do? The developers could have used XDG_CONFIG_HOME at the very least.
HdS84
3 days ago
As a non linux expert I always wonder where to put crap - most places seem not fit for purpose.
seanhunter
2 days ago
There is a standard which you should follow. Here you go https://specifications.freedesktop.org/basedir-spec/latest/
childintime
a day ago
Yep, likely an example of downstream problems that should not exist.
NautilusWave
2 days ago
So like ~/.ssh/ is bad? Or does it get grandfathered?
Vilian
2 days ago
SSH 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
2 days ago
I 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).
ramon156
2 days ago
I 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.
pvinis
3 days ago
I would upvote at least 10 times if I could.
This!