Skip to content

Conversation

@aawsome
Copy link
Member

@aawsome aawsome commented Jan 11, 2026

This refacors LocalSourceSaveOptions and introduces changed/new options:

Additional, the parent-processing algorithm has been updated. Now ctime and inode are only compared if they are set either in the parent or in the current snapshot.

@aawsome aawsome changed the title feat: Allow to read block devices feat: Refactor LocalSourceSaveOptions Jan 12, 2026
@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

❌ Patch coverage is 51.40187% with 52 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.2%. Comparing base (acc90e9) to head (12def46).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...rates/core/src/backend/ignore/mapper/nix_mapper.rs 34.2% 25 Missing ⚠️
crates/core/src/backend/ignore/mapper.rs 60.7% 22 Missing ⚠️
crates/core/src/backend/ignore.rs 40.0% 3 Missing ⚠️
crates/core/src/archiver/parent.rs 75.0% 2 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
crates/core/src/backend/local_destination.rs 0.0% <ø> (ø)
crates/core/src/archiver/parent.rs 65.7% <75.0%> (-1.8%) ⬇️
crates/core/src/backend/ignore.rs 37.1% <40.0%> (-3.7%) ⬇️
crates/core/src/backend/ignore/mapper.rs 60.7% <60.7%> (ø)
...rates/core/src/backend/ignore/mapper/nix_mapper.rs 34.2% <34.2%> (ø)

... and 21 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aawsome aawsome changed the title feat: Refactor LocalSourceSaveOptions feat!: extend LocalSourceSaveOptions Jan 12, 2026
@aawsome aawsome force-pushed the read-blockdevice branch 2 times, most recently from 333fed4 to a3ac881 Compare January 13, 2026 13:07
@aawsome aawsome merged commit 27f0986 into main Jan 13, 2026
25 checks passed
@aawsome aawsome deleted the read-blockdevice branch January 13, 2026 16:25
@rustic-release-plz rustic-release-plz bot mentioned this pull request Jan 13, 2026
aawsome added a commit to rustic-rs/rustic that referenced this pull request Jan 13, 2026
Adapts to the following core changes:
- `restore` optimizations
(rustic-rs/rustic_core#453)
- Modify and change options for saving nodes
(rustic-rs/rustic_core#461)
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.

[Feature Request] Avoid trying to backup xattrs If I want a backup block device (bytes array), can it support it?

2 participants