Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/user_interaction.py
AgeCommit message (Collapse)Author
2021-03-08Reworked the guided partitioning logic to better match new expectations of ↵Anton Hvornum
flexability. Still some work to be done and features to be implemented, but the structure is taking place
2021-03-08Fixed expected return value from ask_for_disk_layout(). I think I have to ↵Anton Hvornum
throw an eye on generic_select() and it's expected return value in general.. But that's later.
2021-03-08Added a abort messageAnton Hvornum
2021-03-08Added a abort messageAnton Hvornum
2021-03-08Added a small menu instead of a one-liner to select what to do with the disk ↵Anton Hvornum
if it has partitions.
2021-02-17Removed redundant variableAnton Hvornum
2021-02-17Added some forgotten importsAnton Hvornum
2021-02-17Simplified profile prep-execution slightly in guided.py. The code can be ↵Anton Hvornum
improved further but it's now more easily read what's going on.
2021-02-17Simplifying the profile loading a bit, and adding some debugging for it.Anton Hvornum
2021-02-17Cleaning up guided.py a bit to be less complex and convoluted, while still ↵Anton Hvornum
performing the same task.
2021-02-17Implemented #106 in branch skip-partitioning. Also moving the disk_password ↵Anton Hvornum
from being a local variable to a BlockDevice setting/variable.
2020-11-11Fixed generic_select() to accept (and break on) empty selects.Anton Hvornum
2020-10-19Fix typos.Varun Madiath
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Logical issue with how I'm used to dealing with selecting list indexes.Anton Hvornum
2020-10-18Wrong variable name (from a copy paste issue)Anton Hvornum
2020-10-18Added profile `desktop.py` which helps users select a desktop environment. ↵Anton Hvornum
Also added `archinstall.generic_select` to help with selecting generic things from a list of options.
2020-10-01Added user_interaction documentation.Anton Hvornum
2020-09-30Fixing a import logic issue. We don't want to trigger if __name__ ... during ↵Anton Hvornum
_prep_function() calls. So we'll import the module with a specific namespace containing the .py which shouldn't be able to happen when normal programmers do normal imports as .py gets removed normally.
2020-09-30Fixed a bug where if you selected a region by name, not number. It would ↵Anton Hvornum
bork out.
2020-09-30Fixed a type-oAnton Hvornum
2020-09-30Finalized magic function _prep_function(). Gets returned when a profile is ↵Anton Hvornum
imported through archinstall.select_profile() user-interaction helper function. Asks for additional user-input right away rather than half way into the installation. This makes sure user input is taken care of before starting the installation. Although it complicates the code layout a tiny bit. Profiles need a __name__ and a _prep_function combo in order to be safely executed by select_profile(). select_profile() will not attempt to run or execute the code in any way unless those to conditions are met. In theory :)
2020-09-29Fixed some selection processes.Anton Hvornum
2020-09-29Adding a baseline xorg profile that can be called from other profiles. Such ↵Anton Hvornum
as the awesome profile, and in the future gnome and kde.
2020-09-01Tweaking the mirror selection vs automatic mirror processes.Anton Hvornum
2020-09-01Fixed copy paste issue within code in the select function.Anton Hvornum
2020-09-01Spelling errorAnton Hvornum
2020-09-01Spelling errorAnton Hvornum
2020-09-01Added user interaction: select_mirror_RegionsAnton Hvornum
2020-09-01Added locale helpers in terms of keyboard language/layout. ↵Anton Hvornum
archinstall.list_keyboard_languages(), archinstall.search_keyboard_layout() and archinstall.set_keyboard_language() work together to help listing, finding and setting a keyboard layout in terminals. Won't work for X-frontends, but will do for CLI installation methods. Added a language selector-helper-function with a crude search functionality. Added all this to the guided template.
2020-07-06Converted the lib to a pip supported structure to make packaging easier. ↵Anton Hvornum
Also tweaked some minor issues and added the AUR function