Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-05-19Added support for getting configuration from a config file (#364)Yash Tripathi
* added support for ingesting config * fixed condition to check key in dictionary * Removed redundant code, profile and desktop keys are now optional * Added base-config.json and support for pulling credentials from .env * added base config file and env file for users credentials * added silent install switch * added python-dotenv as a dependency * Updated Readme to include argparse changes as well as config ingestion * Updated Readme to include argparse changes as well as config ingestion * fixed typo in pyproject.toml * Replaced the magic __builtin__ global variable. This should fix mypy complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me. * Fixes string index error. * Quotation error. * fixed initializing --script argument * added python-dotenv as a dependency * Installation can't be silent if config is not passed * fixed silent install help * fixed condition for ask_user_questions * reverted to creating profile object properly * Cleaned up and incorporated suggestions * added Profile import * added condition if Profile is null * fixed condition * updated parsing vars from argparse * removed loading users from .env * Reworking SysCommand & Moving to localectl for locale related activities (#4) * 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> Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> * fixed indent * removed redundant import * removed duplicate import * removed duplicate import Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2021-05-19Reworking SysCommand & Moving to localectl for locale related activitiesAnton Hvornum
* 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>
2021-05-18Proofreading: Fix misc. spelling and grammar issuesDylan Taylor
2021-05-18Remove unreachable codeDylan M. Taylor
2021-05-18Remove PermissionError since it shadows the built-in of the same nameDylan M. Taylor
2021-05-18Merge pull request #468 from dylanmtaylor/patch-3Anton Hvornum
Add missing urllib.error import
2021-05-18Incorrect variable names being used from copy paste.Anton Hvornum
2021-05-17Add missing urllib.error importDylan M. Taylor
Fixes an unresolved reference Add missing urllib.error import
2021-05-18Compliment to #461 and #459: is_vm() also outputted 'kvm'. This should fix that.Anton Hvornum
2021-05-18Converted from subprocess.check_output() to SysCommand() to hide ↵Anton Hvornum
cpu_vendor() output.
2021-05-17Reverted 2afc317. Using Path().unlink() instead on ucode if they exist.Anton Hvornum
2021-05-17Adding a pacman --overwrite declaration for ucodes.Anton Hvornum
2021-05-16Merge pull request #456 from dylanmtaylor/patch-4Anton Hvornum
Add mirror reachability check
2021-05-15Add mirror reachability checkDylan M. Taylor
Needed error handling Fix internet connection text not showing up and make it red
2021-05-15Delete tts.pyDylan M. Taylor
This is an empty file, and as far as I can tell it's unused.
2021-05-15Fix some variable shadowing issuesDylan Taylor
2021-05-15Perform refactoring to PEP 8 naming conventionsDylan Taylor
2021-05-15Merge branch 'lxqt-lightdm' into formatting2Dylan Taylor
2021-05-15Fix missing Optional importDylan M. Taylor
2021-05-15Merge pull request #450 from charlesvdv/masterAnton Hvornum
propagate options when mounting a partition
2021-05-15Fix mutable default argumentsDylan Taylor
https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments
2021-05-15Remove some redundant parenthesisDylan Taylor
2021-05-15Fix E713 test for membership should be 'not in'Dylan Taylor
2021-05-15Fix E712 Dylan Taylor
2021-05-15More formatting fixes to satisfy PEP 8Dylan Taylor
2021-05-15Fix E101: mix of spaces and tabsDylan Taylor
2021-05-15propagate options when mounting a partitionCharles Vandevoorde
2021-05-15f-string fixesDylan Taylor
2021-05-15Whitespace changesDylan Taylor
2021-05-15Remove unnecessary parenthesisDylan Taylor
2021-05-15Fix partition -> part suggestion by TorxedDylan Taylor
2021-05-15Resolve a few more PEP issues in general.pyDylan Taylor
2021-05-15fix installer.py inconsistent tabs/spaces errorDylan Taylor
2021-05-15More formatting fixesDylan Taylor
2021-05-15general.py formattingDylan Taylor
2021-05-15Cleanup imports and disk.py a bit moreDylan Taylor
2021-05-15Some additional formattingDylan Taylor
2021-05-15Many more manual changesDylan Taylor
2021-05-15Merge pull request #437 from dylanmtaylor/patch-7Anton Hvornum
Don't list __init__.py files in profile list
2021-05-14Fix microcode not getting added to base_packages before installDylan M. Taylor
Update installer.py
2021-05-14Don't list __init__.py files in profile listDylan M. Taylor
2021-05-14Adding a fallback systemd-boot install if writing variables failed.Anton Hvornum
2021-05-14Adding in a default timeout to systemd-boot, but only if no other timeout ↵Anton Hvornum
was specified. Also fixes a regression bug with line endings in the loader configuration.
2021-05-14Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-350Anton Hvornum
2021-05-14Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-kernel-params
2021-05-14Fixes string index error.Anton Hvornum
2021-05-12Merge branch 'master' of github.com:Torxed/archinstall into torxed-fix-350Anton Hvornum
2021-05-12Replaced the magic __builtin__ global variable. This should fix mypy ↵Anton Hvornum
complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me.
2021-05-12Merge pull request #427 from advaithm/mypyAnton Hvornum
some type hint fixes and a bad catch fix
2021-05-12Merge pull request #422 from arieboven/print_large_list_fixAnton Hvornum
fix error when there are to many options to print and calculation spaces