Commit Graph

724 Commits

Author SHA1 Message Date
Anton Hvornum 9544aa8092 Attempting to fix autodoc. 2020-09-30 20:49:05 +02:00
Anton Hvornum cf3ccb4788 Cleaned up the awesome wm profile. A few things were test purpose-addons that shouldn't be in the default profile. 2020-09-30 20:47:28 +02:00
Anton Hvornum 6b93650bfd Type-o 2020-09-30 19:34:57 +02:00
Anton Hvornum 7448881582 Added KDE profile (untested) 2020-09-30 18:23:27 +02:00
Anton Hvornum c1692a478d __name__ missmatch in gnome profile. 2020-09-30 12:46:34 +00:00
Anton Hvornum 534679e88f Added gnome as a profile (and application for application specific steps). Also tweaked xorg to not be so intrusive when used for anything other than awesome WM. Tweaked awesome WM to accomodate this change. 2020-09-30 12:31:47 +00:00
Anton Hvornum 7f7cb6b89b Forgot to replace the xinitrc data after replacing lines. 2020-09-30 11:52:28 +00:00
Anton Hvornum 6fe4fdfce1 Debug for testing 2020-09-30 11:17:08 +00:00
Anton Hvornum 95cd1beb80 Attempt to enhance the search and replace of default apps in xorg. 2020-09-30 11:09:26 +00:00
Anton Hvornum 4597ea1a21 Fixed some issues with the awesome profile. It should now be properly installed. Still need to tweak it a bit to not be as intrusive while still giving some 'starting points' to stand on as a new user. 2020-09-30 10:54:51 +00:00
Anton Hvornum 54e2161e29 Tweaked the import logic so that the Imported() class returns the actual 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-30 09:56:35 +00:00
Anton Hvornum 63d774b7d7 Fixing a import logic issue. We don't want to trigger if __name__ ... during _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-30 09:38:46 +00:00
Anton Hvornum 1bff423195 Fixing a import logic issue. We don't want to trigger if __name__ ... during _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-30 09:36:45 +00:00
Anton Hvornum 34e8e63f71 Fixed bug: profile names listed by list_profiles() contained a trailing dot. This causes issues later when trying to select a profile from said list. 2020-09-30 09:32:20 +00:00
Anton Hvornum 3cf45bdc03 Fixed a bug where if you selected a region by name, not number. It would bork out. 2020-09-30 09:25:04 +00:00
Anton Hvornum fad2c36cd2 Fixed a type-o 2020-09-30 09:14:17 +00:00
Anton Hvornum 85fd06fa8a Finalized magic function _prep_function(). Gets returned when a profile is 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-30 09:11:36 +00:00
Anton Hvornum 5a4d68e617 Fixing awesome and xorg for first test run. 2020-09-30 08:37:54 +00:00
Anton Hvornum 5ce8c20333 Fixed some selection processes. 2020-09-29 22:26:40 +00:00
Anton Hvornum f896342147 Adding a baseline xorg profile that can be called from other profiles. Such as the awesome profile, and in the future gnome and kde. 2020-09-29 22:09:28 +00:00
Anton Hvornum 6338e7116e Removed AUR support (Moving to a separate project, possibly as an addon layer later) 2020-09-29 21:01:10 +00:00
Anton Hvornum 008ecf00a1
Some sentence improvements. 2020-09-28 16:49:25 +02:00
Anton Hvornum 43733bad80 Simplified the README a bit. 2020-09-28 16:41:39 +02:00
Anton Hvornum 03884d2a56 Added documentation. 2020-09-28 16:40:59 +02:00
Anton Hvornum 410a0ba0b3 Added documentation for: https://python-archinstall.readthedocs.io/en/latest/ 2020-09-28 16:38:10 +02:00
Anton Hvornum d44c671661 Adding package search via upstream package database and JSON. 2020-09-15 11:14:58 +00:00
Anton Hvornum eb4b0f09ef Fixed #48 - Removed AUR question in the guided installer. (library still supports it, but will be hidden from common users) 2020-09-07 15:45:42 +02:00
Anton Hvornum 9b65bf4bbb Spelling error in locale helpers. 2020-09-07 15:41:19 +02:00
Anton Hvornum 911d876cb6 Made waiting for reflector mandatory. Which should fix issue #47. 2020-09-01 15:38:23 +02:00
Anton Hvornum 4413fdcf81 systemctl spits out some colors, so logic had to be changed. 2020-09-01 14:57:21 +02:00
Anton Hvornum a22a859b7f Debugging 2020-09-01 14:55:49 +02:00
Anton Hvornum 4dcafa7ec8 Tweaking the mirror selection vs automatic mirror processes. 2020-09-01 14:52:59 +02:00
Anton Hvornum 8494014c3b Debugging a bit 2020-09-01 14:47:22 +02:00
Anton Hvornum 1cdd96f9aa Renamed services again after re-save to the wrong name. 2020-09-01 14:43:04 +02:00
Anton Hvornum 99dcdc357f Wrong function name in os.path 2020-09-01 14:37:54 +02:00
Anton Hvornum 4291f3e84e Wrong filename on services 2020-09-01 14:35:34 +02:00
Anton Hvornum 8daae75a78 Adding service logic. Checking if reflector has finished before we select custom mirrors (if any) 2020-09-01 14:33:55 +02:00
Anton Hvornum e6293b7d44 Forgot to send with mirrors in the function call perform_installation() in guided template. 2020-09-01 14:06:36 +02:00
Anton Hvornum 323af39ed5 Added archinstall.Installer().set_mirrors, which allows to modify the mirrors in the finished installed medium. 2020-09-01 14:04:47 +02:00
Anton Hvornum 6744d7ac1b Spelling error 2020-09-01 13:57:54 +02:00
Anton Hvornum dd294ba0f3 Added more logging 2020-09-01 13:56:23 +02:00
Anton Hvornum 64f4646eef Fixed copy paste issue within code in the select function. 2020-09-01 13:52:32 +02:00
Anton Hvornum 7734fbee89 Spelling error 2020-09-01 13:49:47 +02:00
Anton Hvornum 35db09298d Spelling error 2020-09-01 13:48:31 +02:00
Anton Hvornum 52a08a492f Added user interaction: select_mirror_Regions 2020-09-01 13:43:19 +02:00
Anton Hvornum 5bba102c45 Added list_mirrors() and prepared for selecting mirrors in guided.py 2020-09-01 12:22:44 +02:00
Anton Hvornum 2ac4172394 Version bump to release v2.0.4 2020-09-01 10:49:40 +02:00
Anton Hvornum d765763e81 Forgot self in a parameter 2020-09-01 10:36:47 +02:00
Anton Hvornum 677533f765 Added the option to set keyboard layout of installation. Not only on the live medium 2020-09-01 10:33:18 +02:00
Anton Hvornum 8f35f44939 Added locale helpers in terms of keyboard language/layout. archinstall.list_keyboard_languages(), archinstall.search_keyboard_layout() and archinstall.set_keyboard_language() work together to help listing, finding and setting a keyboard layout in terminals. Won't work for X-frontends, but will do for CLI installation methods. Added a language selector-helper-function with a crude search functionality. Added all this to the guided template. 2020-09-01 09:01:14 +02:00