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

borg.remote: remove legacy #7603

Merged
merged 5 commits into from
May 24, 2023

Commits on May 24, 2023

  1. remote repos: remove support for borg < 1.1.0 (rpc data format, version)

    rpc format:
    ancient borg used tuples in the rpc protocol,
    but recent ones use easier-to-work-with dicts.
    
    version info:
    we expect dicts with server/client version now.
    ThomasWaldmann committed May 24, 2023
    Configuration menu
    Copy the full SHA
    591d8ef View commit details
    Browse the repository at this point in the history
  2. remote repos: remove support for borg < 1.1.0 (exceptions)

    exception infos:
    ancient borg gave only limited infos about exceptions,
    but recent ones give more.
    ThomasWaldmann committed May 24, 2023
    Configuration menu
    Copy the full SHA
    51177b9 View commit details
    Browse the repository at this point in the history
  3. remote repos: remove support for borg < 1.1.0 ($LOG, logging setup)

    log output:
    
    always expect json, remove $LOG format support.
    
    we keep limited support for unstructured format also,
    just not to lose anything from remote stderr.
    ThomasWaldmann committed May 24, 2023
    Configuration menu
    Copy the full SHA
    4b796a7 View commit details
    Browse the repository at this point in the history
  4. simplify handle_error

    ThomasWaldmann committed May 24, 2023
    Configuration menu
    Copy the full SHA
    2331341 View commit details
    Browse the repository at this point in the history
  5. remote exceptions: simplify sysinfo processing

    in the sysinfo function, there is a way to suppress
    all sysinfo output via an env var and just return an
    empty string.
    
    so we can expect it is always in unpacked, but it
    might be the empty string.
    ThomasWaldmann committed May 24, 2023
    Configuration menu
    Copy the full SHA
    90c6b7f View commit details
    Browse the repository at this point in the history