From 10e58f7c3c5f572e31637e20490fc88eaf5c367d Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 28 Feb 2025 17:56:00 +0100 Subject: [PATCH] typo fix: allows to -> allows one to Detected by lintian: Example: I: network-manager: typo-in-manual-page "allows to" "allows one to" [usr/share/man/man5/NetworkManager.conf.5.gz:1266] --- NEWS | 16 ++++++++-------- contrib/fedora/rpm/build_clean.sh | 2 +- data/nm-priv-helper.service.in | 2 +- examples/python/gi/gmaincontext.py | 2 +- .../org.freedesktop.NetworkManager.Device.xml | 4 ++-- man/NetworkManager.conf.xml | 4 ++-- man/nm-cloud-setup.xml | 2 +- src/contrib/nm-vpn-editor-plugin-call.h | 2 +- src/core/devices/nm-device-bond.c | 2 +- src/core/dhcp/nm-dhcp-systemd.c | 2 +- src/core/nm-l3cfg.c | 2 +- src/core/nm-netns.c | 2 +- .../plugins/ifcfg-rh/nms-ifcfg-rh-reader.c | 2 +- src/libnm-client-impl/nm-device.c | 4 ++-- src/libnm-client-test/nm-test-utils-impl.c | 2 +- src/libnm-core-impl/nm-setting-connection.c | 2 +- .../nm-setting-ovs-other-config.c | 2 +- src/libnm-core-impl/nm-setting-private.h | 2 +- src/libnm-core-impl/nm-setting-wired.c | 2 +- src/libnm-core-impl/nm-setting-wireless.c | 2 +- src/libnm-core-impl/nm-utils.c | 18 +++++++++--------- src/libnm-core-public/nm-dbus-interface.h | 2 +- src/libnm-glib-aux/nm-dbus-aux.c | 2 +- src/libnm-glib-aux/nm-dedup-multi.h | 2 +- src/libnm-glib-aux/nm-shared-utils.c | 4 ++-- src/libnm-platform/nm-platform.h | 2 +- src/libnmc-setting/nm-meta-setting-desc.h | 2 +- src/libnmc-setting/settings-docs.h.in | 6 +++--- .../gen-metadata-nm-settings-nmcli.xml.in | 6 +++--- tools/nm-in-vm | 2 +- 30 files changed, 53 insertions(+), 53 deletions(-) diff --git a/NEWS b/NEWS index 5392bba56..301623636 100644 --- a/NEWS +++ b/NEWS @@ -203,7 +203,7 @@ Overview of changes since NetworkManager-1.42 lead to unexpected behaviors in case of multiconnect profiles. * Set VLAN filtering options on bridge via netlink instead of sysfs. * nm-cloud-setup now supports IMDSv2 on Amazon EC2. -* nmtui now allows to enable or disable Wi-Fi and WWAN radios. +* nmtui now allows one to enable or disable Wi-Fi and WWAN radios. * Honor ignore-carrier=no for bond/bridge/team devices. * Add version mismatch warning when running nmcli commands. @@ -368,7 +368,7 @@ Overview of changes since NetworkManager-1.38 * NetworkManager reads the kernel command line "/proc/cmdline" for several purposes, including "nm.debug" for enabling debugging and the "match.kernel-command-line" setting in the profile. NetworkManager now - first looks now for "/run/NetworkManager/proc-cmdline", which allows to + first looks now for "/run/NetworkManager/proc-cmdline", which allows one to overwrite the command line. * Improve the reapply of non-bridge properties. * Honor adding a Bluetooth NAP connection with all available methods. @@ -441,7 +441,7 @@ Overview of changes since NetworkManager-1.36 * Workaround libcurl blocking NetworkManager while resolving DNS names. * nmcli: indicate missing Wi-Fi hardware when showing rfkill setting. * nmcli: add connection migrate command to move a profile to a specified - settings plugin. This allows to convert profiles in the deprecated ifcfg-rh + settings plugin. This allows one to convert profiles in the deprecated ifcfg-rh format to keyfile. * Set "src" attribute for routes from DHCPv4 to the leased address. This helps with source address selection. @@ -573,7 +573,7 @@ and 1.32.12 are also present in NetworkManager-1.34: * core: fix adding stale local routes when address changes. * initrd: tag generated profiles with origin in user data. * core: introduce "allowed-connections" option to disallow - profiles on a device. This allows to filter out profiles + profiles on a device. This allows one to filter out profiles that originate from initrd. * core: introduce "keep-configuration" device option to forcefully activate a profile on start. @@ -634,7 +634,7 @@ Overview of changes since NetworkManager-1.30 'nm-daemon-helper' binary is spawned to perform the lookup using the 'dns' NSS module. * dhcp: honor "ID_NET_DHCP_BROADCAST" udev attribute to set the broadcast flag. - This allows to configure devices in udev for which DHCPOFFER messages are to be + This allows one to configure devices in udev for which DHCPOFFER messages are to be broadcast. * firewall: add nftables firewall backend for configuring IPv4 NAT with shared mode. Now two backends are supported, "iptables" and "nftables". The default @@ -894,16 +894,16 @@ This is a new stable release of NetworkManager. Notable changes include: in allowed-ips. * Rework implementation of settings plugins and how profiles are presisted to disk. This is a large internal refactoring of the settings plugins that - allows to migrate a connection profile between plugins. + allows one to migrate a connection profile between plugins. * In-memory profiles are now only handled by keyfile plugin and will also be - persisted to /run directory. This allows to restart NetworkManager without + persisted to /run directory. This allows one to restart NetworkManager without loosing these profiles and it provides a file-system based API for creating in-memory profiles. * Keyfile plugin now supports a read-only directory of profiles under directory "/usr/lib/NetworkManager/system-connections". Such profiles still can be modified and deleted via D-Bus, which results in writing profiles to /etc or /run that shadow the read-only files. -* Add new D-Bus method AddConnection2() that allows to block autoconnect of +* Add new D-Bus method AddConnection2() that allows one to block autoconnect of the profile at the moment when creating the profile. Also add support for this API to libnm. * Add flag "no-reapply" to Update2() D-Bus method. Normally, when a connection diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh index b1944d778..68a6ffa41 100755 --- a/contrib/fedora/rpm/build_clean.sh +++ b/contrib/fedora/rpm/build_clean.sh @@ -143,7 +143,7 @@ while [[ $# -gt 0 ]]; do ;; --no-auto-with-test) # by default, the script adds "-w test" (unless the command line contains - # "-w test" or "-W test"). This flags allows to suppress that automatism. + # "-w test" or "-W test"). This flags allows one to suppress that automatism. # It's really only useful to test the spec file's internal default for the # "test" option. Otherwise, you can always just explicitly select "-w test" # or "-W test". diff --git a/data/nm-priv-helper.service.in b/data/nm-priv-helper.service.in index 7b083bbb2..b3f7701b2 100644 --- a/data/nm-priv-helper.service.in +++ b/data/nm-priv-helper.service.in @@ -2,7 +2,7 @@ Description=NetworkManager Privileged Helper # -# nm-priv-helper exists for privilege separation. It allows to run +# nm-priv-helper exists for privilege separation. It allows one to run # NetworkManager without certain capabilities, and ask nm-priv-helper # for special operations where more privileges are required. # diff --git a/examples/python/gi/gmaincontext.py b/examples/python/gi/gmaincontext.py index fcbcd61b1..da8c89c5d 100755 --- a/examples/python/gi/gmaincontext.py +++ b/examples/python/gi/gmaincontext.py @@ -188,7 +188,7 @@ def create_nmc(dbus_connection): # which has an overhead. # # Also, split the GObject creation and the init_async() call in two. - # That allows to pass construct-only parameters, in particular like + # That allows one to pass construct-only parameters, in particular like # the instance_flags. # Create a separate context for the NMClient. The NMClient is strongly diff --git a/introspection/org.freedesktop.NetworkManager.Device.xml b/introspection/org.freedesktop.NetworkManager.Device.xml index 36f7f5d09..085d2a1f7 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.xml @@ -321,7 +321,7 @@