Cache should be in ~/.cache/foo

Bug #880758 reported by Garth Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Instant
New
Low
Unassigned

Bug Description

According to

 http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Instant should probably write cache files in $HOME/.cache

Revision history for this message
Anders Logg (logg) wrote :

I suggest $HOME/.cache/fenics/instant/

Revision history for this message
Kent-Andre Mardal (kent-and) wrote : Re: [Bug 880758] [NEW] Cache should be in ~/.cache/foo

What is "XDG Base Directory Specification" used for?

Kent

On 24 October 2011 11:56, Garth Wells <email address hidden> wrote:

> Public bug reported:
>
> According to
>
> http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
>
> Instant should probably write cache files in $HOME/.cache
>
> ** Affects: instant
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Instant
> Core Team, which is the registrant for Instant.
> https://bugs.launchpad.net/bugs/880758
>
> Title:
> Cache should be in ~/.cache/foo
>
> Status in Instant:
> New
>
> Bug description:
> According to
>
> http://standards.freedesktop.org/basedir-spec/basedir-spec-
> latest.html
>
> Instant should probably write cache files in $HOME/.cache
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/instant/+bug/880758/+subscriptions
>

Revision history for this message
Johan Hake (johan-hake) wrote : Re: [Bug 880758] Re: Cache should be in ~/.cache/foo

On Monday October 24 2011 04:13:55 Anders Logg wrote:
> I suggest $HOME/.cache/fenics/instant/

Why not just:

  $HOME/.cache/fenics/

Johan

Revision history for this message
Martin Sandve Alnæs (martinal) wrote :

Better with instant/ so other projects can cache stuff.

Martin
Den 24. okt. 2011 20.20 skrev "Johan Hake" <email address hidden>
følgende:

> On Monday October 24 2011 04:13:55 Anders Logg wrote:
> > I suggest $HOME/.cache/fenics/instant/
>
> Why not just:
>
> $HOME/.cache/fenics/
>
> Johan
>
> --
> You received this bug notification because you are subscribed to FEniCS
> Project.
> https://bugs.launchpad.net/bugs/880758
>
> Title:
> Cache should be in ~/.cache/foo
>
> Status in Instant:
> New
>
> Bug description:
> According to
>
> http://standards.freedesktop.org/basedir-spec/basedir-spec-
> latest.html
>
> Instant should probably write cache files in $HOME/.cache
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/instant/+bug/880758/+subscriptions
>

Revision history for this message
Anders Logg (logg) wrote :

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?

--
Anders

On Mon, Oct 24, 2011 at 07:53:57PM -0000, Martin Sandve Alnæs wrote:
> Better with instant/ so other projects can cache stuff.
>
> Martin
> Den 24. okt. 2011 20.20 skrev "Johan Hake" <email address hidden>
> følgende:
>
> > On Monday October 24 2011 04:13:55 Anders Logg wrote:
> > > I suggest $HOME/.cache/fenics/instant/
> >
> > Why not just:
> >
> > $HOME/.cache/fenics/
> >
> > Johan
> >
> >
> > Title:
> > Cache should be in ~/.cache/foo
> >
> > Status in Instant:
> > New
> >
> > Bug description:
> > According to
> >
> > http://standards.freedesktop.org/basedir-spec/basedir-spec-
> > latest.html
> >
> > Instant should probably write cache files in $HOME/.cache
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/instant/+bug/880758/+subscriptions
> >
>

Revision history for this message
Anders Logg (logg) wrote : Re: [Bug 880758] [NEW] Cache should be in ~/.cache/foo

http://en.wikipedia.org/wiki/Freedesktop.org

Tror att Ubuntu och andra följer det.

--
Anders

On Mon, Oct 24, 2011 at 01:26:04PM -0000, Kent-Andre Mardal wrote:
> What is "XDG Base Directory Specification" used for?
>
> Kent
>
>
> On 24 October 2011 11:56, Garth Wells <email address hidden> wrote:
>
> > Public bug reported:
> >
> > According to
> >
> > http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
> >
> > Instant should probably write cache files in $HOME/.cache
> >
> > ** Affects: instant
> > Importance: Undecided
> > Status: New
> >
> >
> > Title:
> > Cache should be in ~/.cache/foo
> >
> > Status in Instant:
> > New
> >
> > Bug description:
> > According to
> >
> > http://standards.freedesktop.org/basedir-spec/basedir-spec-
> > latest.html
> >
> > Instant should probably write cache files in $HOME/.cache
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/instant/+bug/880758/+subscriptions
> >
>

Revision history for this message
Kent-Andre Mardal (kent-and) wrote : Re: [Bug 880758] Re: Cache should be in ~/.cache/foo

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 <email address hidden>wrote:

