[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Standardizing ~/.cache/ and similar things.



Ron Johnson wrote:
On Mon, 2005-09-19 at 07:55 +0200, Sylvain LE GALL wrote:
  
Hello,

On Sun, Sep 18, 2005 at 07:43:43PM -0400, Faré wrote:
    
Dear Debian developers,

here is a proposal I submit for inclusion in the debian policy:

PROPOSAL 1: ~/.cache/${package_name}/
PROPOSAL 2: ~/.etc/${package_name}/
PROPOSAL 3: ~/.run/ ~/.lib/ ~/.share, etc.


      
I like your idea. But i think that i think it should be better
to follow base-dir specification from freedesktop.org. It gives exactly
the same kind of dirname, but in a more standardized way.

Take a look at:
http://www.freedesktop.org/wiki/Standards_2fbasedir_2dspec
    
Xhtml Design Guide?
  
I think the point was that you can set a XDG environmental variable to spec ify a cache directory.
Interesting, but it doesn't solve the problem of telling a backup program that a directory is a cache directory. e.g. telling a backup program that is
backing up /home that _multiple_ directories are cache directories;
setting /home/*/.cache or /home/*/var/cache as directories to be excluded
in a backup works.


Regards
Alastair



Reply to: