Page MenuHomeVyOS Platform

commit archive to GIT
Closed, ResolvedPublicFEATURE REQUEST

Description

the ability to archive configuration on platforms of the type GitHub, GitLab and git repositories

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

erkin set Issue type to Feature (new functionality).Aug 30 2021, 6:28 AM
erkin removed a subscriber: Global Notifications.

Note that command = command.lstrip() for def cmd in python/vyos/utils/process.py was reverted yesterday.

Causes funny problems during smoketests.

Note that command = command.lstrip() for def cmd in python/vyos/utils/process.py was reverted yesterday.

Causes funny problems during smoketests.

I have reverted them also in my PR, thanks for the heads up.

Is there anything I can do to improve this PR? I also noticed that there is no more example commit-archive output since vyos 1.4:

Before vyos 1.4 you would get:

vyos@vyos# 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>"

Now it doesn't show any "detailed information" anymore, so you don't have any examples.
Is this something that was intentionally removed? If not, should this be a new ticket to get this back in?

@yun thanks for pointing that out: the detailed information was lost in the rewrite of config-mgmt, and I will restore, in some or other form. As I recall, the PR looked good, so let me check any changes and review.

Unknown Object (User) subscribed.Nov 18 2023, 9:58 PM

Can this get backported to 1.4?

It would be a great feature to have added before 1.4 gets released.

c-po changed the task status from Open to Needs testing.Nov 19 2023, 8:12 AM
c-po assigned this task to yun.
c-po added a project: VyOS 1.5 Circinus.
c-po edited a custom field.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po moved this task from Open to Finished on the VyOS 1.5 Circinus board.
c-po moved this task from Open to Finished on the VyOS 1.4 Sagitta board.
syncer renamed this task from archive to GIT or other platform to commit archive to GIT.Jun 2 2024, 1:58 PM
syncer updated the task description. (Show Details)
syncer added subscribers: syncer, dmbaturin, avo and 2 others.
syncer removed subscribers: VyOS 1.2 Crux, michal_iwanczuk.