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-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-17Fix selecting language layout by nameВладислав
2021-04-15Spelling errorAnton Hvornum
2021-04-14Increased margin to facilitate error outputAnton Hvornum
2021-04-14Removed layout filteringAnton Hvornum
This caused languages such as `be-latin1` to be hidden both in Search and direct input. Because as an example that layout belongs to `azerty` and not `qwerty`.
2021-04-14Added a default keyboard layoutAnton Hvornum
This is just in case either the search step or the selector inputs nothing. Something has to be set, and the default is US.
2021-04-14Modified return value back to {}Anton Hvornum
2021-04-14Reverted back to raiseAnton Hvornum
2021-04-14Converted back to a raise exception.Anton Hvornum
Since we simply forgot to actually call `raise` here (my bad) I think that will be better, and we handle it where we need to.
2021-04-14typoadvaithm
2021-04-14return {} not Noneadvaithm
2021-04-14git automerge removed some important stuffadvaithm
2021-04-14rebased to latest commitsadvaithm
2021-04-14fixed issues raised in a reviewadvaithm
2021-04-13Modifying to enable piping in custom environment variables. This is ↵Anton Hvornum
required to disable systemd coloring and paging when querying for service states. Otherwise it returns unreliable data that can cause hanging.
2021-04-13Closing forked process PID in order to close any ramining open file handles.Anton Hvornum
2021-04-13Fixing a logic issue with ask_to_configure_network(). It no longer returns ↵Anton Hvornum
None if skipped, it returns a dict so that we can do sub-level logic checks in guided.
2021-04-13Added option to not touch mirror-list. Example if archlinux.org times out, ↵Anton Hvornum
use the existing mirror-list without trying to overwrite it.
2021-04-13Merge pull request #295 from dylanmtaylor/patch-3Anton Hvornum
Default timezone to UTC (very useful for servers)
2021-04-13Merge pull request #289 from dylanmtaylor/chroot-promptAnton Hvornum
Implement chroot prompt after successful installation
2021-04-13Merge pull request #293 from JakobDev/osystemfixAnton Hvornum
Replace os.system with subprocess.call
2021-04-12Implement function to set the shell for a user (#291)Dylan M. Taylor
2021-04-12Default timezone to UTC (very useful for servers)Dylan M. Taylor
Update user_interaction.py
2021-04-12Move logic to guidedDylan Taylor
2021-04-12Adding some error handling to list_mirrors()Anton Hvornum
2021-04-12Implement chroot prompt after successful installationDylan Taylor
Try os.subprocess Revert to subprocess.check_call
2021-04-12Replace os.system with subprocess.callJakobDev
2021-04-11Make it yellowDylan M. Taylor
2021-04-11If user does not change keyboard language, log it.Dylan M. Taylor
2021-04-11Merge pull request #181 from zosman1/enhancement-systemd-service-wrapperAnton Hvornum
Allow multiple services to be enabled at once
2021-04-10Show size in partition string representationDylan Taylor
2021-04-10PR #271: (breaking changes) This fixes #124 and some moreAnton Hvornum
(breaking changes) This fixes #124 and some more
2021-04-10Pulled in master to avoid merge conflicts.Anton Hvornum
2021-04-10fix typoNicoHood
2021-04-10Added a #TODOAnton Hvornum
2021-04-10Modified encrypted partitions to use partuuid for now.Anton Hvornum
2021-04-09Merge branch 'master' into enhancement-systemd-service-wrapperZach Osman
2021-04-10Fixing UUID on encrypted partitions.Anton Hvornum
2021-04-09Removed some debugging.Anton Hvornum
2021-04-09List function call error.Anton Hvornum
2021-04-09Attempting to correct some inconsitencies in disk-parent reporting.Anton Hvornum
2021-04-09Attempting to correct some inconsitencies in disk-parent reporting.Anton Hvornum
2021-04-09Attempting to correct some inconsitencies in disk-parent reporting.Anton Hvornum
2021-04-09Attempting to correct some inconsitencies in disk-parent reporting.Anton Hvornum
2021-04-09Attempting to fix auto-detection of encrypted drives. So that #124 can ↵Anton Hvornum
perform reverse detection on partitions and detect encryption.
2021-04-09fixed some typos and changed up how we detect if we have to enable/install ↵advaithm
network manager
2021-04-09moved around the if blockadvaithm
2021-04-09fixed typoadvaithm