Commit Graph

25 Commits

Author SHA1 Message Date
Dylan Taylor 3ee38afce1 One package per line formatting in profiles - easier to read/maintain 2021-05-15 17:30:20 -04:00
Dylan Taylor 37e818b3d1 More manual fixes 2021-05-15 12:07:46 -04:00
Dylan Taylor ffd5b5f804 Very selectively fix some PEP 8 issues with profiles 2021-05-15 11:35:18 -04:00
Marcus Pereira 5c6019124a rename package name 2021-05-15 08:29:25 -03:00
Anton Hvornum 22750cefc8 Quotation error. 2021-05-14 16:55:47 +02:00
Anton Hvornum 4ff35663b8 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. 2021-05-12 13:55:41 +02:00
Anton Hvornum 455dd24614
Merge branch 'master' into packages 2021-04-29 08:23:01 +00:00
Anton Hvornum 2d02e806f2
Cleaning up packages. (#374)
* 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-29 10:18:43 +02:00
Dylan Taylor 2d4326b6c5 Rework how alacritty is installed for awesome 2021-04-28 11:11:36 -04:00
Dylan M. Taylor 64b0ef8540
Fix awesome profile installation 2021-04-12 08:53:38 -04:00
Dylan M. Taylor d8a2437778 Move from awesome to desktop and add wireless config utilities and smartmontools 2021-04-08 13:33:06 -04:00
Dylan Taylor ea81759e40 Add minimal profile and implement idea of 'top-level' profiles 2021-04-08 09:51:11 -04:00
Dylan M. Taylor 186f12c5f1 Remove chromium from default awesome install
Promotes a consistent installation experience across DEs.
2021-04-08 09:20:39 -04:00
Anton Hvornum cbb4629849 Slimmed down awesome further, also removed abandoned community package libu2f-host. 2021-03-21 16:25:56 +01:00
Anton Hvornum 9a94a632bf
Slimmed the awesome WM profile a bit more. added a TODO to ask the users to select a browser rather than 'forcing' one on them 2021-01-24 23:52:17 +01:00
Anton Hvornum 53a4a082da
Added a profile for alacritty as well as tweaked the awesome profile and application profile. 2021-01-19 23:34:11 +01:00
Anton Hvornum 95c80b7e83 Slimmed the awesome profile a bit. No need to install tons of dependencies just for the desktop environment. 2020-11-11 23:11:11 +00:00
Varun Madiath 5ded22a5d0 Fix some PEP-8 errors. 2020-10-19 23:07:35 -04:00
Varun Madiath da59378cc4 Fix typos. 2020-10-19 23:04:14 -04: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 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 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 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 f6f5875892 Added a unattended installer. Fixed list_profiles() to not include .py ending in the profile name, it's already in the ['path'] defintion. Renamed desktop.py to awesome.py as it more accurately describes what's being installed. desktop should be reserved to a default desktop environment that's more new-user-friendly. 2020-08-20 19:47:39 +00:00