This sound as a better solution, although I would suggest a .osmocom directory and everything else as cache/whatever inside that directory, otherwise it would be pretty dirty and messy as the project grows.
what about this? : $HOME/.osmocom/mobile.cfg and for the stored band allocations: $HOME/.osmocom/xxxx.ba
On 03/02/2011 10:37 AM, Andreas.Eversberg wrote:
$HOME/.osmocom/xxxx.ba
To be XDG compliant it would need to be ~/.config and ~/.cache (but these can be redefined via environment variables). I just saw tnt's mail so let me point to the spec[1]. holger [1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Holger, On Wed, Mar 02, 2011 at 11:33:22AM +0100, Holger Hans Peter Freyther wrote:
To be XDG compliant it would need to be ~/.config and ~/.cache (but these can be redefined via environment variables). I just saw tnt's mail so let me point to the spec[1].
to be honest, I don't think a free"desktop"org spec really matters much to us. I would much rather have ~/.osmocom/{bb,...} for the various projects and sub-projects we have. -- - Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Hi Andreas, On Wed, Mar 02, 2011 at 10:37:45AM +0100, Andreas.Eversberg wrote:
what about this? :
$HOME/.osmocom/mobile.cfg $HOME/.osmocom/xxxx.ba
It's now $HOME/.osmocom/bb/{mobile.cfg,xxxx.ba} in the master branch. Regards, Harald p.s.: Eventually, I would like to see this become part of libosmocore, i.e. having a global data structure or a function how to obtain the application specific .osmocom - subdirectory for a given program. -- - Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
participants (3)
-
Andreas.Eversberg -
Harald Welte -
Holger Hans Peter Freyther