- changed milestone to 1.5
Cache should be in ~/.cache/foo
According to
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Instant should probably write cache files in $HOME/.cache
Add tags Tag help
Anders Logg (logg) wrote on 2011-10-24: #1
I suggest $HOME/.cache/fenics/instant/
Hide comment
Kent-Andre Mardal (kent-and) wrote on 2011-10-24: Re: [Bug 880758] [NEW] Cache should be in ~/.cache/foo #2
What is "XDG Base Directory Specification" used for?
Kent
On 24 October 2011 11:56, Garth Wells 880758@bugs.launchpad.net wrote:
[...]
Hide comment
Johan Hake (johan-hake) wrote on 2011-10-24: Re: [Bug 880758] Re: Cache should be in ~/.cache/foo #3
On Monday October 24 2011 04:13:55 Anders Logg wrote:
I suggest $HOME/.cache/fenics/instant/
Why not just:
$HOME/.cache/fenics/
Johan
Hide comment
Martin Sandve Alnæs (martinal) wrote on 2011-10-24: #4
Better with instant/ so other projects can cache stuff.
Martin Den 24. okt. 2011 20.20 skrev "Johan Hake" 880758@bugs.launchpad.net følgende:
[...]
Hide comment
Anders Logg (logg) wrote on 2011-10-25: #5
Yes.
On a related note, I've put dolfin_parameters.xml in
~/.config/fenics/
not in
~/.config/fenics/dolfin
Should it be moved? In the config case, I seems the directory is not necessary since we can expect at most one file per FEniCS application (but there may be more).
Opinions?
[...] On Mon, Oct 24, 2011 at 07:53:57PM -0000, Martin Sandve Alnæs wrote: [...] Hide comment Anders Logg (logg) wrote on 2011-10-25: Re: [Bug 880758] [NEW] Cache should be in ~/.cache/foo #6 http://en.wikipedia.org/wiki/Freedesktop.org
Tror att Ubuntu och andra följer det.
[...]
On Mon, Oct 24, 2011 at 01:26:04PM -0000, Kent-Andre Mardal wrote:
[...]
Hide comment
Kent-Andre Mardal (kent-and) wrote on 2011-10-25: Re: [Bug 880758] Re: Cache should be in ~/.cache/foo #7
OK, but I would like to postpone this til after 1.0 and the book are
released, in particular
since we have written about the cache location in the instant chapter.
Kent
On 24 October 2011 21:53, Martin Sandve Alnæs 880758@bugs.launchpad.netwrote:
[...] Hide comment Garth Wells (garth-wells) wrote on 2011-10-25: #8 On 25 Oct 2011, at 08:33, Kent-Andre Mardal kent-and@simula.no wrote:
OK, but I would like to postpone this til after 1.0 and the book are released, in particular since we have written about the cache location in the instant chapter.
Surely it's a one word change?
Garth
[...]
Hide comment
Johan Hake (johan-hake) wrote on 2011-10-25: Re: [Bug 880758] [NEW] Cache should be in ~/.cache/foo #9
On Monday October 24 2011 23:34:51 Anders Logg wrote:
http://en.wikipedia.org/wiki/Freedesktop.org
Tror att Ubuntu och andra följer det.
In a way yes, but more importantly all the major Linux desktop environments which are based on X follows freedesktop.org.
Johan
Comments (9)
-
reporter -
It would also be cool to have an environment variable like INSTANT_CACHE_DIR to alter the directory. For example I'd like to use /dev/shm/instant as cache directory or if using multiple versions.
-
@felix_ospald there is...
-
Thanks for the info. See here for a list of environment variables: https://bitbucket.org/fenics-project/instant
-
- changed milestone to 1.6
-
- changed milestone to 1.7
-
- removed milestone
Removing milestone: 1.7 (automated comment)
-
reporter -
assigned issue to
-
assigned issue to
-
- changed status to resolved
- Log in to comment