feat: add bread-sync module for snapshot and restore functionality
- Introduced `bread-sync` module with core functionalities for syncing system state via Git. - Implemented `MachineProfile` struct for managing machine profiles, including methods for reading and writing profiles. - Added package management support with snapshot capabilities for `pacman`, `pip`, `npm`, and `cargo`. - Created comprehensive tests for sync operations, package parsing, and machine profile management. - Enhanced `udev` adapter to include vendor and product IDs for scanned devices. - Updated state engine to handle module clearing commands. - Introduced Lua integration for accessing machine information and file system operations. - Improved packaging documentation for Arch Linux and systemd service setup.
This commit is contained in:
parent
96e42bc370
commit
e39b168398
25 changed files with 3930 additions and 92 deletions
|
|
@ -2,7 +2,8 @@
|
|||
members = [
|
||||
"bread-shared",
|
||||
"breadd",
|
||||
"bread-cli"
|
||||
"bread-cli",
|
||||
"bread-sync",
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
|
|
@ -13,3 +14,8 @@ tokio = { version = "1.40", features = ["full"] }
|
|||
anyhow = "1.0"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
git2 = "0.18"
|
||||
dirs = "5.0"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
tempfile = "3"
|
||||
glob = "0.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue