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-11-05Cleaned up all flake8 issues/warnings. Did some code cleaning as well, ↵Anton Hvornum
mostly how we called things in guided.py but also some SysCommand calls
2021-09-21Fix Bug: 'Suggest partition layout' crashesHugo Ankarloo
File: lib/user_interaction.py When function manage_new_and_existing_partitions() is used, and 'Suggest partition layout' is selected, the installer crashes. REASON Bug was introduced in commit 9e67ce3, when partition layout was changed to use device.path as keys (instead of device). It seems all necessary changes were made for this, except this one.
2021-09-20Merge branch 'master' into svintooo-fixHugo Ankarloo
Sync branch svintooo-fix with latest code changes on master.
2021-09-20Fix Bug: Set filesystem crashes if no partitionsHugo Ankarloo
File: lib/user_interaction.py When function manage_new_and_existing_partitions() is used, and no partitions are configured, and 'Set desired filesystem for a partition' is selected, the installer crashes.
2021-09-20Fix Bug: config b0rked by Suggest partition layoutHugo Ankarloo
File: lib/user_interaction.py When function manage_new_and_existing_partitions() is used, and 'Suggest partition layout' is selected, the partition info is not correctly stored in the config. Instead of: {"partitions": [{...}, {...}]} You get: {"partitions": {"partitions": [{...}, {...}], "wipe":True}}
2021-09-19general: remove all found white-spacesSecondThundeR
Also this change adds new line at the end for some scripts
2021-09-15Making sure the drive paths are in the JSON structure, and not the class ↵Anton Hvornum
object, as it won't work seamlessly to access for instance storage['disk_layouts'][ClassInstance()] if it's not the identical mem copy of the object we're accessing, so strings are better for storage/comparisons.
2021-09-06Merged in master.Anton Hvornum
2021-09-06Merge branch 'master' into masterAnton Hvornum
2021-09-04Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-rework-partitioning
2021-07-19Mention GNOME and KDE's soft dependency on NetworkManager in the installj-james
2021-07-18created load_config() to load configurationYash Tripathi
2021-07-04Added a filesystem check when marking for formatting, this should ensure ↵Anton Hvornum
that encrypted volumes get a proper filesystem without having to go through an extra step of selecting filesystem.
2021-07-03Added options to mark/unmark partitions for formatting (useful when re-using ↵Anton Hvornum
partitions, and fine tune which data to save and which to wipe). Setting a desired filesystem for a partition (both new ones and the ones being re-used).
2021-06-14Change of variableAnton Hvornum
2021-06-14moved valid_parted_position to disk. And made it handle float numbers.Anton Hvornum
2021-06-14Added BlockDevice.largest_free_space and BlockDevice.free_space (iterator). ↵Anton Hvornum
Also added additional supported filesystems to parted. Apparently the online manpages doesn't agree with the local manpages, my previous statement that these gets ignored is false so added those in and removed some that isn't supported by my local manpages, 'ufs' for instance.
2021-06-14Unifying partioning logic into one function when managing partitions. Rather ↵Anton Hvornum
than giving the option between wiping and creating, and re-using and creating
2021-06-14Merged in masterAnton Hvornum
2021-06-14Re-structuring partition flowAnton Hvornum
2021-06-14Legacy re-name of function.Anton Hvornum
2021-06-14Synced master into partitioning branchAnton Hvornum
2021-06-13Change graphics driver prompt to better indicate default actionDylan M. Taylor
2021-06-13Started on multiple-disk-re-usage selection process.Anton Hvornum
2021-06-13Setting proper keys in exported config (#557)Yash Tripathi
* Set the resolved profile path to the actual desktop environment * split Nvidia driver list into proprietary and open-source * Updated select_driver to use archinstall.arguments for driver selection * Adding default value that works with later .get() * audio will now be prompted irrespective of profile
2021-06-13Implement is_desktop_profile helper function (#575)Dylan M. Taylor
* Implement is_desktop_profile helper function * Make ask_for_audio_selection use generic_select * Fix default value for audio selection * Leverage list of supported desktops to perform is_desktop_profile check * is_desktop_profile was missing a default return value * Store return value for audio server
2021-06-13Removed old safety logics for partitions. Partitions will now always be ↵Anton Hvornum
formatted when .format() is called on them. The safety now lay in the code parsing the declerative partition layouts. Also added the encrypt/mount logic for encrypted partitions, which by default will be unencrypted unless a password is specified.
2021-06-13Added multi-disk suggested layout. It's sorted on performance, and the first ↵Anton Hvornum
relevant disk with the closest size to a desired size will be used for root, and the same (exluding the one already used) will be used for /home
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