Skip to content

parseformat.Location parsing / validation #9678

Open

Description

@ThomasWaldmann

There is quite a lot of parsing and validation going on there and we also have a metric ton of tests for that.

Considering that we usually give the URL to borgstore and it is parsed and validated there again, this seems a bit much.

Maybe after #9593 is done and the old "RPC over ssh" protocol is removed and we do everything with borgstore, we could simplify this a lot and remove a lot of code.

Some stuff from Location might be also used for borg key file naming (in case of keyfile modes), so that still depends on a parsed location, see #9683.

Activity

  1. added this to the 2.1 aka N+1 milestone on May 30, 2026
  2. ThomasWaldmann commented on Oct 11, 2026

    @ThomasWaldmann
    MemberAuthor

    Update: keyfile naming got changed to be a content-hash (not named similar to host / path of the repo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions