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 flatpak builder cache exclude preset #2020

Merged
merged 1 commit into from
Jun 21, 2024
Merged

add flatpak builder cache exclude preset #2020

merged 1 commit into from
Jun 21, 2024

Conversation

renner0e
Copy link
Contributor

This adds a preset to exclude the .flatpak-builder directory on linux.

Description

when you build flatpaks with flatpak-builder there is gonna be directory that contains libraries, cached files, compiled binaries etc. on a per project basis. This is obviously data that is relatively useless to backup.
This is gonna exclude every directory called .flatpak-builder anywhere on the filesystem.

Motivation and Context

it can get really big in size
for vorta it is like 400MiB
for some rust gui apps for example a couple of gigs

How Has This Been Tested?

I forked the repo made the necessary changes and built the flatpak from master branch and ran a backup of a git folder that I knew has a .flatpak-builder directory and it is not there in the archive.

Screenshots (if appropriate):

Screenshot_20240615_201331

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the CONTRIBUTING guide.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.

@shivansh02
Copy link
Collaborator

Thanks for the PR! Looks good to me.

@m3nu m3nu merged commit 9d80172 into borgbase:master Jun 21, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants