Age | Commit message (Collapse) | Author |
|
|
|
Move select to separate function
Remove 'continue' option
Add hardened kernel as option
|
|
Misc. cleanup
|
|
|
|
|
|
* Moving away from custom log levels, to something that's well defined.
* Added backward compability to log() as well.
* Added an option to force log messages out on screen even if the level is below the log level threashold.
* Added force log messages when wrong notation is used.
* Added some more length to the deprecated message
* Swapped all log levels to use logging.<level> instead.
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
|
|
|
|
|
|
This reverts commit f5b6e7bafead1f604c27bfb31b84f3f560a682c8.
Reverting commit due to currently redundant change and merge conflict
|
|
Any future work against v2.2.0 will go straight into master, patch work will be done on separate branches instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ignore dotfiles and globs in timezone selection
|
|
Also added a "experimental" warning to it.
|
|
|
|
|
|
- Unified view of warning (red) and info (yellow) logs
- Fixed some PEP8 related issues, like removing redundant f-strings and replacing double quotes to single ones
- Removed warning logging level for simple logs
- Removed other background color settings for logs to fully close https://github.com/archlinux/archinstall/pull/171
|
|
This change simplifies the try...except block in generic_select by adding a break to the item selection by index
|
|
I prefer to easily spot an endless loop by not having external variables attached to the loop condition.
Since we never updated `exists` it's a dummy variable that I expect to be updated some where in order to break it.
When that's not the case, it's more clear that it's an endless loop if there's no conditions attached to the loop definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reverted generic_select changes and added ability to choose any layout at first input
|
|
Rework of the generic_select function and fixes for various input checks
|
|
None, we can't pipe that into Profile() (at least not yet)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|