Page MenuHomeVyOS Platform

The "scp" example is wrong in the bash-completion for "set system config-management commit-archive location"
Closed, ResolvedPublicBUG

Description

Hello there,

While trying to get remote archive right, I found out that the doc[1] and bash-completion are wrong for that protocol.

The doc has been updated already with https://github.com/vyos/vyos-documentation/pull/354 - so we need to update the completion itself now.

Cheers,

C.

PS: I already have a PR here https://github.com/vyos/vyatta-cfg/pull/29, just needs to follow proper bug process for the vyatta-cfg repository :)

Details

Version
current
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

cjeanneret changed the task status from Open to In progress.Oct 26 2020, 7:30 PM
cjeanneret claimed this task.
cjeanneret triaged this task as Low priority.
cjeanneret updated the task description. (Show Details)
cjeanneret edited a custom field.
cjeanneret edited a custom field.
cjeanneret changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Viacheslav changed the task status from In progress to Needs testing.Nov 28 2020, 4:20 PM

Still old format for completion help

vyos@r12# set system config-management commit-archive location 
Possible completions:
   <uri>        Uniform Resource Identifier
                

Detailed information:
  
    "scp://<user>:<passwd>@<host>/<dir>"
    "sftp://<user>:<passwd>@<host>/<dir>"
    "ftp://<user>:<passwd>@<host>/<dir>"
    "tftp://<host>/<dir>"

https://github.com/vyos/vyatta-config-mgmt/blob/current/templates-cfg/system/config-management/commit-archive/location/node.def#L11

erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 12:26 PM
erkin removed a subscriber: Global Notifications.