Adding Flatpak app caches to "All Cache Files" exclusion preset.#2232
Adding Flatpak app caches to "All Cache Files" exclusion preset.#2232m3nu merged 2 commits intoborgbase:masterfrom
Conversation
|
Looks great! Just a quick thought, for these newly added exclusions, could this be made more generalized? Please do test it out before deciding, this is just a suggestion from my side. |
So this is how I have on my exclusion list: The reason I didn't go with wildcard versions of the subdirectories is because I am not that familiar with the standard Flatpak directory structure (and couldn't find anything similar to a LSB for it). Now I don't mind risking not backing up some Flatpak app data on my system because it's not production critical. But I thought I'd play it safe with other people's systems and stick to the directories I have personally tested to be fine to be absent. I'd be surprised if there's an app out there that has an internal directory with "Cache" in its name that can't/shouldn't be deleted, but weirder things have happened. So, what do you think? Go for it, or be more conservative and keep non-wildcarded dirs? |
Yeah, I think that's fine. We can always add or adjust them later if needed. |
Description
On temp.json, added a few more patterns to the "All Cache File" exclusion preset. Excluded directories:
Related Issue
#2230
Motivation and Context
Going to Sources > Manage Excluded Items... > Presets and selecting "All Cache Files", Flatpak application caches are still included in backup. This fixes that.
How Has This Been Tested?
I've tested this by adding the proposed changes to the "Raw" exclusion patterns tab. I've also tested manually removing the dirs from a few few Flatpak apps and they regenerated these without issue on their next run.
Screenshots (if appropriate):
None.
Types of changes
Checklist:
I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.