You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
borg uses regexes to parse the location argument given to it on the commandline.
these regexes are a rather complex and at least the scp-style location regex also tends to mismatches, because it is used for:
local repos (just giving a fs path as the repo)
remote repos (which can be also given via the ssh:// url syntax, which is less limited and clearly a remote repo)
that the user often can also give an archive name within a LOCATION specifier makes it even a bit more complex, but that is the topic of #948.
one more bad thing about scp-style is that one can not give a ssh port within it. so we also need docs / FAQ entries telling the user to not use that style if the port is not 22. also we need examples for both styles...
so, the plan is to just remove scp-style syntax. less code, less docs, less hard to debug/fix regex issues.
obviously this is a breaking change as users who use that style will have to edit their scripts / configs to use ssh url style.
borg uses regexes to parse the location argument given to it on the commandline.
these regexes are a rather complex and at least the scp-style location regex also tends to mismatches, because it is used for:
ssh://
url syntax, which is less limited and clearly a remote repo)that the user often can also give an archive name within a LOCATION specifier makes it even a bit more complex, but that is the topic of #948.
one more bad thing about scp-style is that one can not give a ssh port within it. so we also need docs / FAQ entries telling the user to not use that style if the port is not 22. also we need examples for both styles...
so, the plan is to just remove scp-style syntax. less code, less docs, less hard to debug/fix regex issues.
obviously this is a breaking change as users who use that style will have to edit their scripts / configs to use ssh url style.
bounty: https://app.bountysource.com/issues/108445136-remove-scp-syntax
The text was updated successfully, but these errors were encountered: