Skip to content

Conversation

aawsome
Copy link
Member

@aawsome aawsome commented Sep 9, 2025

To solve rustic-rs/rustic#493 it will be necessary to add support for multiple parents.

This PR adds this support:

  • The parent option can be now given multiple times
  • In the SnapshotFile also mutliple parent ids can now be saved
  • All trees of all parent snapshots are processed and a suitable entry of any of the parents is taken

Copy link

codecov bot commented Sep 9, 2025

Codecov Report

❌ Patch coverage is 64.78873% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.8%. Comparing base (2b8c4fd) to head (242beeb).

Files with missing lines Patch % Lines
crates/core/src/commands/backup.rs 57.5% 14 Missing ⚠️
crates/core/src/archiver/parent.rs 71.4% 10 Missing ⚠️
crates/core/src/repofile/snapshotfile.rs 66.6% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
crates/core/tests/integration.rs 81.4% <ø> (-4.3%) ⬇️
crates/core/src/repofile/snapshotfile.rs 56.6% <66.6%> (-0.4%) ⬇️
crates/core/src/archiver/parent.rs 63.5% <71.4%> (-1.8%) ⬇️
crates/core/src/commands/backup.rs 54.3% <57.5%> (+6.8%) ⬆️

... and 20 files with indirect coverage changes

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

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.

1 participant