Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-04-22Actually, putting it here makes more sense.Dylan M. Taylor
2021-04-22Ignore dotfiles and globsDylan M. Taylor
2021-04-23Update logging for some functionsSecondThundeR
- Unified view of warning (red) and info (yellow) logs - Fixed some PEP8 related issues, like removing redundant f-strings and replacing double quotes to single ones - Removed warning logging level for simple logs - Removed other background color settings for logs to fully close https://github.com/archlinux/archinstall/pull/171
2021-04-23Remove unnecessary else in try...exceptSecondThundeR
This change simplifies the try...except block in generic_select by adding a break to the item selection by index
2021-04-22Restructured endless loop definitionAnton Hvornum
I prefer to easily spot an endless loop by not having external variables attached to the loop condition. Since we never updated `exists` it's a dummy variable that I expect to be updated some where in order to break it. When that's not the case, it's more clear that it's an endless loop if there's no conditions attached to the loop definition.
2021-04-22Update user_interaction.pyDylan M. Taylor
2021-04-22has uefi was removed from user_interactionsadvaithm
2021-04-22Merge github.com:archlinux/archinstall into master-mergeadvaithm
2021-04-22Fix other issues of language selectionSecondThundeR
2021-04-22fixed merge conflictsadvaithm
2021-04-22readded some commits that got removedadvaithm
2021-04-22merged with masteradvaithm
2021-04-22Update language selectionВладислав
Reverted generic_select changes and added ability to choose any layout at first input
2021-04-22Merge pull request #325 from SecondThundeR/generic-select-updateAnton Hvornum
Rework of the generic_select function and fixes for various input checks
2021-04-22Fixes the crash on empty profile choice. Since generic_select() returns ↵Anton Hvornum
None, we can't pipe that into Profile() (at least not yet)
2021-04-21user_interaction: Explicitly ask for username on super-user creation.jtagcat
2021-04-21Re-working top-level-profile lambda to be a parameter to list_profiles() ↵Anton Hvornum
instead. When skipping a profile, None is returned from somewhere and it causes a glitch. So trying to figure out where and what by cleaning up a bit
2021-04-21Merged in latest changes and history from torxed-2.2.0 to avoid odd history ↵Anton Hvornum
in PR #315
2021-04-21add efibootmgr only on uefi systemsadvaithm
2021-04-20added return trueadvaithm
2021-04-20fixed some weird grammeradvaithm
2021-04-20added /mnt to grubcfg genrationadvaithm
2021-04-20removed unnessacry --targetadvaithm
2021-04-20changed some stringsadvaithm
2021-04-20fixed shell command in add bootloaderadvaithm
2021-04-20reworked how we remove efimanageradvaithm
2021-04-20reworked how we remove efimanager and add grubadvaithm
2021-04-20call hasUEFIadvaithm
2021-04-20Add clarifying log text for generic_selectSecondThundeR
2021-04-20rebaseadvaithm
2021-04-20Merge branch 'torxed-v2.2.0' into torxed-v2.2.0Anton Hvornum
2021-04-20Fix TabError issue after uncommentingSecondThundeR
2021-04-20Merge pull request #285 from dylanmtaylor/patch-4Anton Hvornum
Change from argon2i to argon2id
2021-04-20Fix infinite loop on incorrect input of gateway IPSecondThundeR
2021-04-20Uncomment new check for gateway IP addressSecondThundeR
2021-04-20Add sort parameter for generic_selectSecondThundeR
Updated required features to support these change
2021-04-19Update some functionsSecondThundeR
Here are list of changes: - Added IP/subnet validation using Python's `ipaddress` module - Added workaround for network configuration modes where user can enter DHCP or IP without brackets. - Returned local printing options for some functions to keep `The above list...` - Moved booleans for `generic_select` below options and text parameters - Imported some functions from `archinstall` to reduce the`archinstall.` part of the lines. - Reduced variable name length for simplicity - Fixed some typos
2021-04-17Replace input with generic_select where necessarySecondThundeR
Here are list of changes: > From now on, `generic_select` will be called "Select function", for clarity - Slightly updated select function - Removed options output for some functions, where it's better to do with select function - Added sorting for all lists passed to select function - Replaced `dict.values()` with `dict` as options parameter - Simplified input checking for all functions that use the select function - Added temporary *(for now)* workaround for passing `?` and `help` inputs - Merged fix for `partition.format()`
2021-04-17Initial rework of generic_select functionSecondThundeR
Here are list of changes: - Removed `sort` parameter, since every function has a sorted list in most cases - Added two new parameters to disable local output of options items and allow empty input from the user by returning None - Added a while loop, where it returns each time a RequirementError is raised - Added log info for each input error to help figure out what the problem is - Changed the check of the stripped input length to compare with 0, since the length cannot be less than 0 - Changed `isdigit` to `isnumeric`, which returns False if given digit is negative - Slightly changed a check for an out of range error - Removed displaying the list of available options when input is incorrect, in order to prevent the screen from overflowing - Added log info if options list is empty - Added log info if options are not dictionary or list - Added dictionary values conversion to accept only list and dictionaries as option - Added sorting dictionary values by default
2021-04-17Removed merge artifact.Anton Hvornum
2021-04-17Fix selecting language layout by nameВладислав
2021-04-17Merging in master to feature branch.Anton Hvornum
2021-04-17Package called grub not grub-installMalccolm Haak
2021-04-17Whitespace needs to be tabs. Added test for UEFI, if not found add ↵Malccolm Haak
grub-install to pacstrap install
2021-04-16fixed mkinitcpioAggam Rahamim
2021-04-16fixing - letting user choose kernelAggam Rahamim
2021-04-16Adding debug data to the log. It will now contain lsblk before and after the ↵Anton Hvornum
installation to help with detecting any potential information. Also removed a traceback log that was for debugging purposes.
2021-04-16added option to choose kernelAggam Rahamim
2021-04-15Spelling errorAnton Hvornum
2021-04-14Increased margin to facilitate error outputAnton Hvornum