GNOME Bugzilla – Bug 557288
Use ~/Library/Application Data/Tomboy and ~/Library/Logs
Last modified: 2009-10-04 00:48:03 UTC
Purely cosmetic (if hidden application data and log files can be considered cosmetic), but I've come to appreciate OS X applications' way of keeping data in ~/Library/Application Data/[App Name]/ and logs in ~/Library/Logs/ (if you want, throw in ~/Library/Preferences/ for application preferences as well =) ). This avoids the mess of .hidden directories and files thrown in the home directory and keeps things nice and tidy. Plus, allows normal users to backup their data without having to know that Tomboy's settings are in ~/.config/tomboy/. I noticed that "~/.tomboy.log" seems to be hard coded in the translation so that would be a pain I guess. Really really minor and not at all important enhancement.
Yeah, I thought about this, and you may ultimately be right...I'd rather just go with the fd.o standard, but maybe the problem there is on Mono's end to point to the right places with its SpecialFolders? This is related to bug #518585, which talks about splitting up note data, add-in data, etc, and following fd.o on Linux (at least). Of course, now that I've done a preview release, any patch would probably have to include migration code for moving stuff from ~/.config. ;-)
Yeah I agree it's probably a Mono issue not pointing to the right folders for the Mac release. Right now there won't be any complaints, but if Tomboy becomes more mainstream with normal Mac users, not being able to backup hidden .folders may result in loss of data if they believe all their application data is in ~/Library. Anyway, I just wanted to put this bug in as just a reminder for when there are enough complaints. ;)
Let's definitely do this along with bug #518585.
In a recent mail to tomboy-list, I proposed: Notes: ~/Library/Application Support/Tomboy Configuration and addin*: ~/Library/Preferences/Tomboy Cache: ~/Library/Caches/Tomboy Log: ~/Library/Logs/Tomboy.log I intend to implement this change for Monday's release, so if anybody has feedback, I would appreciate having it before tomorrow. Thanks!
See latest patch on bug #518585. Will be committing soon, but any review is still welcome. I changed the log location to ~/Library/Logs/Tomboy/tomboy.log
Fixed.