Commit Graph

2217 Commits

Author SHA1 Message Date
codefiles dcce29b91c
Refactor creation of BLS entries (#3283) 2025-03-21 22:08:21 +11:00
neko_0xff 51497bd079
re-update zh_TW base.po (#3282)
* Update base.po

* Update archinstall/locales/zh-TW/LC_MESSAGES/base.po

Co-authored-by: pan93412 <pan93412@gmail.com>

* Update base.po

---------

Co-authored-by: pan93412 <pan93412@gmail.com>
2025-03-21 09:16:43 +11:00
mintsuki 931f47a037
Limine: use UUID for accessing boot partition if not same as ESP (#3267) 2025-03-21 08:35:32 +11:00
codefiles cc6716be99
Disable irrelevant validation in mountpoint prompt (#3280) 2025-03-21 08:29:20 +11:00
codefiles c8e2c3eca8
Fix loader configuration location (#3275) 2025-03-20 14:21:06 +11:00
codefiles 4ffff49d5f
Add XBOOTLDR to manual partitioning (#3273) 2025-03-20 14:19:28 +11:00
Matteo 1891df74da
Update Italian translation (#3270)
-Translated new strings
-Improved some translation
2025-03-20 09:21:24 +11:00
mintsuki 48053fb822
Create proper EFI boot menu entry for Limine (#3263) 2025-03-20 09:18:47 +11:00
mintsuki f046495bda
Put Limine config and BIOS files in a limine/ subdir (#3264) 2025-03-20 09:14:41 +11:00
correctmost 87fb96d249
Fix grammar in existing-session error message (#3262) 2025-03-15 18:59:17 +11:00
correctmost aa444748b9
Replace an Any instance with TypedDict (#3261) 2025-03-15 09:37:32 +11:00
correctmost 4938d79873
Fix a blanket type ignore comment (#3258)
This commit allows the ignore-without-code mypy warning to be
enabled. It also allows the pygrep-hooks ruff rules to be enabled.
2025-03-14 09:06:36 +11:00
correctmost f100e5110d
Use __all__ in __init__.py files to fix unused-import warnings (#3252)
This commit allows ruff and flake8 ignores to be removed. It also
allows mypy to be run in strict mode by default.
2025-03-13 14:19:05 +11:00
correctmost 057feacf0e
Remove unused stdlib imports from __init__.py files (#3249) 2025-03-13 08:28:24 +11:00
correctmost 269e6f8e54
Enable most flake8-pyi rules in ruff and fix a warning (#3248) 2025-03-13 08:27:53 +11:00
Daniel Girtler e46aa7c1b0
Add timestamp to logs (#3245) 2025-03-12 18:37:13 +11:00
correctmost 7f88e909c6
Remove unused _set_font code (#3243)
This code has been unused since commit dee792658.
2025-03-11 21:26:08 +11:00
correctmost 0b0dc76558
Fix SysCallError import cycle between exceptions.py and general.py (#3242)
This commit updates SysCallError to accept a worker log argument
instead of an entire SysCommandWorker.
2025-03-11 21:25:25 +11:00
correctmost dbf45e23cc
Introduce a string-specific version of clear_vt100_escape_codes (#3241)
This commit helps fix some existing type errors in the code. It
also helps avoid ~280,000 isinstance calls when opening the
additional packages menu.
2025-03-11 12:11:04 +11:00
correctmost 2819ea02b1
Speed up _count_wchars by avoiding east_asian_width calls (#3240)
This commit helps avoid ~390,000 duplicate east_asian_width calls
when opening the additional packages menu.
2025-03-11 12:10:33 +11:00
correctmost a5fcf21a12
Speed up _parse_package_output by caching normalized key strings (#3239)
This commit helps avoid ~260,000 chained strip(), lower(), and
replace() sequences.
2025-03-10 22:04:41 +11:00
correctmost 624143ed96
Speed up clear_vt100_escape_codes by caching an encode() result (#3238)
This commit helps avoid ~280,000 redundant encode() calls when
opening the additional packages menu.
2025-03-10 22:03:29 +11:00
Daniel Girtler 55941cc40e
Fix package text (#3236) 2025-03-10 22:02:40 +11:00
Daniel Girtler 12562f4cae
Add newline after countdown (#3237) 2025-03-10 22:02:26 +11:00
correctmost 6a90760e67
Clean up most no-implicit-reexport warnings from mypy (#3233)
This makes it easier to run mypy --strict from the command line
and should hopefully make it easier to clean up import cycles in
future commits.
2025-03-09 19:50:56 +11:00
Yaron Shahrabani cf75a38a28
Update Hebrew translation. (#3229) 2025-03-06 21:47:33 +11:00
correctmost 54d426e54c
Fix Pyright warning with urllib.parse (#3228) 2025-03-06 18:23:43 +11:00
correctmost 9a3ec27645
Fix repositories typo in debug message (#3227) 2025-03-06 18:23:18 +11:00
correctmost 49347c2f82
Fix falsy-dict-get-fallback ruff warning (#3226) 2025-03-06 13:05:59 +11:00
Daniel Girtler 697ccd1ac5
Fix 2379 - Mirror and region definitions (#3223)
* Fix 2379 - Mirror and repository settings

* Fix alignment
2025-03-05 22:19:50 +11:00
correctmost 5f7b16b152
Remove some Any instances from the codebase (#3221) 2025-03-03 08:24:36 +11:00
correctmost d9ac33dbe8
Fix a non-pep695-generic-function ruff warning (#3218) 2025-03-02 22:01:56 +11:00
Alexmelman88 1e830c16a6
Update Russian translation (#3216) 2025-03-02 10:43:10 +11:00
correctmost 70c6a10c3c
Add missing typing.override annotation reported by Pyright (#3215) 2025-03-02 10:41:21 +11:00
correctmost f94e8b8984
Fix Pyright warnings with importlib.util (#3214) 2025-03-02 10:40:53 +11:00
correctmost 1c6085f86c
Fix Pyright warning with curses.textpad (#3213) 2025-03-02 10:40:20 +11:00
mintsuki 98d604d097
Do not enable UKI at archinstall start if using BIOS (#3208) 2025-03-02 10:38:38 +11:00
mintsuki 645e8d0144
Enable UKI support for the Limine bootloader option (#3207) 2025-03-02 10:33:07 +11:00
mintsuki 0b551d729e
Do not force install GRUB on BIOS when not chosen as bootloader (#3206) 2025-03-02 10:22:27 +11:00
correctmost 142883c9c3
Fix typing syntax for multiple string literals (#3212) 2025-03-01 17:20:42 +11:00
correctmost d6ea7b011f
Fix a used-dummy-variable ruff warning (#3203) 2025-02-26 07:35:25 +11:00
Daniel Girtler 1ddc74af21
Remove debug output for all commands (#3201) 2025-02-25 11:20:43 +01:00
Daniel Girtler 245b84194a
Remove duplicate loading of archinstall (#3200) 2025-02-25 20:31:38 +11:00
Daniel Girtler 74b41dea96
Add additional package selector (#3196) 2025-02-24 17:57:26 +11:00
codefiles 4a477351e0
Fix manual partitioning device wipe status (#3198) 2025-02-24 12:18:14 +11:00
codefiles 4b07f8a3ae
Rework default partition table (#3197) 2025-02-23 21:16:11 +01:00
Daniel Girtler 8b375c97a5
Fix version parsing for local branches (#3190)
* Fix version parsing for local branches

* Fix tests

* Fix tests
2025-02-23 09:44:25 +01:00
codefiles a51475e0ed
Refactor default partition table (#3194) 2025-02-23 18:51:25 +11:00
codefiles d69441a2da
Fix typing for enc_conf parameter (#3195) 2025-02-23 18:50:32 +11:00
codefiles 201968cf2e
Show device wipe status in Info for Partitioning (#3193) 2025-02-23 10:20:37 +11:00
codefiles b83bc79d91
Fix MBR conditional (#3192) 2025-02-23 10:20:06 +11:00
summoner001 c364917324
Update hungarian translation (#3191)
Fix typos with Lokalize and PO-Edit.
2025-02-22 23:02:54 +11:00
Moritz 3f762feced
Update base.po (#3184)
-Translation Update
2025-02-20 07:37:13 +11:00
Daniel Girtler b57f7f91cf
Integrate new arguments data structure (#3167)
* Integrate new args dataclass

* Integrate args

* Update

* Update

* Update

* Update
2025-02-20 07:35:59 +11:00
Celestial.y a9ae064359
Improve, fix and complete zh-CN translation (#3180)
* Minor fixing README for translation.

* Improve/fix/add translation for zh-CN

* Compile translation
2025-02-19 08:04:24 +11:00
Odyssey f73800c6dd
Update Catalan translation (#3175) 2025-02-14 12:21:39 +11:00
Luna Jernberg 579f2ba498
Update base.po (#3171)
Update Swedish translation
2025-02-11 18:25:20 +11:00
Korsil Vladivostok bcbdf2346b
Update base.po (#3164)
* Update base.po

* Update base.po

Latest review made at base.po pt-br file before Pull Request
2025-02-08 11:54:04 +11:00
walken 85d89c7b33
Czech localization update (#3163) 2025-02-08 11:52:16 +11:00
utuhiro78 419b320e9e
Update Japanese translation (#3157) 2025-02-02 10:14:49 +11:00
summoner001 94ae4e3dd7
Update hungarian translation (#3153)
Translate new strings and add minor fixes.
2025-02-01 08:30:56 +11:00
DrakeCoding 71a6c84df0
Fixed grammar under function "get_arguments" (#3152) 2025-01-31 14:24:51 +11:00
Franco Castillo ae3f59ccae
Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149)
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2025-01-31 07:25:44 +11:00
uday e110492b56
Replace Sway with Hyprland in profile seat selection (#3145) 2025-01-29 08:15:31 +11:00
Wise 0b89966720
Update missing translation strings for TR (#3142) 2025-01-24 12:32:06 +11:00
codefiles f05af2e6c4
Consolidate preparations for lvm and partitions (#3135) 2025-01-23 17:50:35 +11:00
Anton Hvornum 6653a4e5a9
Removed requirement for root for pylint (#3138) 2025-01-22 19:46:44 +01:00
Anton Hvornum 7ccc288b14
Bumping to version 3.0.2 (#3137) 2025-01-22 19:03:33 +01:00
Daniel Girtler 6c6ceef6f2
Fix remote mirrorlist parsing (#3136) 2025-01-22 10:04:59 +01:00
correctmost 8aa479bf3e
Use float instead of int for pre-validated mirror score fields (#3079)
This fixes an unnecessary-round ruff warning in validate_score.
2025-01-22 18:54:32 +11:00
Anton Hvornum 6d371da5df
Remove reiserfs as it's been deprecated since 2022 (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a452c4eb404df8a7f2a79a37ac77b90b6db1a2c9) and been removed in the kernel as of 2024-11-21 (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c01f664e4ca210823b7594b50669bbd9b0a3c3b0) (#3134) 2025-01-21 18:53:55 +01:00
Daniel Girtler 4aa8317b7c
Add skip for partitioning menus (#3121) 2025-01-21 18:42:16 +01:00
Daniel Girtler 985775b143
Fix misaligned table headers (#3120) 2025-01-21 18:41:47 +01:00
Daniel Girtler 64f08cc890
Fix scrolling in console (#3113) 2025-01-21 18:41:23 +01:00
Daniel Girtler fb159a8255
Fix 3081 - Local mirrorlist parsing bug (#3104)
* Fix 3081 - shortcircuit on empty mirror options

* Update

* Update
2025-01-21 18:40:54 +01:00
Daniel Girtler fc63d45fe6
Remove deprecated swiss config (#3042)
* Remove deprecated swiss config

* Update
2025-01-21 12:42:31 +01:00
codefiles ee69e19f8b
Refactor preparations for fs type and encryption (#3130) 2025-01-20 20:22:43 +11:00
codefiles 19c390e072
disk: add support for creating swap partitions (#3129) 2025-01-18 16:48:48 +11:00
correctmost c94d0a56d9
Enable most flake8-commas rules in ruff and fix warning (#3122) 2025-01-15 16:30:13 +11:00
codefiles 41215741f0
disk: add udev sync after partitioning (#3119) 2025-01-14 14:23:25 +11:00
codefiles d5bbda1e2f
Refactor cmd path check using startswith() (#3117) 2025-01-14 14:22:47 +11:00
codefiles b7a5d00676
Remove superfluous /usr/bin/ from commands (#3115) 2025-01-13 14:42:39 +11:00
correctmost c0a2de4330
Enable the set-attr-with-constant ruff rule and fix warnings (#3114) 2025-01-12 15:02:06 +11:00
correctmost 457e790bd0
Enable most flake8-bugbear rules in ruff (#3110) 2025-01-12 11:51:06 +11:00
correctmost 4212357c6f
Use removeprefix/removesuffix instead of incorrect lstrip/rstrip calls (#3109) 2025-01-12 11:50:09 +11:00
codefiles 6681501904
Fix Btrfs subvolume mount options (#3108) 2025-01-12 11:46:34 +11:00
correctmost 47736c4060
Avoid reassigning a parameter value to fix Pyright warnings (#3106) 2025-01-12 11:45:41 +11:00
codefiles 3409f84e79
Use list comprehension (#3105) 2025-01-12 11:30:27 +11:00
correctmost e7f2a8c203
Fix some mypy warnings in archinstall/lib/ (#3103) 2025-01-11 15:44:43 +11:00
codefiles 22b410d082
Change to import Path for consistency (#3101) 2025-01-11 15:42:50 +11:00
codefiles 700294f19a
disk: validate first partition start (#3096) 2025-01-10 20:12:47 +11:00
codefiles c081f77d57
pacman/repo: use StrEnum (#3088) 2025-01-08 12:13:11 +11:00
correctmost 10a12dc855
Fix mutable-class-default ruff warnings (#3087) 2025-01-08 10:23:07 +11:00
codefiles 6398f6852d
audio: use StrEnum (#3084) 2025-01-08 07:45:19 +11:00
correctmost 40210f8733
Fix used-dummy-variable ruff warnings (#3083) 2025-01-08 07:44:48 +11:00
codefiles 9163e8c84c
disk: rework manual partitioning (#3071)
* disk: rework manual partitioning

* disk: fix end alignment

* disk: validate config

* test: fix disk config partition overlap
2025-01-08 07:44:03 +11:00
correctmost e712144e5d
Fix falsy-dict-get-fallback ruff warnings (#3077) 2025-01-08 07:38:40 +11:00
codefiles fd91cbaac1
pacman/repo: update enum members to uppercase (#3076) 2025-01-08 07:37:43 +11:00
codefiles fa515dfdc6
general: remove superfluous callbacks variable (#3075) 2025-01-08 07:36:12 +11:00
codefiles 6dab4650fa
audio: capitalize enums (#3067) 2025-01-03 15:24:10 +11:00
codefiles 547ce8033d
audio: remove incorrect use of dataclass (#3058) 2025-01-03 13:44:25 +11:00
codefiles 18ef7fd469
Use Path.chmod() (#3051) 2025-01-03 13:41:41 +11:00
codefiles 459b84b6fe
Rework mount point argument (#3041) 2024-12-23 11:04:16 +11:00
codefiles d5c5b60d5c
Rework profiles path (#3040) 2024-12-23 09:08:48 +11:00
codefiles 5f8cdcb39b
disk: change from_partition() parameters (#3039) 2024-12-23 09:08:02 +11:00
codefiles 24ff132f93
general: remove unspecified exception handling (#3035) 2024-12-22 10:21:56 +11:00
codefiles c978c841de
disk: move ENC_IDENTIFIER (#3034) 2024-12-22 10:21:21 +11:00
codefiles 9b5fd6bad5
mirrors: use pydantic model_validate_json() (#3033) 2024-12-20 17:26:45 +11:00
codefiles 367c8d781c
general: rework environment_vars (#3032) 2024-12-20 17:26:11 +11:00
codefiles f685849b8d
luks: remove superfluous _mapper_dev (#3031) 2024-12-20 17:25:12 +11:00
codefiles ae51af67a3
Remove disk retries and timeouts (#3025) 2024-12-19 17:49:44 +11:00
Mohamed E d2ef961b32
[Feat] Wayfire support (#3020)
* add profile

* fix pylint
2024-12-18 07:04:48 +11:00
lazysixoeight 5288e246ec
Specified GNOME as an acronym (#3023) 2024-12-16 20:49:42 +11:00
Daniel Girtler 1ff04c6df0
Use ctrl+h for help menu trigger (#2996) 2024-12-12 09:43:54 +01:00
codefiles 4dccd54cbd
Replace commonprefix() with commonpath() (#3016) 2024-12-09 13:25:08 +11:00
codefiles 3716df9bb7
Fix pre-mounted Btrfs subvolumes root detection (#3014) 2024-12-09 10:38:16 +11:00
codefiles 4592280baa
Refactor set_mirrors() (#3011) 2024-12-08 15:07:17 +11:00
codefiles ae3b0f8d75
Remove superfluous try in get_btrfs_info() (#3010) 2024-12-08 09:01:51 +11:00
Daniel Girtler 1d278f8abd
Fix 2991 - Restructure the mirror list handling (#3007)
* Fix 2991 - mirror configuration

* Update

* Update

* Update
2024-12-08 08:58:16 +11:00
codefiles 8f2bf2b737
Refactor set_hostname() (#3009) 2024-12-08 08:57:31 +11:00
codefiles 3400991c9b
Refactor enable_sudo() (#3008) 2024-12-08 08:56:58 +11:00
codefiles 19a0d49509
Update partition flags value (#3006) 2024-12-07 11:48:49 +11:00
codefiles 0a9fae2e57
Replace deprecated pydantic parse_raw() (#3004) 2024-12-07 10:20:23 +11:00
zbik 3905bfe31a
Update plasma.py (#2998)
changed kwrite to kate as the two packages merged together in 2022 and removed egl-wayland (why was it there in the first place?)
2024-12-03 20:03:42 +11:00
Michael Ziminsky (Z) 256f206b9e
btrfs improvements and fixes (#2970) 2024-12-01 18:35:30 +11:00
correctmost 60842bd1cf
Enable bare-except linter rules and fix warnings (#2988) 2024-12-01 18:34:51 +11:00
correctmost 0bc2ad700f
Enable the "unreachable" pylint warning and remove unused code (#2987)
The os.fsync call causes an "invalid argument" OSError when it
actually runs, so it has been removed altogether.

Closes #2773
2024-12-01 18:34:00 +11:00
correctmost 507e4322d6
Remove unused SysCommand.__json__ method (#2986) 2024-12-01 18:33:22 +11:00
correctmost 8fa5ec15af
Enable the yield-in-for-loop ruff rule and fix warnings (#2984) 2024-12-01 17:50:11 +11:00
correctmost af043afa88
Enable the unnecessary-lambda pylint rule and fix warnings (#2983) 2024-12-01 17:44:39 +11:00
correctmost e0db642366
Fix "selction" typo (#2981) 2024-12-01 17:43:29 +11:00
correctmost b49b5bfa11
Fix "Pssword" typo (#2980) 2024-12-01 17:42:33 +11:00
correctmost 760963f7a6
Enable the unused-variable pylint rule and fix warnings (#2978) 2024-12-01 17:41:34 +11:00
correctmost f578ac4ade
Remove unused argument from GlobalMenu._get_menu_options (#2977) 2024-12-01 17:41:03 +11:00
correctmost eacc28d577
Remove unused argument from AbstractCurses._confirm_interrupt (#2976) 2024-12-01 11:13:04 +11:00
correctmost a8fad93ae0
Add missing typing.override annotations reported by Pyright (#2974)
This commit also removes duplicated code in Viewport._replace_str.
2024-12-01 11:01:16 +11:00
correctmost 6a6642a9c1
Replace some Any instances with specific type hints (#2973) 2024-12-01 09:17:10 +11:00
correctmost 0a1d036750
Remove unused VersionDef class (#2972)
This allows the comparison-with-callable pylint rule to be enabled.
2024-12-01 08:40:38 +11:00
correctmost 007f2ff797
Use TypedDict to annotate disk-related serializations (#2935) 2024-11-30 22:56:46 +11:00
correctmost 1e6492d34a
Enable the printf-string-formatting ruff rule and fix warnings (#2967) 2024-11-30 22:54:20 +11:00
correctmost b0222111f5
Enable the redefined-builtin pylint rule and fix warnings (#2966) 2024-11-30 22:53:54 +11:00
correctmost 604526c3c8
Enable the f-string ruff rule and fix warnings (#2965) 2024-11-30 20:03:09 +11:00
correctmost d4c04a83a3
Enable the redefined-outer-name pylint rule and fix warnings (#2964) 2024-11-30 20:01:38 +11:00
correctmost 2825818af6
Enable useless-parent-delegation pylint rule and fix warnings (#2962) 2024-11-30 19:59:28 +11:00
correctmost 80eebcff4f
Enable the explicit-f-string-type-conversion rule and fix warnings (#2954) 2024-11-29 06:43:13 +11:00
correctmost f314b7be54
Replace some Any instances with specific type hints (#2950) 2024-11-28 20:14:58 +11:00
correctmost a28fb27a7a
Use human-friendly names in mypy and Pylint ignore directives (#2946) 2024-11-27 06:48:38 +11:00
Daniel Girtler 198efb5f53
Fix 2916 - Reinstate prompt in list menus (#2940)
* Reinstate prompt in list menus

* Ruff
2024-11-26 11:10:48 +01:00
Daniel Girtler e51f7adf21
Dataclasses for args and config (#2936)
* Introduce dataclass for arguments and configuration

* Update

* Update
2024-11-26 11:08:36 +01:00
correctmost f2bc5ff280
Remove unused Selector class (#2938)
The code is unused as of 88b91ae201.
2024-11-26 12:22:16 +11:00
correctmost ee2ed3fe54
Start using typing.override to annotate overridden methods and properties (#2934) 2024-11-25 19:51:16 +11:00
correctmost 8d807c08ee
Use precise type hints for most DeferredTranslation references (#2929)
The remaining "_: Any" instances will require accompanying code
changes.
2024-11-25 18:49:22 +11:00
correctmost 6c37ba68e2
Remove unused singleton utility code (#2931) 2024-11-25 18:45:01 +11:00
Anton Hvornum aa80f8cf41
Bump to version 3.0.1 (#2920) 2024-11-23 11:45:32 +01:00
codefiles 7eb1f47084
Use binary units (#2917) 2024-11-23 08:53:32 +01:00
Daniel Girtler 5c83e230df
Fix 2915 - Reinstate partition information in device selection (#2919)
* Fix regresion in device selection - show partition info

* Fix linting
2024-11-23 08:52:53 +01:00
ots25 41600aefa4
Add files via upload (#2912)
Update  and fix Arabic translation
2024-11-23 08:19:36 +11:00
Thierry M b2b3a728a0
Update base.po (French) (#2907)
Hello,
Here is the update on the French language.
Best regards,
Roxfr
2024-11-22 19:07:11 +11:00
codefiles f5447e91c4
Increase suggested root partition size (#2905) 2024-11-22 07:23:21 +11:00
codefiles bda0752eec
Change partition flag name Boot -> BOOT (#2903) 2024-11-21 12:22:50 +11:00
codefiles 7fd726f03f
Fix log disk states (#2902) 2024-11-21 10:50:43 +11:00
utuhiro78 1464806f18
Update Japanese translation (#2900) 2024-11-21 09:01:09 +11:00
codefiles 0eac05cecc
Add linux-home partition flag (#2898) 2024-11-20 15:32:29 +01:00
codefiles 611af783aa
Fix partition flag value (#2897) 2024-11-20 14:49:34 +01:00
codefiles 83d222cec6
Rework partition flag (#2895) 2024-11-20 07:55:09 +01:00
codefiles 3453816b38
Fix hostname None (#2893) 2024-11-20 16:32:05 +11:00
walken f827851560
Czech localization update (#2891) 2024-11-20 13:04:56 +11:00
Hugo Carvalho 1e3fb257a2
Update portuguese translation (#2886) 2024-11-19 23:41:57 +01:00
codefiles 4f704b8501
Refactor partition type GUID (#2890) 2024-11-19 23:41:27 +01:00
Daniel Girtler 20cc124a6d
Fix seat-access selection (#2885)
* Fix seat-access selection

* Format import
2024-11-19 14:50:16 +01:00
BringBack1800s 69b443c1ad
Update hyprland.py (#2879) 2024-11-19 18:49:16 +11:00
summoner001 68a221ea1b
Update hungarian translation (#2884)
Fixing the „custom” word coherence.
Fixing mispelled „zram” -> zRam
2024-11-19 18:48:41 +11:00
codefiles f19f35897b
Add _get_key_file() (#2882) 2024-11-19 18:37:24 +11:00
codefiles 594ca3504f
Fix btrfs skip mount options (#2881) 2024-11-19 18:36:31 +11:00
Odyssey f034c3693c
Update Catalan translation (#2883) 2024-11-19 18:31:11 +11:00
correctmost f3f7700945
Remove unused Any instances from TYPE_CHECKING blocks (#2878)
This will make it easier to start removing more Any instances from
the codebase.
2024-11-19 18:30:41 +11:00
correctmost 3255744278
Sort and format remaining imports (#2877)
This commit also enables isort rules in the Ruff config.
2024-11-19 11:18:47 +11:00
correctmost 955b2cfc3e
Sort and format imports in lib/disk/ (#2875) 2024-11-18 23:29:56 +01:00
correctmost b3421c0a82
Sort and format imports in scripts/, tui/, and top-level files (#2874) 2024-11-19 08:16:38 +11:00
correctmost 0aa6dcc78e
Sort and format imports in examples/ and default_profiles/ (#2873) 2024-11-19 07:54:17 +11:00
correctmost 7776f82cbc
Reduce the max line length from 220 to 160 by wrapping some lines (#2867)
This will make it easier to auto-format import sections.
2024-11-19 07:50:53 +11:00
utuhiro78 89425912b9
Update Japanese translation (#2869) 2024-11-18 22:01:18 +11:00
correctmost 80b4dab092
Remove remaining Optional and Union usage from the codebase (#2868) 2024-11-18 20:59:08 +11:00
correctmost 97d6d84c3c
Replace most Union[] instances with pipe syntax (#2843) 2024-11-18 20:07:14 +11:00
correctmost 9626965982
Remove remaining deprecated typing.Dict and typing.List usage (#2859) 2024-11-18 20:02:35 +11:00
Daniel Girtler 41e5a0fcfd
Fixes 2849 (#2862) 2024-11-18 09:54:29 +01:00
Daniel Girtler f648eb6d66
Fix 2860 (#2863) 2024-11-18 09:52:32 +01:00
codefiles 6ca80d1fd7
Fix partition creation size end (#2858) 2024-11-18 09:04:12 +11:00
codefiles 8fc3dc4358
Parse lsblk data with pydantic (#2775) 2024-11-18 07:42:09 +11:00
Franco Castillo 74fd463873
Update Spanish translation (#2853) 2024-11-18 07:22:21 +11:00
summoner001 0c9064d6ad
Update Hungarian Translation (#2852)
Translate new strings
2024-11-18 07:22:04 +11:00
codefiles 80bba6c52b
Fix partition creation default size (#2856) 2024-11-18 07:20:12 +11:00
codefiles fad97e8465
Fix EditMenu input text (#2855) 2024-11-18 07:18:42 +11:00
utuhiro78 5aa73a5edc
Update Japanese translation (#2854) 2024-11-18 07:17:49 +11:00
Luna Jernberg 242ecc1ed2
Update base.po (#2848)
Update Swedish translation for 3.0
2024-11-17 12:07:38 +01:00
Anton Hvornum c16df5d80e
Bump to version 3.0.0 (#2847) 2024-11-17 10:02:51 +01:00
codefiles 68e2d8c3fa
Fix _mount_luks_partition() (#2838) 2024-11-17 09:40:52 +01:00
correctmost 80ad332d31
Enable multiple-statements-on-one-line-colon rule and fix warnings (#2845) 2024-11-17 19:39:14 +11:00
correctmost f13f3d53b6
Enable arguments-renamed Pylint rule and fix warnings (#2842) 2024-11-17 11:03:18 +11:00
correctmost 0dc77f8e8a
Replace more Optional instances with union syntax in lib/ (#2841) 2024-11-17 11:01:57 +11:00
correctmost 57e4362a49
Remove unreachable return statement in _handle_interrupt (#2840) 2024-11-17 11:00:16 +11:00
correctmost 6383b5e82f
Replace Optional with union syntax in scripts/ and tui/ (#2839) 2024-11-17 09:49:10 +11:00
correctmost 25172bd0f8
Start replacing Optional with union syntax in lib/ (#2837) 2024-11-17 09:03:01 +11:00
correctmost 8cda091e6d
Start replacing Optional with union syntax (UP007 rule in Ruff) (#2836) 2024-11-17 09:02:08 +11:00
Anton Hvornum 58e4a94fdf
Converting systemctl call to a simple ln call for debus reasons (#2835)
* Converting systemctl call to a simple ln call for debus reasons #2764
2024-11-16 18:55:21 +01:00
correctmost 9bed81522d
Fix unnecessary-class-parentheses (UP039) Ruff warning (#2833) 2024-11-16 20:55:17 +11:00
correctmost b96194d51a
Fix super-call-with-parameters (UP008) Ruff warning (#2832) 2024-11-16 20:54:46 +11:00
correctmost 44eb7f92e9
Fix useless-object-inheritance (UP004) Ruff warning (#2831) 2024-11-16 20:54:14 +11:00
correctmost d644b5cae2
Replace deprecated socket.error exception with OSError (#2830)
This warning was raised by the UP024 rule in Ruff.
2024-11-16 20:53:43 +11:00
correctmost 2d6eef4672
Fix redundant-open-modes (UP015) warnings from Ruff (#2828) 2024-11-16 20:52:55 +11:00
correctmost 44f4bc8612
Use union syntax for isinstance checks (UP038 rule in Ruff) (#2829) 2024-11-16 10:47:01 +01:00
Daniel Girtler b61b5c82fa
Simplify translation call in f-string (#2826) 2024-11-16 10:46:33 +01:00
correctmost 2408b597be
Enable the E128 flake8 rule for all code except for __init__.py (#2827)
This commit also fixes a few files that had non-uniform indentation.
2024-11-16 19:34:29 +11:00
correctmost 6102a08c6d
Enable the W504 binary operator rule in flake8 (#2825) 2024-11-16 18:57:08 +11:00
correctmost ecad6762e5
Fix some mypy warnings in the lib/ directory (#2822) 2024-11-16 18:27:26 +11:00
goose3228 a0d88f5ee2
Warn user when UEFI is disabled (#2806) 2024-11-16 18:23:08 +11:00
correctmost 1af5135013
Enable the flake8-implicit-str-concat Ruff rules (#2819) 2024-11-16 17:07:14 +11:00
correctmost 01b72b9293
Remove most of the remaining deprecated typing imports (#2818) 2024-11-16 14:01:24 +11:00
correctmost e23e5e7f2a
Enable stricter global mypy defaults (#2817)
Some checks only need to be disabled for the lib/ directory now.
2024-11-16 13:56:43 +11:00
correctmost a4935bdd10
Fix mypy warnings in the tui/ directory (#2816) 2024-11-16 12:00:31 +11:00
correctmost c87c723549
Remove most deprecated typing.Dict usage (#2813) 2024-11-16 11:57:46 +11:00
correctmost dff101e279
Remove most deprecated typing.List usage (#2810) 2024-11-16 10:13:51 +11:00
Daniel Girtler 88b91ae201
Integrate new curses menu (#2663)
* Edit text menu

* Fix alignment

* Scroll functionality

* Fix flake8

* Migrate locales menu

* Fix language translation

* Fix interrupt

* Fix flake8

* Edit mode preset

* Convert print to tui prints

* Fix mypy

* Fix cycling through long menu

* Fix profile view

* Fix scrolling

* Fix scrolling

* Fix mypy

* Fix swiss script

* Display asterisk for passwords

* Corrected a variable usage in the local mirror parsing

* Made sure that curses menu selection on mirrors use url object from mirror.url instead of the class instance

* Fixed mypy type on mirror list

---------

Co-authored-by: Torxed <torxed@archlinux.org>
2024-11-15 08:23:22 +01:00
Jack Desert 591b8317ea
Notify user of LOG_PATH upon completion (#2804)
Co-authored-by: jack <jack>
2024-11-15 13:56:54 +11:00
Thiago Castro 040a6aba27
Package name correction 'xss-lock', i3.py (#2796)
Package name correction 'xss-lock' needed in the base installation of the i3 desktop.

Link to the caused error and related issue:
Issue: https://github.com/archlinux/archinstall/issues/2790
Pull: https://github.com/archlinux/archinstall/pull/2791
Man: https://man.archlinux.org/man/xss-lock.1
2024-11-11 10:57:50 +11:00
Daniel Girtler 28eaa8c0e4
Wait for LVM info to appear (#2778)
* Wait forever for LVM info

* Update
2024-11-09 14:20:25 +01:00
Jack Desert de664dfa39
Include xss-set when installing i3wm (#2791)
Co-authored-by: jack <jack>
2024-11-09 10:16:15 +01:00
Daniel Girtler 9951c90bf9
Fix local mirror selection (#2789) 2024-11-09 09:49:23 +01:00
Daniel Girtler 83ece36ec3
Ignore disk encryption config when no password found (#2779) 2024-11-07 13:08:42 +01:00
correctmost 0370e893ac
Enable the self-assigning-variable Pylint warning (#2772) 2024-11-04 18:34:05 +01:00
correctmost aecf3ea553
Add Pylint support and enable Pylint CI checks (#2658) 2024-11-04 14:30:28 +01:00
Suica e3123671bf
Retry when speedtest fails. (#2657) 2024-11-04 12:59:39 +01:00
Daniel Girtler 4a06131f4d
fix-2740 - Handle empty iface selection (#2747) 2024-11-04 12:42:54 +01:00
Daniel Girtler 918ac5c765
Fix 2735 - Erase luks partition explicitly (#2745) 2024-11-04 12:42:12 +01:00
codefiles 7437668f1e
Handle lsblk output bytes in json.loads() (#2741) 2024-11-04 12:39:31 +01:00
codefiles 481b570dae
Move logging code outside of command execution try-except block (#2739) 2024-11-04 12:38:58 +01:00
Daniel Girtler 8ec1715eb8
Fix 1716 - Retry on mirror list fetching (#2736)
* Fix 1716 - retry on http calls

* Update

* Update
2024-11-03 21:46:08 +01:00
Aindriú Mac Giolla Eoin 2fab780c74
Added Irish/Gaeilge to installer languages (#2761) 2024-10-31 10:39:57 +11:00
Hugo Carvalho b3249badf3
Update Portuguese translation (#2763)
Improvements and corrections
2024-10-31 09:49:05 +11:00
Favilances 59384615a5
Update Turkish translation (#2760) 2024-10-28 22:13:28 +11:00
summoner001 b8f0944b19
Update hungarian translation (#2733)
Minor fixes and polishing the text.
2024-10-16 07:48:35 +11:00
summoner001 e452804625
Update hungarian translation (#2730)
fix misspells
fix coherence in the sentences
simplifying senteces
make more corence with other linux installers (example: ubiquity, calamares)
2024-10-14 09:56:04 +11:00
Luna Jernberg a061e8e4f3
Update and Complete -- Swedish Translation (#2725)
* Update base.po

Found a typo when installing Arch Linux to a couple of new NVMEs from Seagate/WD from Inet/Webhallen yesterday and today, found a typo fixed a typo, added some more Swedish while i was at it

* Update base.po

Update and complete Swedish Translation
2024-10-09 12:20:49 +11:00
Luna Jernberg 155610add0
Update base.po (#2717)
Found a typo when installing Arch Linux to a couple of new NVMEs from Seagate/WD from Inet/Webhallen yesterday and today, found a typo fixed a typo, added some more Swedish while i was at it
2024-10-04 07:43:20 +10:00
codefiles 661328767c
Exclude archiso loop device (#2715) 2024-10-03 16:11:20 +10:00
summoner001 a93bac15da
Fixing hungarian translation (#2709)
Minor fix
2024-10-02 07:20:47 +10:00
summoner001 7341383d90
Fixing hungarian translation (#2702)
Fixing hungarian translation
2024-09-29 12:05:16 +10:00
codefiles 1682574905
Remove duplicate sector_size (#2701) 2024-09-28 09:39:45 +10:00
codefiles 8db3c7d65d
Add get_loop_devices() (#2698) 2024-09-25 23:02:51 +10:00
codefiles 8e9b1bc727
Remove lsblk default columns (#2697) 2024-09-24 09:57:45 +10:00