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

Abstract out all btrfs calls into a module #32

Closed
hirak99 opened this issue May 7, 2024 · 1 comment
Closed

Abstract out all btrfs calls into a module #32

hirak99 opened this issue May 7, 2024 · 1 comment
Assignees

Comments

@hirak99
Copy link
Owner

hirak99 commented May 7, 2024

Abstract out the btrfs calls into a module, so that it is easier to create implementations for different snapshotting mechanisms.

@hirak99 hirak99 self-assigned this May 7, 2024
hirak99 added a commit that referenced this issue May 7, 2024
hirak99 added a commit that referenced this issue May 8, 2024
Also organized into directories.

Issue #32
hirak99 added a commit that referenced this issue May 8, 2024
- Installation now copies the whole directory (will separately update PKGBUILD)
- A fix to rollback

Part of Issue #32
@hirak99
Copy link
Owner Author

hirak99 commented May 8, 2024

Abstracted out in 880882e

New implementations alternative to btrfs should be implementable via implementing abstract_mechanism.py and adding a reference to snap_mechanisms.py.

Btrfs implementation can serve as an example, btrfs_mechanism.py.

@hirak99 hirak99 closed this as completed May 8, 2024
hirak99 added a commit that referenced this issue May 8, 2024
Sync is activated by --sync flag.

Ref. Issue #32
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

No branches or pull requests

1 participant