Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a bunch of cache folders to exclude presets mainly for flatpak browsers #2027

Merged
merged 14 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 103 additions & 35 deletions src/vorta/assets/exclusion_presets/browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,70 +2,138 @@
{
"name": "Chromium cache and config files",
"slug": "chromium-cache",
"patterns":
[
"fm:*/.config/chromium/*/Local Storage",
"fm:*/.config/chromium/*/Session Storage",
"fm:*/.config/chromium/*/Service Worker/CacheStorage",
"patterns": [
"fm:*/.config/chromium/*/Application Cache",
"fm:*/.config/chromium/*/History Index *",
"fm:*/snap/chromium/common/.cache",
"fm:*/.config/chromium/*/Local Storage",
"fm:*/.config/chromium/*/Service Worker/CacheStorage",
"fm:*/.config/chromium/*/Session Storage",
"fm:*/.config/chromium/GrShaderCache",
"fm:*/.config/chromium/GraphiteDawnCache",
"fm:*/.config/chromium/ShaderCache",
"fm:*/.var/app/org.chromium.Chromium/cache",
"fm:*/.var/app/org.chromium.Chromium/config/chromium/*/Application Cache",
"fm:*/.var/app/org.chromium.Chromium/config/chromium/*/History Index *",
"fm:*/.var/app/org.chromium.Chromium/config/chromium/*/Local Storage",
"fm:*/.var/app/org.chromium.Chromium/config/chromium/*/Service Worker/CacheStorage",
"fm:*/.var/app/org.chromium.Chromium/config/chromium/*/Session Storage",
"fm:*/.var/app/org.chromium.Chromium/config/chromium/GrShaderCache",
"fm:*/.var/app/org.chromium.Chromium/config/chromium/GraphiteDawnCache",
"fm:*/.var/app/org.chromium.Chromium/config/chromium/ShaderCache",
"fm:*/snap/chromium/*/.config/chromium/*/Service Worker/CacheStorage",
"fm:*/snap/chromium/*/.local/share/"
"fm:*/snap/chromium/*/.local/share",
"fm:*/snap/chromium/common/.cache"
],
"tags":["application:chromium", "type:browser", "os:linux"],
"author": "Divi"
"author": "Divi, Renner0E"
},
{
"name": "Google Chrome cache and config files",
"slug": "google-chrome-cache",
"patterns":
[
"fm:*/.config/google-chrome/ShaderCache",
"fm:*/.config/google-chrome/*/Local Storage",
"fm:*/.config/google-chrome/*/Session Storage",
"patterns": [
"fm:*/.cache/google-chrome",
"fm:*/.cache/google-chrome-unstable",
"fm:*/.config/google-chrome-unstable/*/Application Cache",
"fm:*/.config/google-chrome-unstable/*/History Index *",
"fm:*/.config/google-chrome-unstable/*/Local Storage",
"fm:*/.config/google-chrome-unstable/*/Service Worker/CacheStorage",
"fm:*/.config/google-chrome-unstable/*/Session Storage",
"fm:*/.config/google-chrome-unstable/GrShaderCache",
"fm:*/.config/google-chrome-unstable/GraphiteDawnCache",
"fm:*/.config/google-chrome-unstable/ShaderCache",
"fm:*/.config/google-chrome/*/Application Cache",
"fm:*/.config/google-chrome/*/History Index *",
"fm:*/.config/google-chrome/*/Service Worker/CacheStorage"
"fm:*/.config/google-chrome/*/Local Storage",
"fm:*/.config/google-chrome/*/Service Worker/CacheStorage",
"fm:*/.config/google-chrome/*/Session Storage",
"fm:*/.config/google-chrome/GrShaderCache",
"fm:*/.config/google-chrome/GraphiteDawnCache",
"fm:*/.config/google-chrome/ShaderCache",
"fm:*/.var/app/com.google.Chrome/cache",
"fm:*/.var/app/com.google.Chrome/config/google-chrome/*/Feature Engagement Tracker",
"fm:*/.var/app/com.google.Chrome/config/google-chrome/*/Local Storage",
"fm:*/.var/app/com.google.Chrome/config/google-chrome/*/Service Worker/CacheStorage",
"fm:*/.var/app/com.google.Chrome/config/google-chrome/*/Session Storage",
"fm:*/.var/app/com.google.Chrome/config/google-chrome/GrShaderCache",
"fm:*/.var/app/com.google.Chrome/config/google-chrome/GraphiteDawnCache",
"fm:*/.var/app/com.google.Chrome/config/google-chrome/Safe Browsing",
"fm:*/.var/app/com.google.Chrome/config/google-chrome/ShaderCache",
"fm:*/.var/app/com.google.ChromeDev/cache",
"fm:*/.var/app/com.google.ChromeDev/config/google-chrome-unstable/*/Feature Engagement Tracker",
"fm:*/.var/app/com.google.ChromeDev/config/google-chrome-unstable/*/Local Storage",
"fm:*/.var/app/com.google.ChromeDev/config/google-chrome-unstable/*/Service Worker/CacheStorage",
"fm:*/.var/app/com.google.ChromeDev/config/google-chrome-unstable/*/Session Storage",
"fm:*/.var/app/com.google.ChromeDev/config/google-chrome-unstable/GrShaderCache",
"fm:*/.var/app/com.google.ChromeDev/config/google-chrome-unstable/GraphiteDawnCache",
"fm:*/.var/app/com.google.ChromeDev/config/google-chrome-unstable/Safe Browsing",
"fm:*/.var/app/com.google.ChromeDev/config/google-chrome-unstable/ShaderCache"
],
"tags": ["application:chrome", "type:browser", "os:linux"],
"author": "Divi"
"author": "Divi, Renner0E"
},
{
"name": "Brave cache and config files",
"slug": "brave-cache",
"patterns":[
"fm:*/.config/BraveSoftware/Brave-Browser/*/Feature Engagement Tracker/",
"fm:*/.config/BraveSoftware/Brave-Browser/*/Local Storage/",
"fm:*/.config/BraveSoftware/Brave-Browser/*/Service Worker/CacheStorage/",
"fm:*/.config/BraveSoftware/Brave-Browser/*/Session Storage/",
"fm:*/.config/BraveSoftware/Brave-Browser/Safe Browsing/",
"fm:*/.config/BraveSoftware/Brave-Browser/ShaderCache/"
"patterns": [
"fm:*/.cache/BraveSoftware/",
"fm:*/.config/BraveSoftware/Brave-Browser/*/Feature Engagement Tracker",
"fm:*/.config/BraveSoftware/Brave-Browser/*/Local Storage",
"fm:*/.config/BraveSoftware/Brave-Browser/*/Service Worker/CacheStorage",
"fm:*/.config/BraveSoftware/Brave-Browser/*/Session Storage",
"fm:*/.config/BraveSoftware/Brave-Browser/GrShaderCache",
"fm:*/.config/BraveSoftware/Brave-Browser/GraphiteDawnCache",
"fm:*/.config/BraveSoftware/Brave-Browser/Safe Browsing",
"fm:*/.config/BraveSoftware/Brave-Browser/ShaderCache",
"fm:*/.var/app/com.brave.Browser/cache",
"fm:*/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/*/Feature Engagement Tracker",
"fm:*/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/*/Local Storage",
"fm:*/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/*/Service Worker/CacheStorage",
"fm:*/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/*/Session Storage",
"fm:*/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/GrShaderCache",
"fm:*/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/GraphiteDawnCache",
"fm:*/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/Safe Browsing",
"fm:*/.var/app/com.brave.Browser/config/BraveSoftware/Brave-Browser/ShaderCache"
],
"tags": ["application:brave", "type:browser", "os:linux"],
"author": "Divi"
"author": "Divi, Renner0E"
},
{
"name": "Mozilla Firefox cache and config files",
"slug": "firefox-cache",
"patterns":[
"fm:*/.mozilla/firefox/*/Cache",
"fm:*/.mozilla/firefox/*/minidumps",
"patterns": [
"fm:*/.cache/mozilla/firefox",
"fm:*/.mozilla/firefox/*/.parentlock",
"fm:*/.mozilla/firefox/*/urlclassifier3.sqlite",
"fm:*/.mozilla/firefox/*/Cache",
"fm:*/.mozilla/firefox/*/XPC.mfasl",
"fm:*/.mozilla/firefox/*/XUL.mfasl",
"fm:*/.mozilla/firefox/*/blocklist.xml",
"fm:*/.mozilla/firefox/*/compreg.dat",
"fm:*/.mozilla/firefox/*/extensions.cache",
"fm:*/.mozilla/firefox/*/extensions.ini",
"fm:*/.mozilla/firefox/*/extensions.rdf",
"fm:*/.mozilla/firefox/*/extensions.sqlite",
"fm:*/.mozilla/firefox/*/extensions.sqlite-journal",
"fm:*/.mozilla/firefox/*/extensions.rdf",
"fm:*/.mozilla/firefox/*/extensions.ini",
"fm:*/.mozilla/firefox/*/extensions.cache",
"fm:*/.mozilla/firefox/*/XUL.mfasl",
"fm:*/.mozilla/firefox/*/XPC.mfasl",
"fm:*/.mozilla/firefox/*/minidumps",
"fm:*/.mozilla/firefox/*/pluginreg.dat",
"fm:*/.mozilla/firefox/*/urlclassifier3.sqlite",
"fm:*/.mozilla/firefox/*/xpti.dat",
"fm:*/.mozilla/firefox/*/compreg.dat",
"fm:*/.mozilla/firefox/*/pluginreg.dat"
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/.parentlock",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/XPC.mfasl",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/XUL.mfasl",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/blocklist.xml",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/compreg.dat",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/extensions.cache",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/extensions.ini",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/extensions.rdf",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/extensions.sqlite",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/extensions.sqlite-journal",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/minidumps",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/pluginreg.dat",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/urlclassifier3.sqlite",
"fm:*/.var/app/org.mozilla.firefox/.mozilla/firefox/*/xpti.dat",
"fm:*/.var/app/org.mozilla.firefox/cache"
],
"tags": ["application:firefox", "type:browser", "os:linux"],
"author": "Divi"
"author": "Divi, Renner0E"
}
]
24 changes: 16 additions & 8 deletions src/vorta/assets/exclusion_presets/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
{
"name": "Node Modules and package manager cache",
"slug": "node-cache",
"patterns":
[
"patterns": [
"fm:*/node_modules",
"fm:*/.npm",
"fm:*/npm-global"
Expand All @@ -14,8 +13,7 @@
{
"name": "Python cache and virtualenv",
"slug": "python-cache",
"patterns":
[
"patterns": [
"fm:*/__pycache__",
"fm:*.pyc",
"fm:*.pyo",
Expand All @@ -27,8 +25,7 @@
{
"name": "Rust artefacts",
"slug": "rust-artefacts",
"patterns":
[
"patterns": [
"fm:*/.cargo",
"fm:*/.rustup"
],
Expand Down Expand Up @@ -82,10 +79,21 @@
"slug": "spotify",
"patterns": [
"fm:*/.cache/spotify",
"fm:*/.config/spotify"
"fm:*/.config/spotify",
"fm:*/.var/app/com.spotify.Client/cache",
"fm:*/.var/app/com.spotify.Client/config/spotify"
],
"tags": ["type:media", "media:spotify", "os:linux"],
"author": "SAMAD101"
"author": "SAMAD101, Renner0E"
},
{
"name": "Flatpak Builder cache",
"slug": "flatpak-builder",
"patterns": [
"fm:*.flatpak-builder"
],
"tags": ["type:dev", "os:linux"],
"author": "Renner0E"
},
{
"name": "Flatpak Builder cache",
Expand Down
Loading