Skip to content

check: refactor pack selection for read data#5550

Merged
MichaelEischer merged 1 commit into
restic:masterfrom
MichaelEischer:refactor-check-data-selection
Oct 12, 2025
Merged

check: refactor pack selection for read data#5550
MichaelEischer merged 1 commit into
restic:masterfrom
MichaelEischer:refactor-check-data-selection

Conversation

@MichaelEischer

@MichaelEischer MichaelEischer commented Oct 3, 2025

Copy link
Copy Markdown
Member

What does this PR change? What problem does it solve?

Drop the packs map from the internal state of the checker. Instead the Packs(...) method now calls a filter callback that can select the packs intended for checking.

Was the change previously discussed in an issue or on the forum?

Triggered by #5469 while looking for way to adapt it to the changes from #5532 .

Checklist

  • I have added tests for all code changes.
  • I have added documentation for relevant changes (in the manual).
  • There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
  • I'm done! This pull request is ready for review.

Drop the `packs` map from the internal state of the checker. Instead the
Packs(...) method now calls a filter callback that can select the
packs intended for checking.
@MichaelEischer MichaelEischer force-pushed the refactor-check-data-selection branch from a405a3c to b7bbb40 Compare October 3, 2025 21:45

@MichaelEischer MichaelEischer left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

LGTM.

@MichaelEischer MichaelEischer merged commit a632f49 into restic:master Oct 12, 2025
12 checks passed
@MichaelEischer MichaelEischer deleted the refactor-check-data-selection branch October 12, 2025 15:51
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