|
List Info
Thread: location of conf files redux
|
|
| location of conf files redux |

|
2007-12-11 07:07:09 |
|
I've brought this up before on Windows. This morning a user brought it up regarding Macs:
[07:37:06] <nicoduck> i have a question: why does not psi store the app data (under mac os x) in the normal ~/Library/Application_Support folder?
[07:59:27] <halr9000> is that the "correct" place to do so?
[07:59:49] <halr9000> the short answer is that I believe the devs wanted a consistent location across the 3 platforms we support
[08:00:09] <halr9000> but it's always bugged me that on Windows psidata is not stored in ~/Application Data
[08:01:00] <halr9000> I'm not a Mac user, nor a dev (I'm the webmaster), so I can't say with authority what is or what should be done
[08:01:16] <halr9000> but if other apps store data in ~/Library/Application_Support on a mac--I agree with you
[08:03:46] <nicoduck> jep
[08:03:48] <nicoduck> they do so
[08:04:10] <nicoduck> it is the compliant to the ~/Application Data on windows
[08:04:33] <nicoduck> and i'm not very happy about it, because i realized it AFTER i reinstalled my mac
[08:04:53] <nicoduck> and lost all logs, since thy are stored in a different directory
-- Blog: http://halr9000.com Webmaster, Psi (
http://psi-im.org) Co-host, PowerScripting Podcast (http://powerscripting.net)
|
| Re: location of conf files redux |

|
2007-12-11 08:51:27 |
|
+1 for storing files in a platform specific way,
~/.psi (on linux) ~/Library/Application_Support/Psi (on mac) %APPDATA%Psi (on windows)
-- - Norman Rasmussen - Email: norman rasmussen.co.za">norman rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
|
| Re: location of conf files redux |

|
2007-12-11 09:29:47 |
There's already a flyspray task for this, and a reason why
we don't
have this yet: we need to migrate the old configuration to
the new
dir, which is the hard part. There are 2 ways to do this:
- On OS X: move the old dir to the new dir (if the new dir
doesn't
exist), and link the old dir to the new dir.
- On Windows: do a recursive copy of the old dir if the new
dir
doesn't exist yet, and leave behind a
"DO_NOT_EDIT_THIS_DIR_AS_IT_HAS_BEEN_MIGRATED_ELSEWHERE
" file (it
sounds evil to delete the dir, and we need to make sure that
the user
doesn't accidentally edit his own dir)
I'm fine with using the latter solution on mac os x as well,
although
it is slightly less clean.
Now all we need is someone to implement this properly.
cheers,
Remko
PS: It's "Application Support". Mac OS X can
handle spaces in
filenames just fine
_______________________________________________
Psi-Devel mailing list
Psi-Devel lists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
|
|
| Re: location of conf files redux |

|
2007-12-11 11:27:38 |
|
And we can still use PSIDATA env var for stuff because that would point to whatever the current case is for that platform and that user.
On Dec 11, 2007 9:51 AM, Norman Rasmussen < norman  rasmussen. co.za">
norman rasmussen.co.za> wrote:
+1 for storing files in a platform specific way,
~/.psi (on linux) ~/Library/Application_Support/Psi (on mac) %APPDATA%Psi (on windows)
On Dec 11, 2007 3:07 PM, Hal Rottenberg <
hal halr9000.com" target="_blank">hal halr9000.com> wrote:
I've brought this up before on Windows.&n bsp; This morning a user brought it up regarding Macs:
[07:37:06] <nicoduck> i have a question: why does not psi store the app data (under mac os x) in the normal ~/Library/Application_Support folder?
[07:59:27] <halr9000> is that the "correct" place to do so?
[07:59:49] <halr9000> the short answer is that I believe the devs wanted a consistent location across the 3 platforms we support
[08:00:09] <halr9000> but it's always bugged me that on Windows psidata is not stored in ~/Application Data
[08:01:00] <halr9000> I'm not a Mac user, nor a dev (I'm the webmaster), so I can't say with authority what is or what should be done
[08:01:16] <halr9000> but if other apps store data in ~/Library/Application_Support on a mac--I agree with you
[08:03:46] <nicoduck> jep
[08:03:48] <nicoduck> they do so
[08:04:10] <nicoduck> it is the compliant to the ~/Application Data on windows
[08:04:33] <nicoduck> and i9;m not very happy about it, because i realized it AFTER i reinstalled my mac
[08:04:53] <nicoduck> and lost all logs, since thy are stored in a different directory
-- Blog: http://halr9000.com
Webmaster, Psi (
http://psi-im.org) Co-host, PowerScripting Podcast (http://powerscripting.net)
_______________________________________________ Psi-Devel mailing list Psi-Devel lists.affinix.com" target="_blank">Psi-Devel lists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affinix.com
-- - Norman Rasmussen - Email: norman rasmussen.co.za" target="_blank">norman rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
_______________________________________________ Psi-Devel mailing list Psi-Devel lists.affinix.com">Psi-Devel lists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affinix.com
-- Blog: http://halr9000.com Webmaster, Psi (
http://psi-im.org) Co-host, PowerScripting Podcast (http://powerscripting.net)
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|