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

Use latest snapper installation helper #2246

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

davidcassany
Copy link
Contributor

@davidcassany davidcassany commented Dec 16, 2024

With the installation helper the btrfs backend instance is no longer required in snapper backend implementation.

This PR adopts the upstream changes in snapper to fix openSUSE/snapper#944

@davidcassany davidcassany requested a review from a team as a code owner December 16, 2024 20:25
@davidcassany davidcassany marked this pull request as draft December 16, 2024 20:25
return &snapperBackend{cfg: cfg, maxSnapshots: maxSnapshots, btrfs: newBtrfsBackend(cfg, maxSnapshots)}

// TODO detect wheather the current snapper supports the required installation helper
return &snapperBackend{cfg: cfg, maxSnapshots: maxSnapshots, btrfs: nil}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should initiate btrfs backend if snapper does not support the latest installation helper and use it instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The PR is blocked until a new snapper version is released in TW. Then addressing this TODO will be needed.

Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
@davidcassany davidcassany added the status/blocked Issue depends on another one label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/btrfs kind/enhancement New feature or request status/blocked Issue depends on another one
Projects
Status: Blocked
Development

Successfully merging this pull request may close these issues.

Support the creation of an empty snapshot
2 participants