News for hackers. Stuff that matters.
Re:macOS dotfiles should not go in –/Library/Application Sup... by joshka on Tuesday August 26, 2025 @01:58AM (#45022781)
From my previous recollection, there's an issue for this in just about every rust crate that handles these dirs. The right way to fix this is fix the spec, then make the libs adhere to the spec.
Re:macOS dotfiles should not go in –/Library/Application Sup... by Null-Set on Tuesday August 26, 2025 @02:09AM (#45022848)
How would you fix the spec? Add a line explicitly stating the /Library/Application Support dir is only for applications with a bundle ID, instead of just implying it?
Re:macOS dotfiles should not go in –/Library/Application Sup... by re on Tuesday August 26, 2025 @02:27AM (#45022957)
For clarity, is this what you're referring to as "the spec"? https://developer.apple.com/library/archive/documentation/Fi...
Re:macOS dotfiles should not go in –/Library/Application Sup... by joshka on Tuesday August 26, 2025 @09:56AM (#45026643)
No the xdg base directories spec. If you want to be able to opt in to dry on a system which doesn’t canonically use xdg vars, then you need some config.
Re:macOS dotfiles should not go in –/Library/Application Sup... by SAI_Peregrinus on Wednesday August 27, 2025 @11:35PM (#45048094)
XDG is cross-distribution for Linux, but it's not cross-platform. MacOS doesn't use XDG.
Re:macOS dotfiles should not go in –/Library/Application Sup... by joshka on Sunday August 31, 2025 @03:41AM (#45081222)
That’s my point. MacOS doesn’t use it, but many expect it to do so, so make this explicitly opt in so that a user’s preference is respected over the canonical configuration. To do that the best place to define the setting is in the spec.