-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Repository: Remove Backend() method #4802
Merged
MichaelEischer
merged 17 commits into
restic:master
from
MichaelEischer:backend-cleanups
May 18, 2024
Merged
Repository: Remove Backend() method #4802
MichaelEischer
merged 17 commits into
restic:master
from
MichaelEischer:backend-cleanups
May 18, 2024
Commits on May 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0c1ba6d - Browse repository at this point
Copy the full SHA 0c1ba6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9795198 - Browse repository at this point
Copy the full SHA 9795198View commit details -
prune: remove Backend.IsNotExist()
Only handling one specific error is not particularly useful.
Configuration menu - View commit details
-
Copy full SHA for 8274f5b - Browse repository at this point
Copy the full SHA 8274f5bView commit details -
replace usages of backend.Remove() with repository.RemoveUnpacked()
RemoveUnpacked will eventually block removal of all filetypes other than snapshots. However, getting there requires a major refactor to provide some components with privileged access.
Configuration menu - View commit details
-
Copy full SHA for ab9077b - Browse repository at this point
Copy the full SHA ab9077bView commit details -
migrations: move logic of upgrade_repo_v2 to repository package
The migration modifies repository internals and thus should live within the repository package.
Configuration menu - View commit details
-
Copy full SHA for 34d90ae - Browse repository at this point
Copy the full SHA 34d90aeView commit details -
migrations: add temporary hack for s3_layout
The migration will be removed after the next restic release anyways. Thus, there's no need for a clean implementation.
Configuration menu - View commit details
-
Copy full SHA for a1ca5e1 - Browse repository at this point
Copy the full SHA a1ca5e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8b184b - Browse repository at this point
Copy the full SHA d8b184bView commit details -
repository: Lock requires *repository.Repository
This allows the Lock function to access the backend, even once the Backend method is removed from the interface.
Configuration menu - View commit details
-
Copy full SHA for 67e2ba0 - Browse repository at this point
Copy the full SHA 67e2ba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e40943a - Browse repository at this point
Copy the full SHA e40943aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94e8638 - Browse repository at this point
Copy the full SHA 94e8638View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa4647f - Browse repository at this point
Copy the full SHA aa4647fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a425c2 - Browse repository at this point
Copy the full SHA 8a425c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2c26e3 - Browse repository at this point
Copy the full SHA d2c26e3View commit details -
Replace some repo.RemoveUnpacked usages
These will eventually be blocked as they do not delete Snapshots.
Configuration menu - View commit details
-
Copy full SHA for 3d2410e - Browse repository at this point
Copy the full SHA 3d2410eView commit details -
repository: clean cache between CheckPack retries
The cache cleanup pattern is also used in ListPack etc.
Configuration menu - View commit details
-
Copy full SHA for 673496b - Browse repository at this point
Copy the full SHA 673496bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 291c967 - Browse repository at this point
Copy the full SHA 291c967View commit details -
Configuration menu - View commit details
-
Copy full SHA for 223aa22 - Browse repository at this point
Copy the full SHA 223aa22View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.