<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/helpers/run-config-migration.py, 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>2026-06-29T12:10:10+00:00</updated>
<entry>
<title>ci: T8490: fix typos in comments, strings, and local identifiers</title>
<updated>2026-06-29T12:10:10+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-06-29T07:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=094928ba02bbabf3807ebe8f5ae77b957435d288'/>
<id>urn:sha1:094928ba02bbabf3807ebe8f5ae77b957435d288</id>
<content type='text'>
Reaches a clean typos baseline for the T8490 ruleset pilot. Categories:
- Comments/docs: recursivly, taret, passsed, characted, arhive, AtrributeError;
  "ned" -&gt; "new" (migration comments).
- Messages/strings: writeable -&gt; writable (x5); OCaml log "Commandis" -&gt; "Command is".
- Local variables (all refs in-function): commited, formating, presistent;
  inpt_range -&gt; input_range; tz_datas -&gt; tz_data_raw (avoids the tz_data collision).
- Self-contained renames (definition + all references in-file): formated_stats,
  _get_formatted_output_conections -&gt; ..._connections, expension_failure -&gt;
  expansion_failure (ping + traceroute), snmpd_restart_reqired -&gt; ..._required.

False positives are allowlisted centrally (vyos/.github, separate PR), NOT changed
here: mke2fs, Maya-calendar "Mak", RFC 4122 "IDentifier" (hostapd), and VPP's
"U-Forwrd" bridge-domain column header (op_mode/vpp.py + the VPP smoketest assert
the real upstream `vppctl` output). Verified: typos clean, py_compile of every
edited .py, zero remaining old-identifier references.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>T7591: remove copyright years from source files</title>
<updated>2025-06-28T21:16:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-28T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1478516ae437f19ebeb7d6ff9b83dd74f8e76758'/>
<id>urn:sha1:1478516ae437f19ebeb7d6ff9b83dd74f8e76758</id>
<content type='text'>
The legal team says years are not necessary so we can go ahead with it, since
it will simplify backporting.

Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \
's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors &lt;maintainers@vyos.io&gt;/g'

In addition we will error-out during "make" if someone re-adds a legacy
copyright notice
</content>
</entry>
<entry>
<title>T1771: automatic reboot of system into previous image</title>
<updated>2025-05-17T14:05:38+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-04-18T17:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d7ff642a389e47a4f38fa7c2fabbe71fbbb05f21'/>
<id>urn:sha1:d7ff642a389e47a4f38fa7c2fabbe71fbbb05f21</id>
<content type='text'>
If any part of the system boot fails, we set overall_status=1 in the vyos-router
startup script. When an error during the image upgrade is detected, the system
will automatically revert the default boot image to the previously used version,
if the CLI option "system option reboot-on-upgrade-failure" is set.

The user is informed via console messages:

  Booting failed, reverting to previous image
  Automatic reboot in 5 minutes
  Use "reboot cancel" to cancel

The user has time to log in and run reboot cancel to remain in the faulty image
for troubleshooting. Reboot timeout is defined by CLI: "system option
reboot-on-upgrade-failure"

Once the system boots into the previous image, the MOTD will display a
persistent warning message - cleared during next reboot.

  WARNING: Image update to "VyOS 1.5.xxxx" failed
  Please check the logs:
  /usr/lib/live/mount/persistence/boot/NAME/rw/var/log
  Message is cleared on next reboot!

Upgrade failure can be synthetically injected by booting with Kernel command
line option: vyos-fail-migration
</content>
</entry>
<entry>
<title>migration: T6007: update run-config-migration script</title>
<updated>2024-06-26T20:45:19+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-06-20T01:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=08d4fcbc6243022cda0e889d99817d8e4e0ead78'/>
<id>urn:sha1:08d4fcbc6243022cda0e889d99817d8e4e0ead78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5195: vyos.util -&gt; vyos.utils package refactoring (#2093)</title>
<updated>2023-07-14T20:18:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-14T20:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1ca536da448749dff557f13ecae97b124026e96'/>
<id>urn:sha1:d1ca536da448749dff557f13ecae97b124026e96</id>
<content type='text'>
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process

* T5195: use read_file and write_file implementation from vyos.utils.file

Changed code automatically using:

find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} +
find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} +

* T5195: move chmod* helpers to vyos.utils.permission

* T5195: use colon_separated_to_dict from vyos.utils.dict

* T5195: move is_systemd_service_* to vyos.utils.process

* T5195: fix boot issues with missing imports

* T5195: move dict_search_* helpers to vyos.utils.dict

* T5195: move network helpers to vyos.utils.network

* T5195: move commit_* helpers to vyos.utils.commit

* T5195: move user I/O helpers to vyos.utils.io</content>
</entry>
<entry>
<title>util: T2226: rewrite config migration to use cmd</title>
<updated>2020-04-06T19:22:35+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-05T16:43:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=bd471c2db5c341d6702bc06575a88a6c5579d2de'/>
<id>urn:sha1:bd471c2db5c341d6702bc06575a88a6c5579d2de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>migration: T2029: run virtual migration before migration</title>
<updated>2020-03-30T20:23:59+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-03-30T20:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=10b2b9d9bd9e8da76247651c996627a7921a04c3'/>
<id>urn:sha1:10b2b9d9bd9e8da76247651c996627a7921a04c3</id>
<content type='text'>
Update syntax of component version string, before passing config file to
configtree in migration scripts.
</content>
</entry>
<entry>
<title>migration: T2029: set default vintage; remove target from virtual</title>
<updated>2020-03-30T20:23:59+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-03-30T20:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d41b9e56058c50117e70c7d2639ebbead466da27'/>
<id>urn:sha1:d41b9e56058c50117e70c7d2639ebbead466da27</id>
<content type='text'>
The VirtualMigrator updates the syntax of the component version string.
Remove the default target, allowing downgrade to old syntax.
</content>
</entry>
<entry>
<title>T1334: Migration script runner rewrite</title>
<updated>2019-06-05T20:13:58+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@sentrium.io</email>
</author>
<published>2019-05-30T18:46:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6763170830010c8cea2f17daee5f46b9203dab56'/>
<id>urn:sha1:6763170830010c8cea2f17daee5f46b9203dab56</id>
<content type='text'>
Python script and support code to replace the
vyatta_config_migrate.pl script.
</content>
</entry>
</feed>
