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