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

testing: add tiny framework for testing rustic's compat with latest restic #1303

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

simonsan
Copy link
Contributor

@simonsan simonsan commented Oct 8, 2024

This is the first PR to lay some foundations to test rustic's compatibility against a restic repository. It should essentially show, how to start out with it and give some fixtures to play around with.

TODO:

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
@simonsan simonsan added C-enhancement Category: New feature or request A-testing Area: Testing and coverage labels Oct 8, 2024
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
@simonsan simonsan added the A-compatibility Area: Repo format is not (fully) compatible with restic label Oct 8, 2024
@simonsan simonsan marked this pull request as draft October 8, 2024 13:19
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
@simonsan simonsan marked this pull request as ready for review October 9, 2024 02:25
@simonsan simonsan changed the title testing: add tiny framework for testing rustic's compat with restic testing: add tiny framework for testing rustic's compat with latest restic Oct 9, 2024
@simonsan simonsan requested a review from aawsome October 9, 2024 02:33
@simonsan simonsan added the S-waiting-for-review Status: PRs waiting for review label Oct 9, 2024
}

#[fixture]
fn src_snapshot() -> Result<TestSource> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is for a restore test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I/or someone would implement that in a follow-up PR.

tests/repository-fixtures/README.md Outdated Show resolved Hide resolved
tests/repository-fixtures/README.md Outdated Show resolved Hide resolved
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
@simonsan simonsan added the S-blocked Status: Blocked from merging/working on due to some issue label Oct 9, 2024
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
@simonsan simonsan removed the S-blocked Status: Blocked from merging/working on due to some issue label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compatibility Area: Repo format is not (fully) compatible with restic A-testing Area: Testing and coverage C-enhancement Category: New feature or request S-waiting-for-review Status: PRs waiting for review
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant