Age | Commit message (Collapse) | Author |
|
|
|
|
|
Updated required features to support these change
|
|
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
|
|
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()`
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
This is just in case either the search step or the selector inputs nothing.
Something has to be set, and the default is US.
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
None if skipped, it returns a dict so that we can do sub-level logic checks in guided.
|
|
use the existing mirror-list without trying to overwrite it.
|
|
Update user_interaction.py
|
|
Make it so there isn't a space in the key
Try to simplify things more
|
|
|
|
hardware specific, in the long run maybe we move them into 'drivers' or something. And moved the user interaction from gfx_drivers into user_interactions. And removed the import from installer.py to __init__.py since we don't want to import 'global functions' in extension imports.
|
|
|
|
network manager
|
|
|
|
|
|
|
|
|
|
|
|
Arch wiki says packages should enable the user services automatically
|
|
|
|
tested, but the logic should work according to the new API layout for Installation().
|
|
OOB in generic_selection
|
|
Out of bounds check in generic_selection is using >= on list. Lists are zero based. If you put in a value that equals the number of items in the list you get an out of bounds error.
Removed the equals part of the test as last item in list/dictionary items is len(list)-1 not len(list)
|
|
wrapped inside guided.. This can now be used by others for a simple countdown. I also re-worked the minimal.py example to work with the new internal partitioning logic API as well as support some flags from archinstall.arguments to minimize user input requirements to just one single question. This one question will most likely go away too, but stays for simplicity right now.
|
|
|
|
Implement PipeWire sound server as an option, merging so we can work on this more. No this will not make it into the release as-is, it's just a working branch and this will change :)
|
|
|
|
|
|
Arch wiki says packages should enable the user services automatically
|
|
Fix incorrect behavior for empty sudo username
|
|
|
|
Add validation check for username
|
|
|
|
|
|
|
|
|