<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/op-mode-definitions/force-commit-archive.xml.in, branch rolling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-05-20T18:28:35+00:00</updated>
<entry>
<title>op-mode: T6367: fix "force commit-archive" TypeError</title>
<updated>2024-05-20T18:28:35+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-05-20T18:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0d6e44179bae5f73d37502884194656b34b1c4f9'/>
<id>urn:sha1:0d6e44179bae5f73d37502884194656b34b1c4f9</id>
<content type='text'>
/usr/bin/config-mgmt requires an argument OR to be symbolically linked to
*commit-revision or *commit-archive, for which it interprets argv[0] through
the useful trickery:

https://github.com/vyos/vyos-1x/blob/current/python/vyos/config_mgmt.py#L693-L700

Traceback (most recent call last):
  File "/usr/bin/config-mgmt", line 33, in &lt;module&gt;
    sys.exit(load_entry_point('vyos==1.3.0', 'console_scripts', 'config-mgmt')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/config_mgmt.py", line 746, in run
    func = getattr(config_mgmt, args['subcommand'])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: attribute name must be string, not 'NoneType'
</content>
</entry>
<entry>
<title>op-mode: T6133: add support to manually trigger commit-archive update</title>
<updated>2024-03-17T17:48:48+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-03-17T13:44:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=09de453194e9f8e7aa5dcb2e5c8de5a89e82708d'/>
<id>urn:sha1:09de453194e9f8e7aa5dcb2e5c8de5a89e82708d</id>
<content type='text'>
Automatic update of the remote commit-archive could fail under certian
circumstances, add an op-mode command to manually trigger the update:

cpo@LR1.wue3# run force commit-archive
Archiving config...
  git+https://git.FOOO.de/cpo/vyos-config-backup [edit]
</content>
</entry>
</feed>
