vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Include Flatpak app caches on "All Cache Files" exclusion preset.

Open CScallops opened this issue 8 months ago • 2 comments

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 avatar Apr 18 '25 14:04 CScallops

@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

VandalByte avatar Apr 21 '25 10:04 VandalByte

Thanks for the heads up! Fixed it and submitted the PR.

CScallops avatar Apr 22 '25 20:04 CScallops

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.

github-actions[bot] avatar Jul 22 '25 02:07 github-actions[bot]

Fixed via #2232

m3nu avatar Jul 22 '25 07:07 m3nu