From 094928ba02bbabf3807ebe8f5ae77b957435d288 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Mon, 29 Jun 2026 10:28:43 +0300 Subject: ci: T8490: fix typos in comments, strings, and local identifiers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reaches a clean typos baseline for the T8490 ruleset pilot. Categories: - Comments/docs: recursivly, taret, passsed, characted, arhive, AtrributeError; "ned" -> "new" (migration comments). - Messages/strings: writeable -> writable (x5); OCaml log "Commandis" -> "Command is". - Local variables (all refs in-function): commited, formating, presistent; inpt_range -> input_range; tz_datas -> tz_data_raw (avoids the tz_data collision). - Self-contained renames (definition + all references in-file): formated_stats, _get_formatted_output_conections -> ..._connections, expension_failure -> expansion_failure (ping + traceroute), snmpd_restart_reqired -> ..._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) --- src/migration-scripts/l2tp/2-to-3 | 4 ++-- src/migration-scripts/pppoe-server/3-to-4 | 4 ++-- src/migration-scripts/system/13-to-14 | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/migration-scripts') diff --git a/src/migration-scripts/l2tp/2-to-3 b/src/migration-scripts/l2tp/2-to-3 index 748d9544e..053c2d427 100644 --- a/src/migration-scripts/l2tp/2-to-3 +++ b/src/migration-scripts/l2tp/2-to-3 @@ -69,7 +69,7 @@ def migrate(config: ConfigTree) -> None: prefix_old = config.return_values(ipv6_base + ['prefix']) # delete old prefix CLI nodes config.delete(ipv6_base + ['prefix']) - # create ned prefix tag node + # create new prefix tag node config.set(ipv6_base + ['prefix']) config.set_tag(ipv6_base + ['prefix']) @@ -82,7 +82,7 @@ def migrate(config: ConfigTree) -> None: prefix_old = config.return_values(ipv6_base + ['delegate-prefix']) # delete old delegate prefix CLI nodes config.delete(ipv6_base + ['delegate-prefix']) - # create ned delegation tag node + # create new delegation tag node config.set(ipv6_base + ['delegate']) config.set_tag(ipv6_base + ['delegate']) diff --git a/src/migration-scripts/pppoe-server/3-to-4 b/src/migration-scripts/pppoe-server/3-to-4 index b0eb6f2b9..4954d3d22 100644 --- a/src/migration-scripts/pppoe-server/3-to-4 +++ b/src/migration-scripts/pppoe-server/3-to-4 @@ -98,7 +98,7 @@ def migrate(config: ConfigTree) -> None: prefix_old = config.return_values(ipv6_base + ['prefix']) # delete old prefix CLI nodes config.delete(ipv6_base + ['prefix']) - # create ned prefix tag node + # create new prefix tag node config.set(ipv6_base + ['prefix']) config.set_tag(ipv6_base + ['prefix']) @@ -111,7 +111,7 @@ def migrate(config: ConfigTree) -> None: prefix_old = config.return_values(ipv6_base + ['delegate-prefix']) # delete old delegate prefix CLI nodes config.delete(ipv6_base + ['delegate-prefix']) - # create ned delegation tag node + # create new delegation tag node config.set(ipv6_base + ['delegate']) config.set_tag(ipv6_base + ['delegate']) diff --git a/src/migration-scripts/system/13-to-14 b/src/migration-scripts/system/13-to-14 index 0c2480bdb..3632b4b6a 100644 --- a/src/migration-scripts/system/13-to-14 +++ b/src/migration-scripts/system/13-to-14 @@ -38,10 +38,10 @@ def migrate(config: ConfigTree) -> None: # retrieve all valid timezones try: - tz_datas = cmd('timedatectl list-timezones') + tz_data_raw = cmd('timedatectl list-timezones') except OSError: - tz_datas = '' - tz_data = tz_datas.split('\n') + tz_data_raw = '' + tz_data = tz_data_raw.split('\n') if re.match(r'[Ll][Oo][Ss].+', tz): tz = 'America/Los_Angeles' -- cgit v1.2.3