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-06-13Working suggested single disk layout, preparing for multiple selections.Anton Hvornum
2021-06-10Renamed vfat -> fat32 for the purpose of consistency. Most actions are ↵Anton Hvornum
referring to fat32, it's only mkfs that has the notion vfat and then -F32 for format 32. And I think vfat confuses more people than it does good, so sticking with fat32 which works better with parted as well. Also added the partitioning logic, started on the mounting logic
2021-06-10Added wipe support to layout definitions. Also changed default start ↵Anton Hvornum
positions of partitions to 1MiB in.
2021-06-10Clarify driver recommendations (#572)Dylan M. Taylor
2021-06-10Merging in latest changes from master.Anton Hvornum
2021-06-10Started working on partitioning logic from declarative layouts.Anton Hvornum
2021-06-10Merge pull request #537 from archlinux/torxed-fix-517Anton Hvornum
Introduces the use of HTTP mirrors additionally
2021-06-06Removed the bulk of disk-operations from guided, and will move the logic ↵Anton Hvornum
into the Filesystem() class instead.
2021-06-06Added a json.dumps() helper that wraps JSON cls. Also tweaked the logic for ↵Anton Hvornum
the size creation so that they don't overlap
2021-06-04Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-rework-partitioning
2021-06-04Merged in changes from masterAnton Hvornum
2021-06-02Remove line explaining desktop profileDylan Taylor
2021-06-02Add description to profile listingDylan Taylor
2021-06-01Windows fix + Sorting based on listAnton Hvornum
This fix introduces changes so that development can be done (and tested) on other platforms than Linux. This is a convenience fix and shouldn't break anything (simply a few Linux-specific imports that have moved into the functions where they are used). This commit also introduces sorting based on a list of priorities (where the default will be last if not matched).
2021-05-27Change ordering of example profilesDylan M. Taylor
2021-05-27made it more clearnullrequest
using Redecorating's suggestion in the discord
2021-05-27Make it more clear what the desktop profile doesnullrequest
2021-05-24Merged in latest changes from masterAnton Hvornum
2021-05-22Forgot an important import.Anton Hvornum
2021-05-22Fixes docstrings.Anton Hvornum
2021-05-22Re-worked the select_profile() user interaction. It no longer takes options ↵Anton Hvornum
as a parameter, instead it sources the profiles available, prints a curated list but allows for any input that is a valid profile.
2021-05-21Merging in latest changes from master and resolved conflicts.Anton Hvornum
2021-05-19Reworking SysCommand & Moving to localectl for locale related activitiesAnton Hvornum
* Moving to `localectl` rather than local file manipulation *(both for listing locales and setting them)*. * Swapped `loadkeys` for localectl. * Renamed `main` to `maim` in awesome profile. * Created `archinstall.Boot(<installation>)` which spawns a `systemd-nspawn` container against the installation target. * Exposing systemd.py's internals to archinstall global scope. * Re-worked `SysCommand` completely, it's now a wrapper for `SysCommandWorker` which supports interacting with the process in a different way. `SysCommand` should behave just like the old one, for backwards compatibility reasons. This fixes #68 and #69. * `SysCommand()` now has a `.decode()` function that defaults to `UTF-8`. * Adding back peak_output=True to pacstrap. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Dylan Taylor <dylan@dylanmtaylor.com>
2021-05-18Proofreading: Fix misc. spelling and grammar issuesDylan Taylor
2021-05-15Perform refactoring to PEP 8 naming conventionsDylan Taylor
2021-05-15Remove some redundant parenthesisDylan Taylor
2021-05-15Fix E712 Dylan Taylor
2021-05-15More formatting fixes to satisfy PEP 8Dylan Taylor
2021-05-15f-string fixesDylan Taylor
2021-05-15More formatting fixesDylan Taylor
2021-05-15Many more manual changesDylan Taylor
2021-05-12Merge pull request #422 from arieboven/print_large_list_fixAnton Hvornum
fix error when there are to many options to print and calculation spaces
2021-05-12Merge pull request #379 from SecondThundeR/multi-select-updateAnton Hvornum
Update generic_multi_select and generic_select
2021-05-11Renamed keyboard-language to keyboard-layout to avoid confusion. Added ↵Anton Hvornum
encryption checks for disk layout selection, if disk encryption password is given - but no partitions were found using encryption, the user will be asked which partitions to encrypt - unless there's only /boot and /<root> then we'll automatically select /<root> because that's what we support for now.
2021-05-11Fixed line-ending issue after using generic_multi_select()Anton Hvornum
2021-05-11Spelling errors, and filtered the output a bit.Anton Hvornum
2021-05-10Tested the workflow, and it works pretty decent. There's some kinks to work ↵Anton Hvornum
out. Added BlockDevice().size as well.
2021-05-10Tested creating partitions and deleting them. Kinda works now.Anton Hvornum
2021-05-10Added Partition() properties: sector_size, start, end, boot, partition_type ↵Anton Hvornum
and a __dump__() function. As well as kept working on the partition logic of guided to have a more traditional workflow of adding/deleting partitions in a guided manner, as well as the ability to mark partitions as encrypted/boot and set target mountpoints.
2021-05-10Added a soft-wrapper around parted logic. This logic will guide users ↵Anton Hvornum
through setting up partitions, if they chose to wipe a drive. We'll avoid doing to much auto-magic, and this is just a start.
2021-05-08fix error when to many options and calculation spacesaboven
2021-05-07Splitting up partitioning logic some more.Anton Hvornum
2021-05-06Add default graphics card driver optionSecondThundeR
2021-05-06Adding in partition layout structureAnton Hvornum
2021-04-30Make the style of the word superuser consistentDylan M. Taylor
2021-04-30Tweak wording for superuser prompt a little bitDylan M. Taylor
2021-04-30Revert disabling default sortingSecondThundeR
This change reverts a previous change that disabled sorting by default in the multi select function, which would be better disabled manually for pre-sorted lists than manually enabling for unsorted lists. Also, comments of the line check have been slightly changed
2021-04-29Update `user_interaction.py`SecondThundeR
- Reverted some changes for default options in multi select - Added check for dict and convert from dict to list - Replaced spaces with tabs for certain comment line
2021-04-29Fix multi select and video card driver selectionSecondThundeR
Changes: - Rephrased input text for kernel selection - Fixed crash with empty video card driver selection - Removed log info for default option
2021-04-29Update generic_selectSecondThundeR
Changes: - Moved some functions for options below checks for the correctness of passed options - Removed unnecessary `continue` from `except ...`, since the loop will return to the beginning anyway - Added stripping of `selected_option` straight on input - Changed check `len() == 0` to `not ...` - Returned changing string to number on check === - Removed '!' as they look weird inside such ` * ... * ` log style (Change for generic_multi_select)