> Better with instant/ so other projects can cache stuff.
>
> Martin
> Den 24. okt. 2011 20.20 skrev "Johan Hake" <email address hidden>
> følgende:
>
> > On Monday October 24 2011 04:13:55 Anders Logg wrote:
> > > I suggest $HOME/.cache/fenics/instant/
> >
> > Why not just:
> >
> > $HOME/.cache/fenics/
> >
> > Johan
> >
> > --
> > You received this bug notification because you are subscribed to FEniCS
> > Project.
> > https://bugs.launchpad.net/bugs/880758
> >
> > Title:
> > Cache should be in ~/.cache/foo
> >
> > Status in Instant:
> > New
> >
> > Bug description:
> > According to
> >
> > http://standards.freedesktop.org/basedir-spec/basedir-spec-
> > latest.html
> >
> > Instant should probably write cache files in $HOME/.cache
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/instant/+bug/880758/+subscriptions
> >
>
> --
> You received this bug notification because you are a member of Instant
> Core Team, which is the registrant for Instant.
> https://bugs.launchpad.net/bugs/880758
>
> Title:
> Cache should be in ~/.cache/foo
>
> Status in Instant:
> New
>
> Bug description:
> According to
>
> http://standards.freedesktop.org/basedir-spec/basedir-spec-
> latest.html
>
> Instant should probably write cache files in $HOME/.cache
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/instant/+bug/880758/+subscriptions
>

Revision history for this message
Garth Wells (garth-wells) wrote :

On 25 Oct 2011, at 08:33, Kent-Andre Mardal <email address hidden> 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

> Kent
>
> On 24 October 2011 21:53, Martin Sandve Alnæs
> <email address hidden>wrote:
>
>> Better with instant/ so other projects can cache stuff.
>>
>> Martin
>> Den 24. okt. 2011 20.20 skrev "Johan Hake" <email address hidden>
>> følgende:
>>
>>> On Monday October 24 2011 04:13:55 Anders Logg wrote:
>>>> I suggest $HOME/.cache/fenics/instant/
>>>
>>> Why not just:
>>>
>>> $HOME/.cache/fenics/
>>>
>>> Johan
>>>
>>> --
>>> You received this bug notification because you are subscribed to FEniCS
>>> Project.
>>> https://bugs.launchpad.net/bugs/880758
>>>
>>> Title:
>>> Cache should be in ~/.cache/foo
>>>
>>> Status in Instant:
>>> New
>>>
>>> Bug description:
>>> According to
>>>
>>> http://standards.freedesktop.org/basedir-spec/basedir-spec-
>>> latest.html
>>>
>>> Instant should probably write cache files in $HOME/.cache
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/instant/+bug/880758/+subscriptions
>>>
>>
>> --
>> You received this bug notification because you are a member of Instant
>> Core Team, which is the registrant for Instant.
>> https://bugs.launchpad.net/bugs/880758
>>
>> Title:
>> Cache should be in ~/.cache/foo
>>
>> Status in Instant:
>> New
>>
>> Bug description:
>> According to
>>
>> http://standards.freedesktop.org/basedir-spec/basedir-spec-
>> latest.html
>>
>> Instant should probably write cache files in $HOME/.cache
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/instant/+bug/880758/+subscriptions
>>
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/880758
>
> Title:
> Cache should be in ~/.cache/foo
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/instant/+bug/880758/+subscriptions

Revision history for this message
Johan Hake (johan-hake) wrote : Re: [Bug 880758] [NEW] Cache should be in ~/.cache/foo

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

> --
> Anders
>
> On Mon, Oct 24, 2011 at 01:26:04PM -0000, Kent-Andre Mardal wrote:
> > What is "XDG Base Directory Specification" used for?
> >
> > Kent
> >
> > On 24 October 2011 11:56, Garth Wells <email address hidden> wrote:
> > > Public bug reported:
> > >
> > > According to
> > >
> > > http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
> > >
> > > Instant should probably write cache files in $HOME/.cache
> > >
> > > ** Affects: instant
> > >
> > > Importance: Undecided
> > >
> > > Status: New
> > >
> > > Title:
> > > Cache should be in ~/.cache/foo
> > >
> > > Status in Instant:
> > > New
> > >
> > > Bug description:
> > > According to
> > >
> > > http://standards.freedesktop.org/basedir-spec/basedir-spec-
> > >
> > > latest.html
> > >
> > > Instant should probably write cache files in $HOME/.cache
> > >
> > > To manage notifications about this bug go to:
> > > https://bugs.launchpad.net/instant/+bug/880758/+subscriptions

Johannes Ring (johannr)
Changed in instant:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.