Bug#661388: Please tag devscripts cache using CACHEDIR.TAG

Josh Triplett josh at joshtriplett.org
Mon May 25 17:48:51 UTC 2015


On Mon, May 25, 2015 at 12:17:31AM -0400, James McCoy wrote:
> On Sun, Feb 26, 2012 at 01:02:30PM -0800, Josh Triplett wrote:
> > Various backup utilities can automatically exclude cache directories if tagged
> > via the "Cache Directory Tagging" standard
> > (http://www.brynosaurus.com/cachedir/).  Doing so requires creating a file
> > CACHEDIR.TAG in the cache directory, containing the contents "Signature:
> > 8a477f597d28d172789f06886806bc55".  Please consider implementing this standard
> > by creating this file, so that backup software can automatically exclude the
> > devscripts cache.
> > 
> > (I'd also love to see a fix for 659330, to consolidate cache directories in
> > XDG_CACHE_DIR.)
> 
> I've just implemented the use of $XDG_CACHE_HOME.  Do you still consider
> the use of CACHEDIR.TAG relevant?

No, if you're placing the cache in $XDG_CACHE_HOME (or ~/.cache if not
set), then adding CACHEDIR.TAG no longer matters.  And thanks!

Something ought to create $XDG_CACHE_HOME/CACHEDIR.TAG, but every piece
of software creating a cache there shouldn't need to worry about that.
Perhaps xdg-user-dirs should create that.

- Josh Triplett



More information about the devscripts-devel mailing list