Age | Commit message (Collapse) | Author |
|
* 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
|
|
|
|
Introduces the use of HTTP mirrors additionally
|
|
|
|
|
|
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).
|
|
|
|
using Redecorating's suggestion in the discord
|
|
|
|
|
|
|
|
as a parameter, instead it sources the profiles available, prints a curated list but allows for any input that is a valid profile.
|
|
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fix error when there are to many options to print and calculation spaces
|
|
Update generic_multi_select and generic_select
|
|
|
|
|
|
|
|
|
|
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
|
|
- 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
|
|
Changes:
- Rephrased input text for kernel selection
- Fixed crash with empty video card driver selection
- Removed log info for default option
|
|
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)
|
|
Changes:
- Add useful checks from `generic_select`
- Sorting is now disabled by default (As many lists are already sorted)
- Some checks have been changed (This includes unnecessary checks with `len()`, etc.)
- Removed x, y from `print_large_list` as they aren't used in code
- Added check for string to strip it without getting `AttributeError`
- Switched to RequirementError handling as in `generic_select`
- Added a log when the default option is selected with unselected options by the user
- Added break when adding default option to empty list (See comments for more info)
- Added support for selecting option by name
|
|
* Added a mini curses class. It can do some simple tricks to iterate over menu options and indicate which ones are chosen using generic_multi_select().
* Include the default parameter if set.
* Modified 'select_kernel()' to use the new multi-select.
* Sneaky character got in.
* removed some debugging
* removed some debugging
* Spelling error
* Adding error handling and loop support.
* Enforce that 'default' is always selected if no other option is selected.
* Fixed backspace issues and ghosting.
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|