Include Flatpak app caches on "All Cache Files" exclusion preset.
The problem
Going to Sources > Manage Excluded Items... > Presets and selecting "All Cache Files", Flatpak application caches are still included in backup.
Requested Solution
I have a proposal on this commit to my fork of the project. I've tested this by adding the proposed changes to the "Raw" exclusion patterns tab. I'll send a PR if you're happy with that.
Excluded directories:
- *Cache dirs (though listed without a wildcard to avoid greedy matching);
- .ld.so library linking cache;
- tmp dir.
I've tested removing them from a few few Flatpak apps and they regenerated these without issue.
Alternatives
One can manuall enter the filters on the Raw exclusion patterns.
Additional context
None.
@CScallops, a PR sounds great. Also, just a heads up, I noticed that in the commit, you missed , for the entries.
If you’re looking for inspiration to write the PR, feel free to check out some of the existing ones. Thanks
Thanks for the heads up! Fixed it and submitted the PR.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Fixed via #2232