FS#79106 - [bash-completion] overescaping of scp and rsync remote paths

Attached to Project: Arch Linux
Opened by Oliver Mangold (omangold) - Saturday, 15 July 2023, 07:58 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

With recent versions of ssh and rsync, the commands scp and rsync do not need double-escaping of spaces in remote files anymore. Doesn't work anymore if one does.

Additional info:
* package version(s)

bash-completion 2.11-3

* link to upstream bug report, if any

https://github.com/scop/bash-completion/issues/848

the 2 commits shown here at the end (0e21c0e1dc8b54e3f749d7da2dcad49187f555ea,f1155c43051ef339c1c02519bd6dc65bb3df73d2), make it work correctly for me:

https://github.com/scop/bash-completion/pull/910

Steps to reproduce:

rsync <local_file> <remote_host>:<remote_dir_with_space>

The press TAB to complete
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:18 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/bash-completion/issues /1
Comment by Toolybird (Toolybird) - Saturday, 15 July 2023, 22:13 GMT
> the 2 commits shown here at the end

Not committed upstream (yet).
Comment by Oliver Mangold (omangold) - Sunday, 16 July 2023, 07:27 GMT
I know. Pretty bad bug, though, IMHO. Currently bc for scp and rsync is mostly useless for me.

Loading...