Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
AgeCommit message (Collapse)Author
2021-04-29Update generic_selectSecondThundeR
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)
2021-04-29Update generic_multi_selectSecondThundeR
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
2021-04-29Added a postgresql application profile. (#383)Anton Hvornum
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment. * Fixing top-level-listing of profiles. As well as testing some postgres installation steps. * Removed dupe functions. * Added safety check in case a comment mentions the top level profile thing. * Patching namespace corruption. * Avoiding runtime collision due to installation not being initiated yet. * Allow for parameterization of filesystem in guided. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29Cleaning up packages. (#374)Anton Hvornum
* Cleaning up packages. installer now relies on __packages__ definition. Which will work with external libs to more easily gather packages used by installer and profiles. * Added back the logic for the log message, where we inform if we're adding the boot loader to root or boot. * Added __package__ definition to profiles and the installer. These packages can be used as an indication from outside libraries of what could *possibly* be installed. For instance an offline-tool could source these, it would source more than it needed to, but it would give a quick rundown of what might be needed. * Removed import of __base__packages__ as it's now just __packages__ after a lot of stream-lining. * Explosion misspelling. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-28Added a mini curses class and generic-multi-select (#362)Anton Hvornum
* 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>
2021-04-28Corrected one indentation.Anton Hvornum
2021-04-28Corrected error handling for log creation.Anton Hvornum
2021-04-28Fixing permission error on non-root-runners accessing log()Anton Hvornum
2021-04-28Added a default descriptionAnton Hvornum
2021-04-28Update kernel selectSecondThundeR
Move select to separate function Remove 'continue' option Add hardened kernel as option
2021-04-28removed pdbadvaithm
2021-04-28log diffrent values when in bios modeadvaithm
2021-04-28trying to fix always failing bootloader installadvaithm
2021-04-28fixed kernel selectadvaithm
2021-04-28pdb traceingadvaithm
2021-04-27Merge pull request #344 from SecondThundeR/misc-cleanupAnton Hvornum
Misc. cleanup
2021-04-27Fixed a crash before choosing a video card driverВладислав
2021-04-27Revert some merge resolve changesSecondThundeR
2021-04-27Merge branch 'master' into misc-cleanupВладислав
2021-04-27Moving away from custom log levels, to something that's well defined. (#360)Anton Hvornum
* 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>
2021-04-27Restore changes related to background propertiesВладислав
2021-04-27Use generic_select for driver selectionDylan M. Taylor
2021-04-27Merge branch 'master' into misc-cleanupВладислав
2021-04-27Revert "Update logging for some functions"SecondThundeR
This reverts commit f5b6e7bafead1f604c27bfb31b84f3f560a682c8. Reverting commit due to currently redundant change and merge conflict
2021-04-27Merge PR #335: Merges in v2.2.0 work into masterAnton Hvornum
Any future work against v2.2.0 will go straight into master, patch work will be done on separate branches instead.
2021-04-27Forgot to hit save after merge conflict fixes.Anton Hvornum
2021-04-27Pulled in latest changes from torxed-v2.2.0Anton Hvornum
2021-04-27Synced latest changes from torxed-v2.2.0.Anton Hvornum
2021-04-27Spelling errorAnton Hvornum
2021-04-25Re-phrased the wording a bit on the exp. warning.Anton Hvornum
2021-04-25Merge branch 'master' of https://github.com/AggamR/archinstallAggam Rahamim
2021-04-25having ability to use multiple kernelsAggam Rahamim
2021-04-24updated to lastest commit, fixed a conflictadvaithm
2021-04-24Merge pull request #345 from dylanmtaylor/patch-9Anton Hvornum
Ignore dotfiles and globs in timezone selection
2021-04-23Added back the note about using /mnt as isAnton Hvornum
Also added a "experimental" warning to it.
2021-04-22Actually, putting it here makes more sense.Dylan M. Taylor
2021-04-22Ignore dotfiles and globsDylan M. Taylor
2021-04-23Update logging for some functionsSecondThundeR
- 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
2021-04-23Remove unnecessary else in try...exceptSecondThundeR
This change simplifies the try...except block in generic_select by adding a break to the item selection by index
2021-04-22Restructured endless loop definitionAnton Hvornum
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.
2021-04-22Update user_interaction.pyDylan M. Taylor
2021-04-22has uefi was removed from user_interactionsadvaithm
2021-04-22Merge github.com:archlinux/archinstall into master-mergeadvaithm
2021-04-22Fix other issues of language selectionSecondThundeR
2021-04-22fixed merge conflictsadvaithm
2021-04-22readded some commits that got removedadvaithm
2021-04-22merged with masteradvaithm
2021-04-22Update language selectionВладислав
Reverted generic_select changes and added ability to choose any layout at first input
2021-04-22Merge pull request #325 from SecondThundeR/generic-select-updateAnton Hvornum
Rework of the generic_select function and fixes for various input checks
2021-04-22Fixes the crash on empty profile choice. Since generic_select() returns ↵Anton Hvornum
None, we can't pipe that into Profile() (at least not yet)