flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

Consider marking the cache folder as a cache folder

Open mikix opened this issue 5 years ago • 3 comments
trafficstars

Description of the problem

It might make users' lives easier to mark flatpak-builder’s .flatpak-builder cache directories (which understandably live outside the xdg cache locations) as cache folders via the cachedir spec: https://bford.info/cachedir/

Which basically means putting a CACHEDIR.TAG file at its root.

Once done, programs like tar, restic, borg, and deja-dup will either automatically or with-a-flag ignore your build/cache dirs.

mikix avatar Aug 17 '20 06:08 mikix

So essentially write file with contents Signature: 8a477f597d28d172789f06886806bc55 inside .flatpak_builder directory upon creation? Doesn't seem overly complex.

nanonyme avatar Oct 26 '20 21:10 nanonyme

Yes exactly.

Good call, I had forgotten to mention the Signature bit

mikix avatar Oct 26 '20 21:10 mikix