Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__init__.py
AgeCommit message (Collapse)Author
2021-11-24Set the version for master to 2.3.1 developmentDylan M. Taylor
2021-11-24Bumped the version to v2.3.0Anton Hvornum
2021-11-23Fix error at end of installation from missing method importDylan Taylor
2021-11-18Added an exception if configuration cannot be loaded, to avoid confusionAnton Hvornum
2021-11-13Adding in --mount-point argument, which overrides storage['MOUNT_POINT']Anton Hvornum
2021-07-18changed dry_run to dry-runYash Tripathi
2021-06-10added --dry-run flag (#570)Yash Tripathi
* added --dry-run flag
2021-06-06updated creds helpYash Tripathi
2021-06-06changed block locationYash Tripathi
2021-06-06added support for seperating credentials from configYash Tripathi
2021-06-02Adding more granular debuggingAnton Hvornum
2021-05-28Pulled in latest master changesAnton Hvornum
2021-05-28Update __version__ to become a dev-version againAnton Hvornum
To avoid accidental pypi snafu's
2021-05-27Update version for 2.2.0 finalDylan M. Taylor
2021-05-24Adding support for --plugin=<plugin path>Anton Hvornum
2021-05-24Pleasing the linter godsAnton Hvornum
2021-05-24Added optional version handling. And improved error handling a bit.Anton Hvornum
2021-05-24Added better error handling.Anton Hvornum
2021-05-24Added a commentAnton Hvornum
2021-05-24Pleasing the linter godsAnton Hvornum
2021-05-24Removed empty whitespaceAnton Hvornum
2021-05-24Added redundant argument creation.Anton Hvornum
2021-05-24Syncing in latest changes from masterAnton Hvornum
2021-05-23Merge branch 'master' of github.com:archlinux/archinstallAnton Hvornum
2021-05-23Version bump for tagging.Anton Hvornum
2021-05-23removed debug codeYash Tripathi
2021-05-23bringing back the old method for parsing extra args as config valuesYash Tripathi
2021-05-19Have the configuration file request identify itself as coming from ArchInstallDylan M. Taylor
This is necessary to allow proper filtering of these requests server-side, and some services block urllib requests (known issue with Cloudflare).
2021-05-19Added support for getting configuration from a URLDylan 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-15reintroduce this line, seems to be needed for install to work despite being ↵Dylan M. Taylor
detected as unused
2021-05-15archinstall/__init__.py changesDylan Taylor
2021-05-15More formatting fixes to satisfy PEP 8Dylan Taylor
2021-05-15Cleanup imports and disk.py a bit moreDylan Taylor
2021-05-15Updating __version__ to dev1 for dev release.Anton Hvornum
2021-04-30Enabling --plugins filteringAnton Hvornum
2021-04-29Adding on_pacstrap hook for installation. As well as a plugins listing that ↵Anton Hvornum
plugins can hook in to in order to be called during specific on_<event> calls.
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-15Change version to 2.2.0 in 2.2.0 branchDylan M. Taylor
2021-04-12moved to flit build systemadvaithm
2021-04-07Merging changes from master into feature branch to avoid future conflics.Anton Hvornum
2021-04-05Add console_scripts archinstall entry pointPyfisch
archinstall should be callable from the command-line. Previously this was achieved with a shell script, however Python packages contain a built in way to to this via the entry points mechanism.
2021-04-05Switch to setup.cfgPyfisch
Configure setup.cfg to find all Python packages. Add more metadata to package.
2021-03-25New feature: Profile() now supports .packages which returns any defined ↵Anton Hvornum
packages for that specific profile, as well as archinstall.__packages__ contain any packages that Installer() is responsible for. This can be used to quickly gather any required packages and dependencies by archinstall. Not all profiles have it yet, so .packages might return None.
2021-02-07Added in argument support to archinstall for easier testing and debuggingAnton Hvornum
2021-01-25Created an embryo for hardware detection. Supports detecting WiFi and UEFI. ↵Anton Hvornum
This fixes #44 and is a start for #82.
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-18Added a session-storag. This is in an attempt to build away some magic ↵Anton Hvornum
functionality that might otherwise be hard to understand/maintain over a long period of time. Using this in profiles/desktop.py as a test.
2020-10-18Reverted TTS implementation from 35913c4. Since blind people use screen ↵Anton Hvornum
readers for this functionality. Will have a look at http://www.linux-sppeakup.org/.