Skip to content

Exclude GUI II (without exclude-if-present) - #1846

Merged
m3nu merged 36 commits into
borgbase:masterfrom
m3nu:exclude-gui-2
Nov 24, 2023
Merged

m3nu merged 36 commits into
borgbase:masterfrom
m3nu:exclude-gui-2

Conversation

@m3nu

@m3nu m3nu commented Nov 16, 2023

Copy link
Copy Markdown
Contributor

Continues #1742 with original scope only.

All based on @diivi work, who couldn't finish this GSoC subproject.

@m3nu

m3nu commented Nov 16, 2023

Copy link
Copy Markdown
Contributor Author

Removed the "Exclude if present" and only left the new Exclusion dialog.

Screenshot 2023-11-16 at 14 06 12

@diivi

diivi commented Nov 16, 2023

Copy link
Copy Markdown
Contributor

Hey, thanks! I'm out for Diwali holidays so I couldn't get back to you. Happy to see this move forward though. I'll try to help with the exclude if present dialog in the future.

@m3nu

m3nu commented Nov 16, 2023

Copy link
Copy Markdown
Contributor Author

Just a few final edits here. If anyone has time for testing, that would be great and speed up the next beta release.

  • Only load exclusion presets for current OS (using the tags already there)
  • Keep expanding home folder for exclusions.
  • Build exclusions when running a backup instead of caching them when editing settings only.
  • Remove unnecessary DB migrations
  • Wasn't possible to add the same exclusion to multiple profiles.

@m3nu
m3nu marked this pull request as ready for review November 19, 2023 12:44
@m3nu

m3nu commented Nov 21, 2023

Copy link
Copy Markdown
Contributor Author

Upon thinking about it, it may be better to have an internal ID/slug for each exclusion preset and not the name. Since we may want to change or translate the name later.

If there are no more change suggestions, I'll merge this and do another beta, Since it seems hard to get any testing of a PR right now.

@real-yfprojects

Copy link
Copy Markdown
Collaborator

I'll have a look tomorrow

@real-yfprojects real-yfprojects left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue with dropping the exclude-if-present widget is that its contents still apply although the user is neither aware of it nor can he edit those entries.

The rest looks good and seems to be working.

Comment thread src/vorta/assets/exclusion_presets/browsers.json
Comment thread src/vorta/assets/exclusion_presets/browsers.json Outdated
Comment thread src/vorta/store/models.py
Comment thread src/vorta/views/exclude_dialog.py Outdated
Comment thread .coverage.nyx2.66373.469600 Outdated
Comment thread setup.cfg
@m3nu

m3nu commented Nov 23, 2023

Copy link
Copy Markdown
Contributor Author

The issue with dropping the exclude-if-present widget is that its contents still apply although the user is neither aware of it nor can he edit those entries.

The rest looks good and seems to be working.

Thanks for looking into this! I've also disabled processing this setting by Borg. Until we may add it back in some other way.

@real-yfprojects

Copy link
Copy Markdown
Collaborator

MacOS tests seem to work again 🎉

@m3nu
m3nu merged commit b502fc3 into borgbase:master Nov 24, 2023
@m3nu m3nu mentioned this pull request Nov 24, 2023
15 tasks
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