Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2020-11-11Fixed generic_select() to accept (and break on) empty selects.Anton Hvornum
2020-11-11Added a simple INI handler, and a helper function under ↵Anton Hvornum
Installer().configure_nic() to help with nic configuration. Supports a crude DHCP configuration and a minimal static IP handler.
2020-11-09Fixed #63Anton Hvornum
Validate against /groups as well. There's not really a search API that I could find *(with little effort on my part to try and find it)*. So I went ahead and just check for HTTP 200 on the package URL. This won't give search functionality, but it will at least validate a group definition.
2020-11-08Fixing a variable missmatch in #61. The global configuration snapshot (that ↵Anton Hvornum
is used for debug printing) does not contain the password for the new user (for safety reasons). So we can no longer get the password from that snapshot, but instead we have to get it from the global variable users (:dict).
2020-11-08Added some more debuggingAnton 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-11-08Updated documentationAnton Hvornum
Related to the new log features.
2020-11-06Forgot an import of storage.Anton Hvornum
2020-11-05Fallback automatically to a log file if we can detect one, even tho file was ↵Anton Hvornum
never given in the log() call. This might cause some log posts to slip in to the logs, but use suppress=True to force-ignore those in such a case.
2020-11-04Tweaked some log messages in archinstall.Installer()Anton Hvornum
2020-11-04Logic issue minor fix.Anton Hvornum
2020-11-04Fixed level issues on log output. Also tweaked it so that all log rows come ↵Anton Hvornum
to the log file, but not nessecarily the interactive screen (tty/journald). Also tweaked certain log messages to be printed vs not printed.
2020-11-04Cleaned up some logic. How the LOG_LEVEL is fetched from the storage.Anton Hvornum
2020-11-04Forgot an import of storage.Anton Hvornum
2020-11-04installer.log() should not be a property.Anton Hvornum
2020-11-04Forgot an import of storage.Anton Hvornum
2020-11-04Spelling error on systemd-bootctl.Anton Hvornum
2020-11-04Added multiple log features.Anton Hvornum
* [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']`.
2020-10-20Preparing log-data and debug output.Anton Hvornum
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-19Fix typo in function parameterVarun Madiath
`suppress_errors` was previously spelt `surpress_errors`
2020-10-19Fix typos.Varun Madiath
2020-10-18Made Profile() json-dumpableAnton Hvornum
2020-10-18Forgot an import, as well as made BlockDevice() have less verbose output on ↵Anton Hvornum
json.dumps.
2020-10-18Forgot an importAnton Hvornum
2020-10-18Removed a stub functionAnton Hvornum
2020-10-18Added a JSON serializer for certain non-json objects.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Wrong relative import, corrected to avoid .lib.lib.exceptionsAnton Hvornum
2020-10-18Merge remote-tracking branch 'origin' into guidedAnton Hvornum
2020-10-18Logical issue with how I'm used to dealing with selecting list indexes.Anton Hvornum
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-18Wrong variable name (from a copy paste issue)Anton Hvornum
2020-10-18Merge remote-tracking branch 'origin' into profileAnton Hvornum
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/.
2020-10-18Added profile `desktop.py` which helps users select a desktop environment. ↵Anton Hvornum
Also added `archinstall.generic_select` to help with selecting generic things from a list of options.
2020-10-18Implementing error handling for #50. So that the errors do not come at the ↵Anton Hvornum
very end, but in the beginning right after the user inputted something (quicker feedback to the user).
2020-10-11Added text-to-speach, untested but the base is now added. It routes through ↵Anton Hvornum
if available. And can be accessed with directly if needed.
2020-10-01Added user_interaction documentation.Anton Hvornum
2020-09-30Tweaked the import logic so that the Imported() class returns the actual ↵Anton Hvornum
module imported when executing the import, rather than returning itself. Also fixed awesome so that it loads and looks for _prep_function() with a safe and correct namespace
2020-09-30Fixing a import logic issue. We don't want to trigger if __name__ ... during ↵Anton Hvornum
_prep_function() calls. So we'll import the module with a specific namespace containing the .py which shouldn't be able to happen when normal programmers do normal imports as .py gets removed normally.
2020-09-30Fixing a import logic issue. We don't want to trigger if __name__ ... during ↵Anton Hvornum
_prep_function() calls. So we'll import the module with a specific namespace containing the .py which shouldn't be able to happen when normal programmers do normal imports as .py gets removed normally.
2020-09-30Fixed bug: profile names listed by list_profiles() contained a trailing dot. ↵Anton Hvornum
This causes issues later when trying to select a profile from said list.
2020-09-30Fixed a bug where if you selected a region by name, not number. It would ↵Anton Hvornum
bork out.
2020-09-30Fixed a type-oAnton Hvornum
2020-09-30Finalized magic function _prep_function(). Gets returned when a profile is ↵Anton Hvornum
imported through archinstall.select_profile() user-interaction helper function. Asks for additional user-input right away rather than half way into the installation. This makes sure user input is taken care of before starting the installation. Although it complicates the code layout a tiny bit. Profiles need a __name__ and a _prep_function combo in order to be safely executed by select_profile(). select_profile() will not attempt to run or execute the code in any way unless those to conditions are met. In theory :)
2020-09-30Fixing awesome and xorg for first test run.Anton Hvornum
2020-09-29Fixed some selection processes.Anton Hvornum
2020-09-29Adding a baseline xorg profile that can be called from other profiles. Such ↵Anton Hvornum
as the awesome profile, and in the future gnome and kde.
2020-09-29Removed AUR support (Moving to a separate project, possibly as an addon ↵Anton Hvornum
layer later)