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

Repository: Remove Backend() method #4802

Merged
merged 17 commits into from
May 18, 2024

Commits on May 18, 2024

  1. Configuration menu
    Copy the full SHA
    0c1ba6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9795198 View commit details
    Browse the repository at this point in the history
  3. prune: remove Backend.IsNotExist()

    Only handling one specific error is not particularly useful.
    MichaelEischer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    8274f5b View commit details
    Browse the repository at this point in the history
  4. 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.
    MichaelEischer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    ab9077b View commit details
    Browse the repository at this point in the history
  5. migrations: move logic of upgrade_repo_v2 to repository package

    The migration modifies repository internals and thus should live within
    the repository package.
    MichaelEischer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    34d90ae View commit details
    Browse the repository at this point in the history
  6. 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.
    MichaelEischer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    a1ca5e1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d8b184b View commit details
    Browse the repository at this point in the history
  8. repository: Lock requires *repository.Repository

    This allows the Lock function to access the backend, even once the
    Backend method is removed from the interface.
    MichaelEischer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    67e2ba0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e40943a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    94e8638 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    aa4647f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8a425c2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d2c26e3 View commit details
    Browse the repository at this point in the history
  14. Replace some repo.RemoveUnpacked usages

    These will eventually be blocked as they do not delete Snapshots.
    MichaelEischer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    3d2410e View commit details
    Browse the repository at this point in the history
  15. repository: clean cache between CheckPack retries

    The cache cleanup pattern is also used in ListPack etc.
    MichaelEischer committed May 18, 2024
    Configuration menu
    Copy the full SHA
    673496b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    291c967 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    223aa22 View commit details
    Browse the repository at this point in the history