Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/exceptions.py
AgeCommit message (Collapse)Author
2022-01-06Added type annotations to all functions (#845)Anton Hvornum
* Added type annotations for 1/5 of the files. There's bound to be some issues with type miss-match, will sort that out later. * Added type hints for 4/5 of the code * Added type hints for 4.7/5 of the code * Added type hints for 5/5 of the code base * Split the linters into individual files This should help with more clearly show which runner is breaking since they don't share a single common name any longer. Also moved mypy settings into pyproject.toml * Fixed some of the last flake8 issues * Missing parameter * Fixed invalid lookahead types * __future__ had to be at the top * Fixed last flake8 issues
2022-01-05Improve documentation v2.3.1 (#843)Anton Hvornum
* Updated documentation Mostly I've moved things around, cleaned up some dead paths and added more clarity. * Cleaned up !superusers section * Mentioning of accessibility
2021-12-02Fixing some mypy complaints (#780)Anton Hvornum
* Fixed some mypy issues regarding SysCommand* and logging * Fixed imports and undefined variable
2021-05-18Remove PermissionError since it shadows the built-in of the same nameDylan M. Taylor
2021-05-15Many more manual changesDylan Taylor
2021-04-05allow multiple services to be enabled at onceZach Osman
2021-03-14Wrong variable name.Anton Hvornum
2021-03-14Tweaked SysCallError() exception to include the exit code in a machine ↵Anton Hvornum
readable manner. Since it's useful as an indicator where calls might go wrong and for what reason.
2021-02-17Cleaning up guided.py a bit to be less complex and convoluted, while still ↵Anton Hvornum
performing the same task.
2021-02-11Reworked the way partition formatting works. As well as added some flags to ↵Anton Hvornum
the partition if it's locked/unlocked for partitioning. By defaults partitions will now be in a locked state - prohibiting formatting unless set or overridden in the formatting call. This allows us to selectively format partitions individually later on. There's also a target_mountpoint that is the desired relative mount point inside a installation. This can be pre-pended with the installation base directory during mount. These changes also function as indicators for the installation (and guided installation) for which partitions to use and/or wipe. If an entire drive is selected for wiping, these changes will have no affect in the decision making as all partitions will be new and have formatable set to true.
2021-02-07Added an early check for filesystem compatability. Since we need to handle ↵Anton Hvornum
unique packages etc for certain filesystem formats. This early check can be caught and ignored if the programmer/user wants to override the check and continue anyway. But the default should be to stop all execution to not install a half-working system.
2021-01-25Added an embryo for listing wireless networks.Anton Hvornum
2020-11-08Tweaked #58 slightly. Execution is done with an attempt to retain file line ↵Anton Hvornum
numbers when executing. It also consolidates behavior of files and remote documents in a 'similar' manner.
2020-07-07Added a raise on sys_command exit code being bad. Also updated readme to ↵Anton Hvornum
show how to test this locally
2020-07-06Reworked final preparations for working with profiles and installing them.Anton Hvornum
2020-07-06Converted the lib to a pip supported structure to make packaging easier. ↵Anton Hvornum
Also tweaked some minor issues and added the AUR function