Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-06-02Adding more granular debuggingAnton Hvornum
2021-06-02Attempt to fix issue regarding broken outputAnton Hvornum
Since pacman and some other commands these days write multiple lines and goes back and fourth, it's not reliable to say the "peaked" line is a single line. And if it's not, it will make the output look like garbage. So instead, we'll write any output - as is - and let the command deal with fancy printing.
2021-06-02Added docstringsAnton Hvornum
2021-06-01Windows fix + Sorting based on listAnton Hvornum
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).
2021-06-01Introduces HTTP mirror selectionAnton Hvornum
2021-05-31Remove comment that no longer appliesDylan M. Taylor
2021-05-31Merge pull request #531 from Kibouo/masterAnton Hvornum
Fix typo in error msg
2021-05-31Moved return logic to not abort the iteration of kernels.Anton Hvornum
2021-05-31Fixed a plugin issue where there are no plugins found.Anton Hvornum
2021-05-31Creating multiple boot configs, based on the selected kernels. Not 100% sure ↵Anton Hvornum
both initramfs and vmlinuz will have the trailing definitions, but made both {kernel}
2021-05-31Creating PRAnton Hvornum
2021-05-30Fix typo in error msgCsonka Mihaly
2021-05-28Pulled in latest master changesAnton Hvornum
2021-05-27Fix is_vm detection on real hardwareDylan Taylor
2021-05-27Change ordering of example profilesDylan M. Taylor
2021-05-27made it more clearnullrequest
using Redecorating's suggestion in the discord
2021-05-27Make it more clear what the desktop profile doesnullrequest
2021-05-24Added a number of on_<event> hooks for different stages of the installation.Anton Hvornum
2021-05-24Added/moved comments.Anton Hvornum
2021-05-24Added optional version handling. And improved error handling a bit.Anton Hvornum
2021-05-24Added a commentAnton Hvornum
2021-05-24Added better error handling.Anton Hvornum
2021-05-24Implemented load_plugin() which handles local or remote paths. Also added ↵Anton Hvornum
some error handling surrounding the loading of plugins.
2021-05-24Spelling errorAnton Hvornum
2021-05-24Spelling errorAnton Hvornum
2021-05-24Switched plugin strategty. Now uses built-in entrypoints to source and load ↵Anton Hvornum
the plugins. This is the default method provided by Python, and is the cleanest so far I think.
2021-05-24Syncing in latest changes from masterAnton Hvornum
2021-05-24Merged in latest changes from masterAnton Hvornum
2021-05-23Fixes #489Anton Hvornum
2021-05-23Spelling errorAnton Hvornum
2021-05-22Forgot an important import.Anton Hvornum
2021-05-22Fixes docstrings.Anton Hvornum
2021-05-22Re-worked the select_profile() user interaction. It no longer takes options ↵Anton Hvornum
as a parameter, instead it sources the profiles available, prints a curated list but allows for any input that is a valid profile.
2021-05-22Since SysCommand() wraps SysCommandWorker(), but SysCommand() doesn't use ↵Anton Hvornum
contexts, we have to flush the output manually here to avoid newlines not being before the next output.
2021-05-22fixed bootloader flag not being setadvaithm
2021-05-21Merging in latest changes from master and resolved conflicts.Anton Hvornum
2021-05-21Merge pull request #495 from dylanmtaylor/patch-1Anton Hvornum
Add ArchInstall user-agent to mirror requests
2021-05-21Merge pull request #485 from dylanmtaylor/post-installation-scriptsAnton Hvornum
Implement post-installation commands
2021-05-20Add ArchInstall user-agent to mirror requestsDylan M. Taylor
2021-05-20Use {installation.target} in custom commands handlerDylan Taylor
2021-05-20Extract custom-commands function into general.pyDylan Taylor
2021-05-20Use pure Python code in filter_mirrors_by_regionJakobDev
2021-05-20Merge pull request #488 from SimonPe/patch-1Anton Hvornum
look for default profiles in correct location
2021-05-20look for default profiles in correct locationSimon Peeters
The default `profiles` directory is a sibling of the `lib` directory, not of `storage.py` itself.
2021-05-19very minor whitespace fixesDylan Taylor
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