Commit Graph

2043 Commits

Author SHA1 Message Date
Anton Hvornum c88034fa8a
Merge pull request #334 from SecondThundeR/patch-2
Update language selection
2021-04-22 09:53:02 +00:00
Владислав 4209074137
Update language selection
Reverted generic_select changes and added ability to choose any layout at first input
2021-04-22 12:05:24 +03:00
Anton Hvornum 1f6094ea59
Merge pull request #326 from advaithm/bootloader-refactor
Bootloader refactor
2021-04-22 08:56:45 +00:00
Anton Hvornum 331bb0789b
Merge pull request #325 from SecondThundeR/generic-select-update
Rework of the generic_select function and fixes for various input checks
2021-04-22 08:55:54 +00:00
Anton Hvornum 4d65639724
Fixes the crash on empty profile choice. Since generic_select() returns None, we can't pipe that into Profile() (at least not yet) 2021-04-22 10:31:32 +02:00
Anton Hvornum bf9f7bdb16
Merge pull request #328 from jtagcat/patch-1
user_interaction: Explicitly ask for username on super-user creation.
2021-04-21 15:22:52 +00:00
jtagcat a834bffeec
user_interaction: Explicitly ask for username on super-user creation. 2021-04-21 14:20:22 +00:00
Anton Hvornum 46b872aa61 Re-working top-level-profile lambda to be a parameter to list_profiles() 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-21 14:37:23 +02:00
Anton Hvornum 33458b72f3
Merge pull request #255 from dylanmtaylor/patch-1
WIP: Add documentation for MAC address example
2021-04-21 11:22:47 +00:00
Anton Hvornum 1d1d8ea2e0 Reverting deletion on mac-template example. 2021-04-21 13:20:41 +02:00
Anton Hvornum 4db40c06eb Removed guided.py that was copied in to the root and added to gitignore. 2021-04-21 13:15:42 +02:00
Anton Hvornum ccb75f70b9 Merged in latest changes and history from torxed-2.2.0 to avoid odd history in PR #315 2021-04-21 13:10:56 +02:00
advaithm e6ab22f28c
Merge branch 'bootloader-refactor' of github.com:advaithm/archinstall into bootloader-refactor 2021-04-21 13:35:46 +05:30
advaithm 63a94a5770
add efibootmgr only on uefi systems 2021-04-21 13:35:03 +05:30
advaithm a694daec5d
some more grammer fixes 2021-04-20 22:09:27 +05:30
Anton Hvornum 752d7b7a8d
Merge pull request #327 from dylanmtaylor/patch-4
Fix budgie.py merge issue
2021-04-20 16:30:00 +00:00
Dylan M. Taylor b46afad1af
Fix budgie.py merge issue 2021-04-20 12:27:17 -04:00
advaithm 85c5275a8f
added return true 2021-04-20 21:23:11 +05:30
advaithm a02c35920d
added return true 2021-04-20 21:21:17 +05:30
advaithm 85a8215eb7
fixed some weird grammer 2021-04-20 21:06:57 +05:30
advaithm e2444de5a2
added /mnt to grubcfg genration 2021-04-20 21:06:31 +05:30
advaithm b4312ab95d
removed unnessacry --target 2021-04-20 20:46:49 +05:30
advaithm 8b723c25e2
changed some strings 2021-04-20 20:36:26 +05:30
advaithm 4a9f56ed2d
fixed shell command in add bootloader 2021-04-20 20:26:19 +05:30
advaithm 64a785e0ec
reworked how we remove efimanager 2021-04-20 20:01:15 +05:30
advaithm adeae68123
reworked how we remove efimanager and add grub 2021-04-20 19:58:23 +05:30
advaithm 264db25eef
call hasUEFI 2021-04-20 19:50:12 +05:30
advaithm 47202d9bf9
moved some stuff 2021-04-20 19:46:22 +05:30
advaithm dbb6d630bd
fixed some issues with adding packages 2021-04-20 19:43:23 +05:30
SecondThundeR 8d9a542962 Add clarifying log text for generic_select 2021-04-20 17:10:28 +03:00
advaithm 572ab522fc
we should only look for boot on uefi systems 2021-04-20 19:40:09 +05:30
advaithm fc8960f2a9
we should only look for boot on uefi systems 2021-04-20 19:35:28 +05:30
advaithm 1ea02a7e69
we should only look for boot on uefi systems 2021-04-20 19:27:16 +05:30
advaithm 7872d5b7fa
rebase clean up 2021-04-20 19:23:18 +05:30
advaithm 23704b7908
repharsed some stuff 2021-04-20 18:53:47 +05:30
advaithm 9c400aa727
reworked how we handle bootloaders a little 2021-04-20 18:49:02 +05:30
advaithm 7afba65c26
rebase 2021-04-20 18:43:19 +05:30
Anton Hvornum 636a7b95d5
Merge pull request #317 from insanemal/torxed-v2.2.0
In guided install Non-UEFI installs need to use grub-install
2021-04-20 12:57:46 +00:00
Anton Hvornum f5ef751d53
Merge branch 'torxed-v2.2.0' into torxed-v2.2.0 2021-04-20 12:57:14 +00:00
SecondThundeR 3facc2e58d Fix TabError issue after uncommenting 2021-04-20 15:25:46 +03:00
Anton Hvornum a0552fe8cb
Merge pull request #285 from dylanmtaylor/patch-4
Change from argon2i to argon2id
2021-04-20 12:18:32 +00:00
SecondThundeR 06e846796d Fix infinite loop on incorrect input of gateway IP 2021-04-20 15:07:52 +03:00
SecondThundeR 1d37e5a49e Uncomment new check for gateway IP address 2021-04-20 15:02:11 +03:00
SecondThundeR 1d04c92258 Add sort parameter for generic_select
Updated required features to support these change
2021-04-20 14:45:54 +03:00
Anton Hvornum 2b7face252 Merging in PR #312 - Add Deepin desktop 2021-04-20 10:03:58 +02:00
SecondThundeR d2eacffff8 Update some functions
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-19 20:34:35 +03:00
Anton Hvornum ee1464aeaf
Merge pull request #321 from SecondThundeR/patch-1
Fix typo in partition.format()
2021-04-19 10:07:23 +00:00
SecondThundeR a316846121 Replace input with generic_select where necessary
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-17 16:35:21 +03:00
Владислав 3fba787396
Fix typo in partition.format() 2021-04-17 15:49:58 +03:00
SecondThundeR 9991b19a06 Initial rework of generic_select function
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-17 12:54:04 +03:00