Although I had meant to do the full release of the new and improved File::HomeDir this weekend, I received a late complaint from Stepher Stenneker (the esteemed leader of Sydney.pm and creator of the Perl Camelpack) that "Why hadn't I implemented my_music etc on OS X, how dare I make Win32-specific features like that, and why didn't I do my_movies and my_videos as well".
After explaining that it wasn't my fault, but that I only had access to a Win32 desktop system at the moment, he hurumphed a little and stomped off.
12 hours later he was back having commited into the svn repository an implementation of my_movies and my_videos on Win32, and an implementation of as many of the media folders as possible on OS X as well. And he's pondering implementing them on Linux too.
And so I've now uploaded one last dev release of File::HomeDir before the final release in 24 hours or so if I don't hear anything bad.
There was one additional failure found by one user on Win32 due to nested dependency on Win32API::Registry, but that seems rare enough that I'm happy to go ahead with a production release and deal with it afterwards.
Well, I, personally would love to see a "my_config" that is designed for users, which "my_data" is not.
User-editable config files on Windows shouldn't, in my opinion, be buried in "c:\Documents and Settings\username\Local Settings\Application Data\.foo". I'd rather see it as a hidden
For me, "my_data" is fine if the application manages the config info itself and for application-specific cache files.
I suspect others would disagree, or I'd just hack it into the repository. But I'd rather not go to that effort just to see it hacked back out again.
Re:config dir
DAxelrod on 2006-11-09T18:16:17
User-editable config files on Windows? What're those?;) Re:config dir
Alias on 2006-11-10T01:47:09
Correct, my_data is for application-managed data only, not for human-editable.
I really don't think hidden or "dot" directories are the way to go on Windows. There simple is no concept of hidden files that you should have to touch.
Hidden files should NEVER be touched by people on Win32.
Also, File::HomeDir tries very VERY hard to NOT invent new standards for things, and only use existing blessed ways of doing things.
So personally, if you want to have a user-editable config file, I guess you'd have to put it under my_documents... although on Mac I'm not sure if that's the appropriate place.
A user-editable configuration file certainly could be argued to qualify as a "document".