From 0d5e1cf752010e1c2d068077bbd55ae25d3d0bd7 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Thu, 7 Mar 2024 09:19:44 -0300 Subject: Fix misspellings (#2306) --- archinstall/__init__.py | 2 +- archinstall/lib/installer.py | 2 +- archinstall/lib/interactions/disk_conf.py | 2 +- archinstall/lib/menu/abstract_menu.py | 2 +- docs/cli_parameters/config/config_options.csv | 8 ++++---- docs/cli_parameters/config/disk_config.rst | 4 ++-- docs/examples/python.rst | 4 ++-- docs/help/known_issues.rst | 6 +++--- docs/installing/guided.rst | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/archinstall/__init__.py b/archinstall/__init__.py index efb73710..78798441 100644 --- a/archinstall/__init__.py +++ b/archinstall/__init__.py @@ -84,7 +84,7 @@ def define_arguments(): parser.add_argument("--script", default="guided", nargs="?", help="Script to run for installation", type=str) parser.add_argument("--mount-point", "--mount_point", nargs="?", type=str, help="Define an alternate mount point for installation") - parser.add_argument("--skip-ntp", action="store_true", help="Disables NTP checks during instalation", default=False) + parser.add_argument("--skip-ntp", action="store_true", help="Disables NTP checks during installation", default=False) parser.add_argument("--debug", action="store_true", default=False, help="Adds debug info into the log") parser.add_argument("--offline", action="store_true", default=False, help="Disabled online upstream services such as package search and key-ring auto update.") diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index ccae8faa..2ea728bb 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -148,7 +148,7 @@ class Installer: if not _notified and time.time() - _started_wait > 5: _notified = True warn( - _("Time syncronization not completing, while you wait - check the docs for workarounds: https://archinstall.readthedocs.io/")) + _("Time synchronization not completing, while you wait - check the docs for workarounds: https://archinstall.readthedocs.io/")) time_val = SysCommand('timedatectl show --property=NTPSynchronized --value').decode() if time_val and time_val.strip() == 'yes': diff --git a/archinstall/lib/interactions/disk_conf.py b/archinstall/lib/interactions/disk_conf.py index 85b377b7..bbd8957d 100644 --- a/archinstall/lib/interactions/disk_conf.py +++ b/archinstall/lib/interactions/disk_conf.py @@ -308,7 +308,7 @@ def suggest_single_disk_layout( root_partition.btrfs_subvols = subvolumes elif using_home_partition: # If we don't want to use subvolumes, - # But we want to be able to re-use data between re-installs.. + # But we want to be able to reuse data between re-installs.. # A second partition for /home would be nice if we have the space for it home_start = root_partition.length home_length = device.device_info.total_size - root_partition.length diff --git a/archinstall/lib/menu/abstract_menu.py b/archinstall/lib/menu/abstract_menu.py index 2ceb6ca7..14db98ca 100644 --- a/archinstall/lib/menu/abstract_menu.py +++ b/archinstall/lib/menu/abstract_menu.py @@ -344,7 +344,7 @@ class AbstractMenu: value = value.strip() # if this calls returns false, we exit the menu - # we allow for an callback for special processing on realeasing control + # we allow for an callback for special processing on releasing control if not self._process_selection(value): break diff --git a/docs/cli_parameters/config/config_options.csv b/docs/cli_parameters/config/config_options.csv index 1861b1e1..7cf10982 100644 --- a/docs/cli_parameters/config/config_options.csv +++ b/docs/cli_parameters/config/config_options.csv @@ -5,8 +5,8 @@ audio_config,`pipewire `_!, `pulseaud bootloader,`Systemd-boot `_!, `grub `_,Bootloader to be installed *(grub being mandatory on BIOS machines)*,Yes debug,``true``!, ``false``,Enables debug output,No disk_config,*Read more under* :ref:`disk config`,Contains the desired disk setup to be used during installation,No -disk_encryption,*Read more about under* :ref:`disk encryption`,Parameters for disk encryption applied ontop of ``disk_config``,No -hostname,``str``,A string definining your machines hostname on the network *(defaults to ``archinstall``)*,No +disk_encryption,*Read more about under* :ref:`disk encryption`,Parameters for disk encryption applied on top of ``disk_config``,No +hostname,``str``,A string defining your machines hostname on the network *(defaults to ``archinstall``)*,No kernels,[ `linux `_!, `linux-hardened `_!, `linux-lts `_!, `linux-rt `_!, `linux-rt-lts `_!, `linux-zen `_ ],Defines which kernels should be installed and setup in the boot loader options,Yes custom-commands,*Read more under* :ref:`custom commands`,Custom commands that will be run post-install chrooted inside the installed system,No locale_config,{kb_layout: `lang `__!, sys_enc: `Character encoding `_!, sys_lang: `locale `_},Defines the keyboard key map!, system encoding and system locale,No @@ -16,9 +16,9 @@ no_pkg_lookups,``true``!, ``false``,Disabled package checking against https://ar ntp,``true``!, ``false``,enables or disables `NTP `_ during installation,No offline,``true``!, ``false``,enables or disables certain online checks such as mirror reachability etc,No packages,[ !, !, ... ],A list of packages to install during installation,No -parallel downloads,0-∞,sets a given number of paralell downloads to be used by `pacman `_,No +parallel downloads,0-∞,sets a given number of parallel downloads to be used by `pacman `_,No profile_config,*`read more under the profiles section`*,Installs a given profile if defined,No script,`guided `__! *(default)*!, `minimal `__!, `only_hdd `_!, `swiss `_!, `unattended `_,When used to autorun an installation!, this sets which script to autorun with,No silent,``true``!, ``false``,disables or enables user questions using the TUI,No swap,``true``!, ``false``,enables or disables swap,No -timezone,`timezone `_,sets a timezone for the installed system,No \ No newline at end of file +timezone,`timezone `_,sets a timezone for the installed system,No diff --git a/docs/cli_parameters/config/disk_config.rst b/docs/cli_parameters/config/disk_config.rst index ed5f42c1..3dc01fb2 100644 --- a/docs/cli_parameters/config/disk_config.rst +++ b/docs/cli_parameters/config/disk_config.rst @@ -26,7 +26,7 @@ Given the following disk example: ├── boot (/dev/sda1) └── home (/dev/sda3) -Runing ``archinstall --conf your.json --silent`` where the above JSON is configured. The disk will be left alone — and a working system will be installed to the above folders and mountpoints will be translated into the installed system. +Running ``archinstall --conf your.json --silent`` where the above JSON is configured. The disk will be left alone — and a working system will be installed to the above folders and mountpoints will be translated into the installed system. .. note:: @@ -242,4 +242,4 @@ This example contains both subvolumes and compression. }, "status": "create", "type": "primary" - } \ No newline at end of file + } diff --git a/docs/examples/python.rst b/docs/examples/python.rst index 7fb3f6c3..7226c825 100644 --- a/docs/examples/python.rst +++ b/docs/examples/python.rst @@ -38,7 +38,7 @@ To do this, we'll begin by importing :code:`archinstall` in our "`scripts`_:code print(archinstall.disk.device_handler.devices) Now, go ahead and reference the :ref:`installing.python.manual` installation method. -After runnig ``python -m archinstall test_installer`` it should print something that looks like: +After running ``python -m archinstall test_installer`` it should print something that looks like: .. code-block:: text @@ -93,4 +93,4 @@ That means your script is in the right place, and ``archinstall`` is working as Most calls, including the one above requires `root `_ privileges. -.. _scripts: https://github.com/archlinux/archinstall/tree/master/archinstall/scripts \ No newline at end of file +.. _scripts: https://github.com/archlinux/archinstall/tree/master/archinstall/scripts diff --git a/docs/help/known_issues.rst b/docs/help/known_issues.rst index 425829e5..622356c1 100644 --- a/docs/help/known_issues.rst +++ b/docs/help/known_issues.rst @@ -22,7 +22,7 @@ Waiting for time sync `#2144`_ Missing Nvidia Proprietary Driver `#2002`_ ------------------------------------------ -| In some instances, the nvidia driver might not have all the nessecary packages installed. +| In some instances, the nvidia driver might not have all the necessary packages installed. | This is due to the kernel selection and/or hardware setups requiring additional packages to work properly. A common workaround is to install the package `linux-headers`_ and `nvidia-dkms`_ @@ -49,7 +49,7 @@ Keyring is out of date `#2213`_ | Subsequently the ``archinstall`` run might operate on a old keyring despite there being an update service for this. | There is really no way to reliably over time work around this issue in ``archinstall``. -| Instead, efforts to the upstream service should be considered the way forward. And/or keys not expiring betwene a sane ammount of ISO's. +| Instead, efforts to the upstream service should be considered the way forward. And/or keys not expiring between a sane amount of ISO's. .. note:: @@ -99,4 +99,4 @@ AUR packages .. _archlinux-keyring-wkd-sync.service: https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/blob/7e672dad10652a80d1cc575d75cdb46442cd7f96/wkd_sync/archlinux-keyring-wkd-sync.service.in .. _ZFS: https://aur.archlinux.org/packages/zfs-linux .. _archinstall: https://github.com/archlinux/archinstall/ -.. _timedatectl show: https://github.com/archlinux/archinstall/blob/e6344f93f7e476d05bbcd642f2ed91fdde545870/archinstall/lib/installer.py#L136 \ No newline at end of file +.. _timedatectl show: https://github.com/archlinux/archinstall/blob/e6344f93f7e476d05bbcd642f2ed91fdde545870/archinstall/lib/installer.py#L136 diff --git a/docs/installing/guided.rst b/docs/installing/guided.rst index dcedfc10..90abedb4 100644 --- a/docs/installing/guided.rst +++ b/docs/installing/guided.rst @@ -26,7 +26,7 @@ To start the installer, run the following in the latest Arch Linux ISO: archinstall -Since the `Guided Installer`_ is the default script, this is the equvilant of running :code:`archinstall guided` +Since the `Guided Installer`_ is the default script, this is the equivalent of running :code:`archinstall guided` The guided installation also supports installing with pre-configured answers to all the guided steps. This can be a quick and convenient way to re-run one or several installations. @@ -284,4 +284,4 @@ Options for ``--creds`` The key's start with ``!`` because internal log functions will mask any keys starting with explamation from logs and unrestricted configurations. .. _scripts: https://github.com/archlinux/archinstall/tree/master/archinstall/scripts -.. _Guided Installer: https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/guided.py \ No newline at end of file +.. _Guided Installer: https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/guided.py -- cgit v1.2.3-70-g09d2