Age | Commit message (Collapse) | Author |
|
* 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>
|
|
|
|
https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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>
|
|
|
|
required to disable systemd coloring and paging when querying for service states. Otherwise it returns unreliable data that can cause hanging.
|
|
|
|
the peak again. Added this to any pacstrap call.
|
|
|
|
|
|
|
|
|
|
will show the last line outputted by commands enabling peaking of the ongoing process.
|
|
|
|
Which makes the trace.log to end up in the workdir as well.
|
|
executing. The sys_command() is working pretty well for this very specific need, but this is an attempt to making it a bit more generic. A more general overhaul of the command should be done at some point.
|
|
readable manner. Since it's useful as an indicator where calls might go wrong and for what reason.
|
|
dumping dictionaries and replacing keys also replaces the original value.
|
|
sensitive data.
|
|
better fail safe for the logging output. Any exception during the installation will be caught by __exit__ in Installer(), hopefully.
|
|
truncated in unwanted places (like fstab)
|
|
to the log file, but not nessecarily the interactive screen (tty/journald). Also tweaked certain log messages to be printed vs not printed.
|
|
* [Reintroduced](https://github.com/Torxed/archinstall/blob/f64a605449f59c677dff39962f1cb46616d893b7/archinstall.py#L57-L71) log levels
* Created a global log file definition
* Optional support for `python-systemd`'s journald handler.
* Optional file output that has a globally configurable definition, that archinstall will honor in `archinstall.storage['logfile']`.
|
|
|
|
`suppress_errors` was previously spelt `surpress_errors`
|
|
|
|
|
|
|
|
|
|
if available. And can be accessed with directly if needed.
|
|
fetch a common version from the file VERSION. And some spelling tweaks for the log output.
|
|
|
|
This due to which being a builtin bash thing, and for whatever reason that stopped working when running as a module, so created locate_binary(name:str) which uses the PATH variable just as which does to find the binary's absolute path
|
|
archinstall folder directly under the users catalogue caused some issues when doing 'import archinstall' when standing in the home directory after trying to uninstall archinstall heh
|
|
and setup.py now includes the examples (which as been renamed for more convenient module importing) which - enables __main__.py to locate the examples and import them via importlib and execute them.
|
|
show how to test this locally
|
|
support.
|
|
|
|
Also tweaked some minor issues and added the AUR function
|